diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-09 22:20:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-09 22:45:48 +0900 |
commit | 6624c2cf3f8c5e6e4219227659597b9462806094 (patch) | |
tree | 3fce9b0cd7411681695afea96e20d5eed1b20d1a | |
parent | c4ab7dca221f502fae93297fea12f3d61fb13889 (diff) | |
download | ksensors-feat/use-tdeuniqueapplication.tar.gz ksensors-feat/use-tdeuniqueapplication.zip |
Rename KUniqueApplication to TDEUniqueApplicationfeat/use-tdeuniqueapplication
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/ksensorscfg.cpp | 1 | ||||
-rw-r--r-- | src/main.cpp | 8 |
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(); |