summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/timer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:38:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-21 23:13:10 +0900
commitdd3ce2e1c41671cffcb72c90f88f536269079869 (patch)
treeb87fa0d6f8911e0009d033326f5e36972ae2f6d3 /kommander/widgets/timer.cpp
parent40eb6401dea18d69ccd84eb13526b9356db621d1 (diff)
downloadtdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.tar.gz
tdewebdev-dd3ce2e1c41671cffcb72c90f88f536269079869.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 931991843ab3b6b0b0157dd433c226f7fc2ebc1b)
Diffstat (limited to 'kommander/widgets/timer.cpp')
-rw-r--r--kommander/widgets/timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widgets/timer.cpp b/kommander/widgets/timer.cpp
index c5f1f6ce..ea39706c 100644
--- a/kommander/widgets/timer.cpp
+++ b/kommander/widgets/timer.cpp
@@ -57,7 +57,7 @@ Timer::Timer(TQWidget *a_parent, const char *a_name)
mTimer = new TQTimer(this);
setInterval(5000);
setSingleShot(false);
- connect(mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
+ connect(mTimer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()));
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(SetInterval, "setInterval(TQString widget, int interval)", i18n("Set the timer timeout interval in ms."), 2);
@@ -148,7 +148,7 @@ void Timer::timeout()
void Timer::execute()
{
if (mSingleShot)
- TQTimer::singleShot(mInterval, this, TQT_SLOT(timeout()));
+ TQTimer::singleShot(mInterval, this, TQ_SLOT(timeout()));
else
mTimer->start(mInterval);
}