diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /kicker-applets/kbinaryclock/kbinaryclock.cpp | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'kicker-applets/kbinaryclock/kbinaryclock.cpp')
-rw-r--r-- | kicker-applets/kbinaryclock/kbinaryclock.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kicker-applets/kbinaryclock/kbinaryclock.cpp b/kicker-applets/kbinaryclock/kbinaryclock.cpp index 3064179..0cfcb5e 100644 --- a/kicker-applets/kbinaryclock/kbinaryclock.cpp +++ b/kicker-applets/kbinaryclock/kbinaryclock.cpp @@ -58,7 +58,7 @@ TDEConfigDialogImp::TDEConfigDialogImp( TQWidget *parent, const char *name, TDEC settings = new SettingsImp(0, "General"); addPage(settings, i18n("General"), "package_settings"); - connect(this, TQT_SIGNAL(widgetModified()), settings, TQT_SLOT(updatePreview())); + connect(this, TQ_SIGNAL(widgetModified()), settings, TQ_SLOT(updatePreview())); } SettingsImp::SettingsImp(TQWidget* parent, const char* name, WFlags fl): Settings(parent, name, fl){ @@ -138,7 +138,7 @@ KBinaryClock::KBinaryClock(const TQString& configFile, Type type, int actions, T updateClock(); loadSettings(); TQTimer *timer=new TQTimer(this); - connect (timer, TQT_SIGNAL (timeout()), this, TQT_SLOT (updateClock())); + connect (timer, TQ_SIGNAL (timeout()), this, TQ_SLOT (updateClock())); timer->start(500,false); } @@ -217,7 +217,7 @@ void KBinaryClock::preferences(){ return; TDEConfigDialogImp *dialog = new TDEConfigDialogImp(this, "settings", prefs, KDialogBase::Swallow); - connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings())); + connect(dialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(loadSettings())); dialog->show(); dialog->settings->updatePreview(); } @@ -301,7 +301,7 @@ void KBinaryClock::openContextMenu() { copyMenu->insertItem(dt.date().toString(), 206); copyMenu->insertItem(dt.time().toString(), 207); copyMenu->insertItem(dt.toString(), 208); - connect( copyMenu, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotCopyMenuActivated(int) ) ); + connect( copyMenu, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( slotCopyMenuActivated(int) ) ); if (!bImmutable) { @@ -362,7 +362,7 @@ void KBinaryClock::toggleCalendar() return; } _calendar = new DatePicker(this, TQDateTime::currentDateTime().date()); - connect( _calendar, TQT_SIGNAL( destroyed() ), TQT_SLOT( slotCalendarDeleted() )); + connect( _calendar, TQ_SIGNAL( destroyed() ), TQ_SLOT( slotCalendarDeleted() )); // some extra spacing is included if aligned on a desktop edge TQPoint c = mapToGlobal(TQPoint(0,0)); @@ -393,7 +393,7 @@ void KBinaryClock::slotCalendarDeleted() _calendar = 0L; // don't reopen the calendar immediately ... _disableCalendar = true; - TQTimer::singleShot(100, this, TQT_SLOT(slotEnableCalendar())); + TQTimer::singleShot(100, this, TQ_SLOT(slotEnableCalendar())); } void KBinaryClock::slotEnableCalendar() |