diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:04:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 19:03:51 +0900 |
commit | 8114410a311b64cba3de27fc60ac59ce3322eaab (patch) | |
tree | 126ed143667ccf4cdab62a4bec5a17eb2f0921cc /kworldwatch/zoneclock.cpp | |
parent | 233d1477e9794af302b81f0f8af4155eff3ab2e4 (diff) | |
download | tdetoys-8114410a311b64cba3de27fc60ac59ce3322eaab.tar.gz tdetoys-8114410a311b64cba3de27fc60ac59ce3322eaab.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cb5e787fde24bc986f17de4c78b5840f8ed85856)
Diffstat (limited to 'kworldwatch/zoneclock.cpp')
-rw-r--r-- | kworldwatch/zoneclock.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kworldwatch/zoneclock.cpp b/kworldwatch/zoneclock.cpp index 7d0ad6b..e791b98 100644 --- a/kworldwatch/zoneclock.cpp +++ b/kworldwatch/zoneclock.cpp @@ -69,9 +69,9 @@ ZoneClock::ZoneClock(const TQString &zone, const TQString &name, TQWidget *paren hbox->addWidget(_timeLabel, 0, TQt::AlignRight); _popup = new TQPopupMenu(this); - _popup->insertItem(i18n("&Edit..."), this, TQT_SLOT(editClock())); - _popup->insertItem(i18n("&Add..."), this, TQT_SLOT(slotAddClock())); - _popup->insertItem(i18n("&Remove"), this, TQT_SLOT(slotRemoveClock())); + _popup->insertItem(i18n("&Edit..."), this, TQ_SLOT(editClock())); + _popup->insertItem(i18n("&Add..."), this, TQ_SLOT(slotAddClock())); + _popup->insertItem(i18n("&Remove"), this, TQ_SLOT(slotRemoveClock())); _nameLabel->installEventFilter(this); _timeLabel->installEventFilter(this); @@ -87,7 +87,7 @@ void ZoneClock::slotRemoveClock() // So instead we fire up an idle event triggering the delete // after the return. - TQTimer::singleShot(0, this, TQT_SLOT(removeTimeout())); + TQTimer::singleShot(0, this, TQ_SLOT(removeTimeout())); } @@ -172,7 +172,7 @@ ZoneClockPanel::ZoneClockPanel(TQWidget *parent, const char *name) TQTimer *t = new TQTimer(this); - connect(t, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateTimer())); + connect(t, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateTimer())); t->start(500); _clocks.setAutoDelete(true); @@ -202,9 +202,9 @@ void ZoneClockPanel::addClock(const TQString &zone, const TQString &name) realign(); - connect(zc, TQT_SIGNAL(addClock(const TQString &)), this, TQT_SLOT(addClock(const TQString &))); - connect(zc, TQT_SIGNAL(changed()), this, TQT_SLOT(realign())); - connect(zc, TQT_SIGNAL(removeMe(ZoneClock *)), this, TQT_SLOT(removeClock(ZoneClock *))); + connect(zc, TQ_SIGNAL(addClock(const TQString &)), this, TQ_SLOT(addClock(const TQString &))); + connect(zc, TQ_SIGNAL(changed()), this, TQ_SLOT(realign())); + connect(zc, TQ_SIGNAL(removeMe(ZoneClock *)), this, TQ_SLOT(removeClock(ZoneClock *))); } |