summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_window.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/objects/class_window.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/objects/class_window.h')
-rw-r--r--src/modules/objects/class_window.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/modules/objects/class_window.h b/src/modules/objects/class_window.h
index 1f2ae482..4477a2df 100644
--- a/src/modules/objects/class_window.h
+++ b/src/modules/objects/class_window.h
@@ -32,7 +32,7 @@ class KviKvsObject_window : public KviKvsObject_widget
public:
KVSO_DECLARE_OBJECT(KviKvsObject_window)
public:
- QWidget * widget() { return (QWidget *)object(); };
+ TQWidget * widget() { return (TQWidget *)object(); };
protected:
virtual bool init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams);
@@ -46,16 +46,17 @@ protected:
class KviKvsScriptWindowWindow : public KviWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviKvsScriptWindowWindow(KviFrame * pParent,const QString &szName);
+ KviKvsScriptWindowWindow(KviFrame * pParent,const TQString &szName);
~KviKvsScriptWindowWindow();
protected:
KviKvsObject_widget * m_pCentralWidgetObject;
- QWidget * m_pCentralWidget;
+ TQWidget * m_pCentralWidget;
public:
- void setCentralWidget(KviKvsObject_widget *o,QWidget * w);
- void setCaptionString(const QString &s){ setFixedCaption(s); };
- virtual void resizeEvent(QResizeEvent *e);
+ void setCentralWidget(KviKvsObject_widget *o,TQWidget * w);
+ void setCaptionString(const TQString &s){ setFixedCaption(s); };
+ virtual void resizeEvent(TQResizeEvent *e);
protected slots:
void centralWidgetObjectDestroyed();
void centralWidgetDestroyed();