summaryrefslogtreecommitdiffstats
path: root/kweather
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-22 10:21:25 +0900
commit4603b024aed86c023b63a01b65ce7e3d534c0bb7 (patch)
treeed4b393c56f2ca0b8bc2bf7506d2738b0ddbd43d /kweather
parent1606ffffcc4335bd0af03d66ab1ce5be1407829d (diff)
downloadtdetoys-4603b024aed86c023b63a01b65ce7e3d534c0bb7.tar.gz
tdetoys-4603b024aed86c023b63a01b65ce7e3d534c0bb7.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dba312132e8a2e0cbcbb157876b8c135130880fa)
Diffstat (limited to 'kweather')
-rw-r--r--kweather/main.cpp2
-rw-r--r--kweather/sidebarwidget.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kweather/main.cpp b/kweather/main.cpp
index 5c8d494..595e653 100644
--- a/kweather/main.cpp
+++ b/kweather/main.cpp
@@ -29,7 +29,7 @@ int main (int argc, char *argv[])
// This app is started automatically, no need for session management
app.disableSessionManagement();
kdDebug() << "starting dcopservice " << endl;
- new WeatherService(TQT_TQOBJECT(&app), "WeatherService");
+ new WeatherService(&app, "WeatherService");
return app.exec();
}
diff --git a/kweather/sidebarwidget.cpp b/kweather/sidebarwidget.cpp
index 7c9a6e7..1afe45a 100644
--- a/kweather/sidebarwidget.cpp
+++ b/kweather/sidebarwidget.cpp
@@ -45,9 +45,9 @@ sidebarwidget::sidebarwidget(TQWidget* parent, const char* name)
toolbar->setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Minimum);
TDEAction *refresh = new TDEAction( i18n("Refresh"), SmallIcon("view-refresh"),
- 0, TQT_TQOBJECT(this), TQT_SLOT(slotRefresh()), this, "refresh" );
+ 0, this, TQT_SLOT(slotRefresh()), this, "refresh" );
TDEAction *prefs = new TDEAction( i18n("Settings"), SmallIcon("configure"),
- 0, TQT_TQOBJECT(this), TQT_SLOT(slotConfigure()), this, "preferences" );
+ 0, this, TQT_SLOT(slotConfigure()), this, "preferences" );
refresh->plug(toolbar);
prefs->plug(toolbar);