From 40393e30bb743346b6b40bf130da35419c12ebdc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f) --- ksirc/KSTicker/ksticker.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ksirc/KSTicker/ksticker.cpp') diff --git a/ksirc/KSTicker/ksticker.cpp b/ksirc/KSTicker/ksticker.cpp index 8e81ae1d..5fe687e2 100644 --- a/ksirc/KSTicker/ksticker.cpp +++ b/ksirc/KSTicker/ksticker.cpp @@ -55,12 +55,12 @@ KSTicker::KSTicker(TQWidget * parent, const char * name, WFlags f) chars = this->width() / onechar; popup = new TQPopupMenu(); - popup->insertItem(i18n( "Font..." ), this, TQT_SLOT(fontSelector())); - popup->insertItem(i18n( "Scroll Rate..." ), this, TQT_SLOT(scrollRate())); - iScrollItem = popup->insertItem(i18n( "Scroll Constantly" ), this, TQT_SLOT(scrollConstantly())); + popup->insertItem(i18n( "Font..." ), this, TQ_SLOT(fontSelector())); + popup->insertItem(i18n( "Scroll Rate..." ), this, TQ_SLOT(scrollRate())); + iScrollItem = popup->insertItem(i18n( "Scroll Constantly" ), this, TQ_SLOT(scrollConstantly())); popup->setItemChecked(iScrollItem, bScrollConstantly); popup->insertSeparator(); - popup->insertItem(i18n( "Return to Normal Mode" ), this, TQT_SIGNAL(doubleClick())); + popup->insertItem(i18n( "Return to Normal Mode" ), this, TQ_SIGNAL(doubleClick())); currentStr = ""; @@ -434,8 +434,8 @@ void KSTicker::scrollRate() { SpeedDialog *sd = new SpeedDialog(tickRate, tickStep); sd->setLimit(5, 200, 1, onechar); - connect(sd, TQT_SIGNAL(stateChange(int, int)), - this, TQT_SLOT(setSpeed(int, int))); + connect(sd, TQ_SIGNAL(stateChange(int, int)), + this, TQ_SLOT(setSpeed(int, int))); sd->show(); } -- cgit v1.2.1