summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_nickserv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_nickserv.h')
-rw-r--r--src/modules/options/optw_nickserv.h36
1 files changed, 19 insertions, 17 deletions
diff --git a/src/modules/options/optw_nickserv.h b/src/modules/options/optw_nickserv.h
index b9e41e90..9fb6bfc0 100644
--- a/src/modules/options/optw_nickserv.h
+++ b/src/modules/options/optw_nickserv.h
@@ -29,7 +29,7 @@
#include "kvi_settings.h"
#include "kvi_optionswidget.h"
-#include <qdialog.h>
+#include <tqdialog.h>
#define KVI_OPTIONS_WIDGET_ICON_KviNickServOptionsWidget KVI_SMALLICON_NICKSERV
#define KVI_OPTIONS_WIDGET_NAME_KviNickServOptionsWidget __tr2qs_no_lookup("NickServ")
@@ -38,25 +38,26 @@
#define KVI_OPTIONS_WIDGET_PRIORITY_KviNickServOptionsWidget 10000
//#define KVI_OPTIONS_WIDGET_HIDDEN_KviNickServOptionsWidget true
-class QLineEdit;
-class QPushButton;
+class TQLineEdit;
+class TQPushButton;
class KviNickServRule;
class KviTalListView;
-class QCheckBox;
+class TQCheckBox;
-class KviNickServRuleEditor : public QDialog
+class KviNickServRuleEditor : public TQDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviNickServRuleEditor(QWidget * par,bool bUseServerMaskField = false);
+ KviNickServRuleEditor(TQWidget * par,bool bUseServerMaskField = false);
~KviNickServRuleEditor();
protected:
- QLineEdit * m_pRegisteredNickEdit;
- QLineEdit * m_pNickServMaskEdit;
- QLineEdit * m_pMessageRegexpEdit;
- QLineEdit * m_pIdentifyCommandEdit;
- QLineEdit * m_pServerMaskEdit;
- QPushButton * m_pOkButton;
+ TQLineEdit * m_pRegisteredNickEdit;
+ TQLineEdit * m_pNickServMaskEdit;
+ TQLineEdit * m_pMessageRegexpEdit;
+ TQLineEdit * m_pIdentifyCommandEdit;
+ TQLineEdit * m_pServerMaskEdit;
+ TQPushButton * m_pOkButton;
public:
bool editRule(KviNickServRule * r);
protected:
@@ -68,15 +69,16 @@ protected slots:
class KviNickServOptionsWidget : public KviOptionsWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviNickServOptionsWidget(QWidget * parent);
+ KviNickServOptionsWidget(TQWidget * tqparent);
~KviNickServOptionsWidget();
protected:
KviTalListView * m_pNickServListView;
- QCheckBox * m_pNickServCheck;
- QPushButton * m_pAddRuleButton;
- QPushButton * m_pDelRuleButton;
- QPushButton * m_pEditRuleButton;
+ TQCheckBox * m_pNickServCheck;
+ TQPushButton * m_pAddRuleButton;
+ TQPushButton * m_pDelRuleButton;
+ TQPushButton * m_pEditRuleButton;
protected slots:
void enableDisableNickServControls();
void addNickServRule();