diff options
Diffstat (limited to 'src/modules/objects/class_window.h')
-rw-r--r-- | src/modules/objects/class_window.h | 13 |
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(); |