summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-21 13:37:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-21 13:37:09 +0900
commit767e65a61df517f9c4eb292b629f5bfe6edabdeb (patch)
treef26e8ed466bf0848b931157fdaee4cb28aa42aa6 /src/main.cpp
parentae236e7a32d0548459035715f2137e3cf124ee90 (diff)
downloadksensors-767e65a61df517f9c4eb292b629f5bfe6edabdeb.tar.gz
ksensors-767e65a61df517f9c4eb292b629f5bfe6edabdeb.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ca1972f..0408e21 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
// We handle autostart via standard autostart-enabled .desktop file instead of the session
a.disableSessionManagement();
- TDEConfig *cfg= kapp->config();
+ TDEConfig *cfg= tdeApp->config();
cfg->setGroup("General");
if( cfg->readEntry("Version")!=aboutData.version() ) {
cfg->writeEntry("Version",aboutData.version());
@@ -69,8 +69,8 @@ int main(int argc, char *argv[])
if(showSplash) (void)new KSensorsSplash();
LMSensorsDock *ksensors= new LMSensorsDock(noDock);
- TQObject::connect( ksensors, TQ_SIGNAL(destroyed()), kapp, TQ_SLOT(quit()) );
- TQObject::connect( kapp, TQ_SIGNAL(saveYourself()), ksensors, TQ_SLOT(saveConfig()) );
+ TQObject::connect( ksensors, TQ_SIGNAL(destroyed()), tdeApp, TQ_SLOT(quit()) );
+ TQObject::connect( tdeApp, TQ_SIGNAL(saveYourself()), ksensors, TQ_SLOT(saveConfig()) );
return a.exec();
}