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 /kexi/main/startup/KexiProjectSelector.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 'kexi/main/startup/KexiProjectSelector.h')
-rw-r--r-- | kexi/main/startup/KexiProjectSelector.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/kexi/main/startup/KexiProjectSelector.h b/kexi/main/startup/KexiProjectSelector.h index 3151be3b..91c13712 100644 --- a/kexi/main/startup/KexiProjectSelector.h +++ b/kexi/main/startup/KexiProjectSelector.h @@ -24,7 +24,7 @@ #include "kexiprojectset.h" #include <kdialogbase.h> -#include <qwidgetstack.h> +#include <tqwidgetstack.h> class KexiNewFileDBWidget; class KexiProjectSelectorWidgetPrivate; @@ -34,6 +34,7 @@ class KexiProjectSelectorWidgetPrivate; class KEXIMAIN_EXPORT KexiProjectSelectorWidget : public KexiProjectSelectorBase { Q_OBJECT + TQ_OBJECT public: // enum ConnType { FileBased=1, ServerBased=2 }; @@ -44,7 +45,7 @@ public: information about database driver and connection columns are added. \a prj_set may be NULL - you can assign a set later with setProjectSet(). */ - KexiProjectSelectorWidget( QWidget* parent = 0, const char* name = 0, + KexiProjectSelectorWidget( TQWidget* tqparent = 0, const char* name = 0, KexiProjectSet* prj_set = 0, bool showProjectNameColumn = true, bool showConnectionColumns = true ); @@ -77,7 +78,7 @@ signals: void selectionChanged(KexiProjectData*); protected slots: - void slotItemExecuted(QListViewItem*); + void slotItemExecuted(TQListViewItem*); void slotItemSelected(); virtual void languageChange() { KexiProjectSelectorBase::languageChange(); } @@ -93,11 +94,12 @@ protected: class KexiProjectSelectorDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /*! Constructor 1, used for displaying recent projects list Label "there are recently opened projects" is displayed automatically */ - KexiProjectSelectorDialog( QWidget *parent, const char *name, + KexiProjectSelectorDialog( TQWidget *tqparent, const char *name, KexiProjectSet* prj_set, bool showProjectNameColumn = true, bool showConnectionColumns = true); @@ -105,7 +107,7 @@ public: Label "Select one of these existing projects on server" is displayed automatically You should test if project set was properly loaded using projectSet()->error(). */ - KexiProjectSelectorDialog( QWidget *parent, const char *name, + KexiProjectSelectorDialog( TQWidget *tqparent, const char *name, KexiDB::ConnectionData* cdata, bool showProjectNameColumn = true, bool showConnectionColumns = true); |