summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_ctcpfloodprotection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_ctcpfloodprotection.cpp')
-rw-r--r--src/modules/options/optw_ctcpfloodprotection.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/options/optw_ctcpfloodprotection.cpp b/src/modules/options/optw_ctcpfloodprotection.cpp
index f814858e..9d03daaf 100644
--- a/src/modules/options/optw_ctcpfloodprotection.cpp
+++ b/src/modules/options/optw_ctcpfloodprotection.cpp
@@ -22,12 +22,12 @@
#include "optw_ctcpfloodprotection.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include "kvi_options.h"
#include "kvi_locale.h"
-#include <qlabel.h>
+#include <tqlabel.h>
/*
@doc: ctcpfloodprotectionoptions
@@ -71,8 +71,8 @@
*/
-KviCtcpFloodProtectionOptionsWidget::KviCtcpFloodProtectionOptionsWidget(QWidget * parent)
-: KviOptionsWidget(parent,"ctcpfloodprotection_options_widget")
+KviCtcpFloodProtectionOptionsWidget::KviCtcpFloodProtectionOptionsWidget(TQWidget * tqparent)
+: KviOptionsWidget(tqparent,"ctcpfloodprotection_options_widget")
{
createLayout(4,2);
@@ -85,13 +85,13 @@ KviCtcpFloodProtectionOptionsWidget::KviCtcpFloodProtectionOptionsWidget(QWidget
#ifdef COMPILE_INFO_TIPS
mergeTip(u,__tr2qs_ctx("<center>Minimum value: <b>0 requests</b><br>Maximum value: <b>10000 requests</b></center>","options"));
#endif
- connect(b,SIGNAL(toggled(bool)),u,SLOT(setEnabled(bool)));
+ connect(b,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
u = addUIntSelector(1,1,1,1,__tr2qs_ctx("within:","options"),KviOption_uintCtcpFloodCheckInterval,1,3600,6,KVI_OPTION_BOOL(KviOption_boolUseCtcpFloodProtection));
u->setSuffix(__tr2qs_ctx(" sec","options"));
#ifdef COMPILE_INFO_TIPS
mergeTip(u,__tr2qs_ctx("<center>Minimum value: <b>1 sec</b><br>Maximum value: <b>3600 sec</b></center>","options"));
#endif
- connect(b,SIGNAL(toggled(bool)),u,SLOT(setEnabled(bool)));
+ connect(b,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
KviTalGroupBox * g = addGroupBox(0,2,1,2,2,Qt::Horizontal,__tr2qs_ctx("Ignored Requests","options"));
addBoolSelector(g,__tr2qs_ctx("PING","options"),KviOption_boolIgnoreCtcpPing);