diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /ksirc/KSTicker/ksticker.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/KSTicker/ksticker.cpp')
-rw-r--r-- | ksirc/KSTicker/ksticker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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(); } |