diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 18:31:12 +0000 |
commit | 0a80cfd57d271dd44221467efb426675fa470356 (patch) | |
tree | 6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/options/container.h | |
parent | 3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff) | |
download | kvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip |
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/options/container.h')
-rw-r--r-- | src/modules/options/container.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/modules/options/container.h b/src/modules/options/container.h index 10ae69de..dad9789b 100644 --- a/src/modules/options/container.h +++ b/src/modules/options/container.h @@ -24,24 +24,25 @@ #include "kvi_optionswidget.h" -#include <qdialog.h> +#include <tqdialog.h> -class QPushButton; +class TQPushButton; -class KviOptionsWidgetContainer : public QDialog +class KviOptionsWidgetContainer : public TQDialog { Q_OBJECT + TQ_OBJECT public: - KviOptionsWidgetContainer(QWidget * par,bool bModal = false); + KviOptionsWidgetContainer(TQWidget * par,bool bModal = false); ~KviOptionsWidgetContainer(); protected: KviOptionsWidget * m_pOptionsWidget; - QPushButton * m_pCancel; + TQPushButton * m_pCancel; public: void setup(KviOptionsWidget * w); protected: - virtual void closeEvent(QCloseEvent *e); - virtual void showEvent(QShowEvent *e); + virtual void closeEvent(TQCloseEvent *e); + virtual void showEvent(TQShowEvent *e); virtual void reject(); protected slots: void okClicked(); |