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 /lib/kofficeui/KoPartSelectDia.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 'lib/kofficeui/KoPartSelectDia.h')
-rw-r--r-- | lib/kofficeui/KoPartSelectDia.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/kofficeui/KoPartSelectDia.h b/lib/kofficeui/KoPartSelectDia.h index b7af305d..f131a857 100644 --- a/lib/kofficeui/KoPartSelectDia.h +++ b/lib/kofficeui/KoPartSelectDia.h @@ -23,9 +23,9 @@ #include <kdialogbase.h> #include <KoQueryTrader.h> -class QListView; -class QListViewItem; -class QPushButton; +class TQListView; +class TQListViewItem; +class TQPushButton; /** * This dialog presents the user all available @@ -36,13 +36,14 @@ class QPushButton; class KOFFICEUI_EXPORT KoPartSelectDia : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** * Constructor. */ - KoPartSelectDia( QWidget* parent = 0, const char* name = 0 ); + KoPartSelectDia( TQWidget* tqparent = 0, const char* name = 0 ); /** * Retrieves the result of the part selection. @@ -57,14 +58,14 @@ public: * @returns the KoDocumentEntry of the selected KOffice components * or an empty entry. */ - static KoDocumentEntry selectPart( QWidget *parent = 0L ); + static KoDocumentEntry selectPart( TQWidget *tqparent = 0L ); private slots: - void selectionChanged( QListViewItem * ); + void selectionChanged( TQListViewItem * ); private: - QValueList<KoDocumentEntry> m_lstEntries; - QListView *listview; + TQValueList<KoDocumentEntry> m_lstEntries; + TQListView *listview; }; #endif |