diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 20:33:17 +0900 |
commit | 677dae3bd35bd025d338292a296632d3d2f183e4 (patch) | |
tree | a5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/modules/options/optw_notify.cpp | |
parent | 0066e291146de702674fb38a0a2428db405698b0 (diff) | |
download | kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.tar.gz kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e)
Diffstat (limited to 'src/modules/options/optw_notify.cpp')
-rw-r--r-- | src/modules/options/optw_notify.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/modules/options/optw_notify.cpp b/src/modules/options/optw_notify.cpp index 423be23a..e1b4711a 100644 --- a/src/modules/options/optw_notify.cpp +++ b/src/modules/options/optw_notify.cpp @@ -38,60 +38,60 @@ KviNotifyOptionsWidget::KviNotifyOptionsWidget(TQWidget * parent) KviBoolSelector * b = addBoolSelector(0,0,0,0,__tr2qs_ctx("Use online notify list","options"),KviOption_boolUseNotifyList); KviTalGroupBox *g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Configuration","options")); - connect(b,TQT_SIGNAL(toggled(bool)),g,TQT_SLOT(setEnabled(bool))); + connect(b,TQ_SIGNAL(toggled(bool)),g,TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addBoolSelector(g,__tr2qs_ctx("Show notifications in active window","options"), KviOption_boolNotifyListChangesToActiveWindow,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addBoolSelector(g,__tr2qs_ctx("Flash window when users are going online","options"), KviOption_boolFlashWindowOnNotifyOnLine,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addBoolSelector(g,__tr2qs_ctx("Popup notifier when users are going online","options"), KviOption_boolPopupNotifierOnNotifyOnLine,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Advanced configuration","options")); - connect(b,TQT_SIGNAL(toggled(bool)),g,TQT_SLOT(setEnabled(bool))); + connect(b,TQ_SIGNAL(toggled(bool)),g,TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addBoolSelector(g,__tr2qs_ctx("Check USERHOST for online users","options"), KviOption_boolNotifyListSendUserhostForOnlineUsers,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addBoolSelector(g,__tr2qs_ctx("Use \"smart\" notify list manager","options"), KviOption_boolUseIntelligentNotifyListManager,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addBoolSelector(g,__tr2qs_ctx("Use the WATCH method if available","options"), KviOption_boolUseWatchListIfAvailable,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addUIntSelector(g,__tr2qs_ctx("Check interval (in seconds)","options"), KviOption_uintNotifyListCheckTimeInSecs, 5,3600,180,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addUIntSelector(g,__tr2qs_ctx("ISON delay (in seconds)","options"), KviOption_uintNotifyListIsOnDelayTimeInSecs, 5,180,6,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_SLOT(setEnabled(bool))); connect(b, - TQT_SIGNAL(toggled(bool)), + TQ_SIGNAL(toggled(bool)), addUIntSelector(g,__tr2qs_ctx("USERHOST delay (in seconds)","options"), KviOption_uintNotifyListUserhostDelayTimeInSecs, 5,180,6,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)), - TQT_SLOT(setEnabled(bool))); + TQ_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); |