diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kpresenter/autoformEdit/AFChoose.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpresenter/autoformEdit/AFChoose.h')
-rw-r--r-- | kpresenter/autoformEdit/AFChoose.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/kpresenter/autoformEdit/AFChoose.h b/kpresenter/autoformEdit/AFChoose.h index e767e4bf..d109059d 100644 --- a/kpresenter/autoformEdit/AFChoose.h +++ b/kpresenter/autoformEdit/AFChoose.h @@ -21,22 +21,23 @@ #ifndef AFCHOOSE_H #define AFCHOOSE_H -#include <qtabdialog.h> -#include <qptrlist.h> -#include <qmap.h> -#include <qfileinfo.h> +#include <tqtabdialog.h> +#include <tqptrlist.h> +#include <tqmap.h> +#include <tqfileinfo.h> -class QLabel; +class TQLabel; class KIconCanvas; -class AFChoose : public QTabDialog +class AFChoose : public TQTabDialog { Q_OBJECT + TQ_OBJECT public: // constructor - destructor - AFChoose(QWidget *parent=0, const QString &caption=QString::null, const char *name=0); + AFChoose(TQWidget *tqparent=0, const TQString &caption=TQString(), const char *name=0); ~AFChoose(); private: @@ -44,12 +45,12 @@ private: // structure of a group struct Group { - QFileInfo dir; - QString name; - QWidget *tab; + TQFileInfo dir; + TQString name; + TQWidget *tab; KIconCanvas *loadWid; - QLabel *label; - QMap<QString, QString> entries; + TQLabel *label; + TQMap<TQString, TQString> entries; }; // set groups @@ -61,14 +62,14 @@ private: // ********** variables ********** // list of groups and a pointer to a group - QPtrList<Group> groupList; + TQPtrList<Group> groupList; Group *grpPtr; private slots: // name changed - void nameChanged(QString); - void tabChanged(QWidget *); + void nameChanged(TQString); + void tabChanged(TQWidget *); // autoform chosen void chosen(); @@ -77,12 +78,12 @@ private slots: void slotDoubleClick(); protected: - void closeEvent ( QCloseEvent * ); + void closeEvent ( TQCloseEvent * ); signals: //autoform chosen - void formChosen(const QString &); + void formChosen(const TQString &); void afchooseCanceled(); }; |