summaryrefslogtreecommitdiffstats
path: root/kweather/kweather.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:04:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 19:03:51 +0900
commit8114410a311b64cba3de27fc60ac59ce3322eaab (patch)
tree126ed143667ccf4cdab62a4bec5a17eb2f0921cc /kweather/kweather.cpp
parent233d1477e9794af302b81f0f8af4155eff3ab2e4 (diff)
downloadtdetoys-8114410a.tar.gz
tdetoys-8114410a.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 'kweather/kweather.cpp')
-rw-r--r--kweather/kweather.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kweather/kweather.cpp b/kweather/kweather.cpp
index 1a215f4..9b8969a 100644
--- a/kweather/kweather.cpp
+++ b/kweather/kweather.cpp
@@ -65,12 +65,12 @@ kweather::kweather(const TQString& configFile, Type t, int actions,
initDCOP();
dockWidget = new dockwidget(reportLocation, this, "dockwidget");
- connect(dockWidget, TQT_SIGNAL(buttonClicked()), TQT_SLOT(doReport()));
+ connect(dockWidget, TQ_SIGNAL(buttonClicked()), TQ_SLOT(doReport()));
dockWidget->setViewMode(mViewMode);
setLabelColor();
timeOut = new TQTimer(this, "timeOut" );
- connect(timeOut, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()));
+ connect(timeOut, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()));
timeOut->start(10*60*1000);
if(mFirstRun)
@@ -89,13 +89,13 @@ void kweather::initContextMenu()
mContextMenu = new TDEPopupMenu(this);
mContextMenu->insertTitle(i18n("KWeather - %1").arg( reportLocation ), -1, 0);
mContextMenu->insertItem(SmallIcon("viewmag"), i18n("Show &Report"),
- this, TQT_SLOT(doReport()), 0, -1, 1);
+ this, TQ_SLOT(doReport()), 0, -1, 1);
mContextMenu->insertItem(SmallIcon("reload"), i18n("&Update Now"),
- this, TQT_SLOT(slotUpdateNow()), 0, -1, 2);
+ this, TQ_SLOT(slotUpdateNow()), 0, -1, 2);
mContextMenu->insertSeparator();
- mContextMenu->insertItem(SmallIcon("kweather"), i18n("&About KWeather"), this, TQT_SLOT(about()));
+ mContextMenu->insertItem(SmallIcon("kweather"), i18n("&About KWeather"), this, TQ_SLOT(about()));
mContextMenu->insertItem(SmallIcon("configure"),
- i18n("&Configure KWeather..."), this, TQT_SLOT(preferences()));
+ i18n("&Configure KWeather..."), this, TQ_SLOT(preferences()));
setCustomMenu(mContextMenu);
}
@@ -159,7 +159,7 @@ void kweather::preferences()
if ( settingsDialog == 0 )
{
settingsDialog = new KCMultiDialog( this );
- connect( settingsDialog, TQT_SIGNAL( configCommitted() ), TQT_SLOT( slotPrefsAccepted() ) );
+ connect( settingsDialog, TQ_SIGNAL( configCommitted() ), TQ_SLOT( slotPrefsAccepted() ) );
settingsDialog->addModule( "kcmweatherapplet.desktop" );
settingsDialog->addModule( "kcmweatherservice.desktop" );
@@ -191,7 +191,7 @@ void kweather::doReport()
{
mReport = new reportView(reportLocation);
- connect( mReport, TQT_SIGNAL( finished() ), TQT_SLOT( slotReportFinished() ) );
+ connect( mReport, TQ_SIGNAL( finished() ), TQ_SLOT( slotReportFinished() ) );
}
mReport->show();