From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kpresenter/autoformEdit/AFChoose.h | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'kpresenter/autoformEdit/AFChoose.h') 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 -#include -#include -#include +#include +#include +#include +#include -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 entries; + TQLabel *label; + TQMap entries; }; // set groups @@ -61,14 +62,14 @@ private: // ********** variables ********** // list of groups and a pointer to a group - QPtrList groupList; + TQPtrList 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(); }; -- cgit v1.2.1