From 677dae3bd35bd025d338292a296632d3d2f183e4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 28 Dec 2023 21:15:50 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e) --- src/modules/options/optw_notify.cpp | 40 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'src/modules/options/optw_notify.cpp') diff --git a/src/modules/options/optw_notify.cpp b/src/modules/options/optw_notify.cpp index 423be23..e1b4711 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("

Note:
The notify list is managed using the \"Registered Users\" settings.

","options")); addRowSpacer(0,4,0,4); -- cgit v1.2.3