diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kpackage/pkgOptions.h | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip |
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/pkgOptions.h')
-rw-r--r-- | kpackage/pkgOptions.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/kpackage/pkgOptions.h b/kpackage/pkgOptions.h index 1cf8d94..02a830f 100644 --- a/kpackage/pkgOptions.h +++ b/kpackage/pkgOptions.h @@ -32,7 +32,7 @@ #define PKGINSTALL_OPTIONS #include "../config.h" -// Qt headers +// TQt headers #include <tqframe.h> #include <tqlayout.h> #include <tqpushbutton.h> @@ -52,8 +52,9 @@ class KPushButton; class pkgOptions : public KDialog { Q_OBJECT + TQ_OBJECT public: - pkgOptions( pkgInterface *pki, TQWidget *parent=0, const TQString &caption=TQString::null); + pkgOptions( pkgInterface *pki, TQWidget *tqparent=0, const TQString &caption=TQString()); ~pkgOptions(); bool setup(TQPtrList<packageInfo> *pl, const TQString &type); @@ -103,8 +104,8 @@ signals: void finished(int refresh); protected: - // The layout managers - TQBoxLayout *layout, *hlayout, *vlayout; + // The tqlayout managers + TQBoxLayout *tqlayout, *htqlayout, *vtqlayout; // Sub widgets TQPushButton *installButton; @@ -133,8 +134,9 @@ protected: class pkgOptionsI: public pkgOptions { Q_OBJECT + TQ_OBJECT public: - pkgOptionsI(pkgInterface *pkg, TQWidget *parent = 0); + pkgOptionsI(pkgInterface *pkg, TQWidget *tqparent = 0); TQString doPackages(int installFlags, TQPtrList<packageInfo> *p, bool &test); }; @@ -143,8 +145,9 @@ public: class pkgOptionsU: public pkgOptions { Q_OBJECT + TQ_OBJECT public: - pkgOptionsU(pkgInterface *pkg, TQWidget *parent = 0); + pkgOptionsU(pkgInterface *pkg, TQWidget *tqparent = 0); TQString doPackages(int installFlags, TQPtrList<packageInfo> *p, bool &test); }; |