summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_notify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_notify.cpp')
-rw-r--r--src/modules/options/optw_notify.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/modules/options/optw_notify.cpp b/src/modules/options/optw_notify.cpp
index 6ee5dc05..c8d3f9b0 100644
--- a/src/modules/options/optw_notify.cpp
+++ b/src/modules/options/optw_notify.cpp
@@ -22,7 +22,7 @@
#include "optw_notify.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include "kvi_settings.h"
#include "kvi_options.h"
#include "kvi_locale.h"
@@ -31,67 +31,67 @@
//#warning "Info tips"
-KviNotifyOptionsWidget::KviNotifyOptionsWidget(QWidget * parent)
-: KviOptionsWidget(parent,"notify_options_widget")
+KviNotifyOptionsWidget::KviNotifyOptionsWidget(TQWidget * tqparent)
+: KviOptionsWidget(tqparent,"notify_options_widget")
{
createLayout(5,1);
KviBoolSelector * b = addBoolSelector(0,0,0,0,__tr2qs_ctx("Use online notify list","options"),KviOption_boolUseNotifyList);
KviTalGroupBox *g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Configuration","options"));
- connect(b,SIGNAL(toggled(bool)),g,SLOT(setEnabled(bool)));
+ connect(b,TQT_SIGNAL(toggled(bool)),g,TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addBoolSelector(g,__tr2qs_ctx("Show notifications in active window","options"),
KviOption_boolNotifyListChangesToActiveWindow,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addBoolSelector(g,__tr2qs_ctx("Flash window when users are going online","options"),
KviOption_boolFlashWindowOnNotifyOnLine,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addBoolSelector(g,__tr2qs_ctx("Popup notifier when users are going online","options"),
KviOption_boolPopupNotifierOnNotifyOnLine,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
g = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("Advanced configuration","options"));
- connect(b,SIGNAL(toggled(bool)),g,SLOT(setEnabled(bool)));
+ connect(b,TQT_SIGNAL(toggled(bool)),g,TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addBoolSelector(g,__tr2qs_ctx("Check USERHOST for online users","options"),
KviOption_boolNotifyListSendUserhostForOnlineUsers,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addBoolSelector(g,__tr2qs_ctx("Use \"smart\" notify list manager","options"),
KviOption_boolUseIntelligentNotifyListManager,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addBoolSelector(g,__tr2qs_ctx("Use the WATCH method if available","options"),
KviOption_boolUseWatchListIfAvailable,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addUIntSelector(g,__tr2qs_ctx("Check interval (in seconds)","options"),
KviOption_uintNotifyListCheckTimeInSecs,
5,3600,180,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addUIntSelector(g,__tr2qs_ctx("ISON delay (in seconds)","options"),
KviOption_uintNotifyListIsOnDelayTimeInSecs,
5,180,6,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
connect(b,
- SIGNAL(toggled(bool)),
+ TQT_SIGNAL(toggled(bool)),
addUIntSelector(g,__tr2qs_ctx("USERHOST delay (in seconds)","options"),
KviOption_uintNotifyListUserhostDelayTimeInSecs,
5,180,6,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
- SLOT(setEnabled(bool)));
+ TQT_SLOT(setEnabled(bool)));
addLabel(0,3,0,3,__tr2qs_ctx("<p><b>Note:</b><br>The notify list is managed using the \"Registered Users\" settings.</p>","options"));
addRowSpacer(0,4,0,4);
@@ -104,14 +104,14 @@ KviNotifyOptionsWidget::~KviNotifyOptionsWidget()
-KviNotifierOptionsWidget::KviNotifierOptionsWidget(QWidget * parent)
-: KviOptionsWidget(parent,"notifier_options_widget")
+KviNotifierOptionsWidget::KviNotifierOptionsWidget(TQWidget * tqparent)
+: KviOptionsWidget(tqparent,"notifier_options_widget")
{
createLayout(3,1);
KviBoolSelector * b = addBoolSelector(0,0,0,0,__tr2qs_ctx("Forcibly and completely disable the notifier","options"),KviOption_boolForciblyDisableNotifier);
#ifdef COMPILE_INFO_TIPS
- QString tip = "<center>";
+ TQString tip = "<center>";
tip += __tr2qs_ctx("This is an option for the impatient: it allows to forcibly and permanently disable " \
"the notifier window. Please note that if this option is activated then " \
"the notifier will NOT popup even if all the other options around specify " \