diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:11:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:11:15 +0000 |
commit | 9885af067f442d03025eb180e0e5472b636ac265 (patch) | |
tree | d3eea362985c3df054c9ac5ad109f2d644bca865 /kdpkg-install/console.h | |
parent | b155cffc1b83c93eab4a7a09d5c8a00afec0a528 (diff) | |
download | kdpkg-9885af067f442d03025eb180e0e5472b636ac265.tar.gz kdpkg-9885af067f442d03025eb180e0e5472b636ac265.zip |
TQt4 port kdpkg
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdpkg@1239294 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdpkg-install/console.h')
-rw-r--r-- | kdpkg-install/console.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/kdpkg-install/console.h b/kdpkg-install/console.h index 739969b..5e54f17 100644 --- a/kdpkg-install/console.h +++ b/kdpkg-install/console.h @@ -24,7 +24,7 @@ #include "consoledialog.h" -#include <qstring.h> +#include <tqstring.h> #include <kde_terminal_interface.h> #include <kparts/part.h> @@ -32,22 +32,25 @@ class console : public Widget { Q_OBJECT + TQ_OBJECT public: - console(QWidget *parent = 0L, const QStrList &run = QStrList(), const char *name = 0L, const QStringList &foo = QStringList()); + console(TQWidget *tqparent = 0L, const TQStrList &run = TQStrList(), const char *name = 0L, const TQStringList &foo = TQStringList()); // console ExtTerminalInterface *terminal() { return static_cast<ExtTerminalInterface*>(konsole->qt_cast( "ExtTerminalInterface" ) ); } - virtual bool eventFilter( QObject *o, QEvent *e ); - QString m_kdePrefix; + virtual bool eventFilter( TQObject *o, TQEvent *e ); + TQString m_kdePrefix; public slots: virtual void finish(); protected slots: void loadKonsole(); + + protected: KParts::Part *konsole; signals: |