summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-09 22:20:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-20 14:25:32 +0900
commit30b277cd5b833f7a4794b4d2433cfb5031e6b145 (patch)
tree2f3f1d3c752b7d1533c0bff5e13d45aeeff4f939
parent6ccc90d952eaf036d86bf328ebda1a13250fe63d (diff)
downloadksensors-30b277cd5b833f7a4794b4d2433cfb5031e6b145.tar.gz
ksensors-30b277cd5b833f7a4794b4d2433cfb5031e6b145.zip
Rename KUniqueApplication to TDEUniqueApplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/ksensorscfg.cpp1
-rw-r--r--src/main.cpp8
2 files changed, 4 insertions, 5 deletions
diff --git a/src/ksensorscfg.cpp b/src/ksensorscfg.cpp
index 4e41307..3436d73 100644
--- a/src/ksensorscfg.cpp
+++ b/src/ksensorscfg.cpp
@@ -31,7 +31,6 @@
#include <tdeaboutdata.h>
#include <kdialogbase.h>
-#include <kuniqueapplication.h>
#include "lmsensors.h"
#include "sensorslist.h"
#include "generalcfg.h"
diff --git a/src/main.cpp b/src/main.cpp
index 1504484..ca1972f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,7 +19,7 @@
#include <tdeaboutdata.h>
#include <tdelocale.h>
-#include <kuniqueapplication.h>
+#include <tdeuniqueapplication.h>
#include "ksensorssplash.h"
#include "lmsensorsdock.h"
@@ -47,15 +47,15 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KUniqueApplication::addCmdLineOptions();
+ TDEUniqueApplication::addCmdLineOptions();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
bool noDock= !args->isSet("dock");
bool showSplash= args->isSet("splash");
args->clear();
- if(!KUniqueApplication::start()) return 0;
- KUniqueApplication a;
+ if(!TDEUniqueApplication::start()) return 0;
+ TDEUniqueApplication a;
// We handle autostart via standard autostart-enabled .desktop file instead of the session
a.disableSessionManagement();