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-14 14:07:22 +0900 |
commit | cb5e787fde24bc986f17de4c78b5840f8ed85856 (patch) | |
tree | 3850303789d1016581d3194ea627075c3e0edb5c /kworldwatch/zoneclock.cpp | |
parent | 6a9f2bb7d4d98953ac416ceb3c5539ddfa931bb8 (diff) | |
download | tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.tar.gz tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 *))); } |