diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-05 12:24:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-19 22:26:14 +0900 |
commit | 1711870a073597c2282f32ad39a9b8ad5e1cf6bb (patch) | |
tree | 1fb9f1d9ad4ec650960add05c3dd287cd42c7d61 /tdeio | |
parent | 87ad1e6c4d56fb52faa0d1af4afe5c33f05e6dca (diff) | |
download | tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.tar.gz tdelibs-1711870a073597c2282f32ad39a9b8ad5e1cf6bb.zip |
Rename KUniqueApplication to TDEUniqueApplication and remove obsolete kapp.h and kuniqueapp.h headers
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/misc/uiserver.cpp | 8 | ||||
-rw-r--r-- | tdeio/tdeioexec/README | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tdeio/misc/uiserver.cpp b/tdeio/misc/uiserver.cpp index 05f11fd06..b675ee4de 100644 --- a/tdeio/misc/uiserver.cpp +++ b/tdeio/misc/uiserver.cpp @@ -27,7 +27,7 @@ #include <ksqueezedtextlabel.h> #include <tdeconfig.h> #include <kstandarddirs.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdeaboutdata.h> #include <tdecmdlineargs.h> #include <tdeglobal.h> @@ -1388,15 +1388,15 @@ extern "C" TDE_EXPORT int kdemain(int argc, char **argv) TDECmdLineArgs::init( argc, argv, &aboutdata ); // TDECmdLineArgs::addCmdLineOptions( options ); - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); - if (!KUniqueApplication::start()) + if (!TDEUniqueApplication::start()) { kdDebug(7024) << "tdeio_uiserver is already running!" << endl; return (0); } - KUniqueApplication app; + TDEUniqueApplication app; // This app is started automatically, no need for session management app.disableSessionManagement(); diff --git a/tdeio/tdeioexec/README b/tdeio/tdeioexec/README index daaa38bdb..165db1f33 100644 --- a/tdeio/tdeioexec/README +++ b/tdeio/tdeioexec/README @@ -9,12 +9,12 @@ For this it does the following: (because the file was modified) then it offers re-uploading the modified version. This is how you offer network transparency to apps that don't have it. -BUT: with KUniqueApplication, this breaks, because the app returns at once, +BUT: with TDEUniqueApplication, this breaks, because the app returns at once, so we have no way to know when the user finished editing the file... Conclusion: if the application has network transparency built-in, it should put "%u" in its desktop file - and kfmexec isn't used -. If it doesn't, either -it's a TDEApplication and kfmexec does its job, or it's a KUniqueApplication +it's a TDEApplication and kfmexec does its job, or it's a TDEUniqueApplication and... kfmexec can't see modifications to the file. Be warned. From Waldo: "The program doesn't return _at once_. It returns |