summaryrefslogtreecommitdiffstats
path: root/src/modules/codetester/codetester.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/codetester/codetester.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-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/codetester/codetester.h')
-rw-r--r--src/modules/codetester/codetester.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/modules/codetester/codetester.h b/src/modules/codetester/codetester.h
index ce24ca5d..3b9556f1 100644
--- a/src/modules/codetester/codetester.h
+++ b/src/modules/codetester/codetester.h
@@ -25,24 +25,25 @@
#include "kvi_window.h"
#include "kvi_string.h"
-#include <qlineedit.h>
+#include <tqlineedit.h>
-class QPushButton;
-class QLabel;
+class TQPushButton;
+class TQLabel;
class KviScriptEditor;
-class KviCodeTester : public QWidget
+class KviCodeTester : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviCodeTester(QWidget * par);
+ KviCodeTester(TQWidget * par);
~KviCodeTester();
private:
KviScriptEditor * m_pEditor;
- QLineEdit * m_pParams;
- QPushButton * m_pExecuteButton;
- QLabel * m_pModeLabel;
+ TQLineEdit * m_pParams;
+ TQPushButton * m_pExecuteButton;
+ TQLabel * m_pModeLabel;
private slots:
void execute();
};
@@ -50,15 +51,16 @@ private slots:
class KviCodeTesterWindow : public KviWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
KviCodeTesterWindow(KviFrame * lpFrm);
~KviCodeTesterWindow();
protected:
KviCodeTester * m_pTester;
protected:
- virtual QPixmap * myIconPtr();
+ virtual TQPixmap * myIconPtr();
virtual void fillCaptionBuffers();
- virtual void resizeEvent(QResizeEvent *e);
+ virtual void resizeEvent(TQResizeEvent *e);
virtual void getConfigGroupName(KviStr &szName);
virtual void saveProperties(KviConfig *);
virtual void loadProperties(KviConfig *);