diff options
Diffstat (limited to 'src/kvirc/ui/kvi_scripteditor.h')
-rw-r--r-- | src/kvirc/ui/kvi_scripteditor.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kvirc/ui/kvi_scripteditor.h b/src/kvirc/ui/kvi_scripteditor.h index e9f04c26..0039d24b 100644 --- a/src/kvirc/ui/kvi_scripteditor.h +++ b/src/kvirc/ui/kvi_scripteditor.h @@ -24,8 +24,8 @@ // #include "kvi_settings.h" -#include <qwidget.h> -#include <qlineedit.h> +#include <tqwidget.h> +#include <tqlineedit.h> #include "kvi_qcstring.h" // @@ -39,29 +39,30 @@ // -class KVIRC_API KviScriptEditor : public QWidget +class KVIRC_API KviScriptEditor : public TQWidget { Q_OBJECT + TQ_OBJECT protected: - KviScriptEditor(QWidget * par); + KviScriptEditor(TQWidget * par); ~KviScriptEditor(); protected: - QLineEdit * m_pFindLineedit; + TQLineEdit * m_pFindLineedit; public: virtual void setText(const char * txt); - virtual void setText(const KviQCString &txt); - virtual void setText(const QString &txt); - virtual void getText(KviQCString &txt); - virtual void getText(QString &txt); - virtual void setInfoText(const QString &text); - virtual void setFindText(const QString &text); - virtual void setCursorPosition(QPoint); - virtual QPoint getCursor(); + virtual void setText(const KviTQCString &txt); + virtual void setText(const TQString &txt); + virtual void getText(KviTQCString &txt); + virtual void getText(TQString &txt); + virtual void setInfoText(const TQString &text); + virtual void setFindText(const TQString &text); + virtual void setCursorPosition(TQPoint); + virtual TQPoint getCursor(); virtual void setFindLineeditReadOnly(bool b); virtual bool isModified(); - static KviScriptEditor * getDummyEditor(QWidget * par); - static KviScriptEditor * createInstance(QWidget * par); + static KviScriptEditor * getDummyEditor(TQWidget * par); + static KviScriptEditor * createInstance(TQWidget * par); static void destroyInstance(KviScriptEditor * e); }; |