diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 14:04:47 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 14:07:22 +0900 |
commit | cb5e787fde24bc986f17de4c78b5840f8ed85856 (patch) | |
tree | 3850303789d1016581d3194ea627075c3e0edb5c /kmoon | |
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 <[email protected]>
Diffstat (limited to 'kmoon')
-rw-r--r-- | kmoon/kmoonapplet.cpp | 4 | ||||
-rw-r--r-- | kmoon/kmoondlg.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp index e4f5509..7ece643 100644 --- a/kmoon/kmoonapplet.cpp +++ b/kmoon/kmoonapplet.cpp @@ -62,9 +62,9 @@ MoonPAWidget::MoonPAWidget(const TQString& configFile, Type type, int actions, popup = new TQPopupMenu(); popup->insertItem(SmallIcon("kmoon"), i18n("&About"), this, - TQT_SLOT(showAbout())); + TQ_SLOT(showAbout())); popup->insertItem(SmallIcon("configure"), i18n("&Configure..."), this, - TQT_SLOT(settings())); + TQ_SLOT(settings())); // missuse timerEvent for initialising timerEvent(0); diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp index db4b9b3..eeafbcc 100644 --- a/kmoon/kmoondlg.cpp +++ b/kmoon/kmoondlg.cpp @@ -60,7 +60,7 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name) slider->setEnabled(TQPixmap::defaultDepth() > 8); label->setEnabled(TQPixmap::defaultDepth() > 8); TQWhatsThis::add(slider, text); - connect(slider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(angleChanged(int))); + connect(slider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(angleChanged(int))); TQHBox *hbox2 = new TQHBox(vbox); hbox2->setSpacing(spacingHint()); @@ -69,13 +69,13 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name) hemitoggle->setText(north ? i18n("Switch to Southern Hemisphere") : i18n("Switch to Northern Hemisphere")); - connect(hemitoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleHemi())); + connect(hemitoggle, TQ_SIGNAL(clicked()), TQ_SLOT(toggleHemi())); masktoggle = new TQPushButton(hbox2); masktoggle->setText(mask ? i18n("Switch Masking Off") : i18n("Switch Masking On")); - connect(masktoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask())); + connect(masktoggle, TQ_SIGNAL(clicked()), TQ_SLOT(toggleMask())); topLayout->addWidget(vbox); moon = new MoonWidget(page, "preview"); @@ -84,7 +84,7 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name) TQWhatsThis::add(moon, i18n("The moon as KMoon would display it\n" "following your current setting and time.")); topLayout->addWidget(moon); - connect(this, TQT_SIGNAL(helpClicked()), TQT_SLOT(help())); + connect(this, TQ_SIGNAL(helpClicked()), TQ_SLOT(help())); // disableResize(); } |