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_away.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/options/optw_away.cpp') diff --git a/src/modules/options/optw_away.cpp b/src/modules/options/optw_away.cpp index 2b6610ae..f8d7cb37 100644 --- a/src/modules/options/optw_away.cpp +++ b/src/modules/options/optw_away.cpp @@ -42,11 +42,11 @@ KviAwayOptionsWidget::KviAwayOptionsWidget(TQWidget * parent) KviTalGroupBox *g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Away Nickname","options")); m_pEnableAwayNick = addBoolSelector(g,__tr2qs_ctx("Change nickname on away","options"),KviOption_boolChangeNickAway); - connect(m_pEnableAwayNick,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableCustomAwayText(bool))); + connect(m_pEnableAwayNick,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(enableCustomAwayText(bool))); m_pEnableCustomAwayNick = addBoolSelector(g,__tr2qs_ctx("Use automatic nickname ([5 letters]AWAY)","options"),KviOption_boolAutoGeneratedAwayNick,KVI_OPTION_BOOL(KviOption_boolChangeNickAway)); - connect(m_pEnableAwayNick,TQT_SIGNAL(toggled(bool)),m_pEnableCustomAwayNick,TQT_SLOT(setEnabled(bool))); - connect(m_pEnableCustomAwayNick,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableCustomAwayText(bool))); + connect(m_pEnableAwayNick,TQ_SIGNAL(toggled(bool)),m_pEnableCustomAwayNick,TQ_SLOT(setEnabled(bool))); + connect(m_pEnableCustomAwayNick,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(enableCustomAwayText(bool))); // m_p <-- stands for pointer // m_sz <-- stands for a string :) -- cgit v1.2.1