summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/timer.cpp')
-rw-r--r--kommander/widgets/timer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/widgets/timer.cpp b/kommander/widgets/timer.cpp
index b91d0eb5..ea39706c 100644
--- a/kommander/widgets/timer.cpp
+++ b/kommander/widgets/timer.cpp
@@ -38,7 +38,7 @@ enum Functions {
};
Timer::Timer(TQWidget *a_parent, const char *a_name)
- : TQLabel(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
+ : TQLabel(a_parent, a_name), KommanderWidget(this)
{
TQStringList states;
states << "default";
@@ -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);
}