diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:23:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:23:32 -0600 |
commit | 94c9dc38220d50d037075127ad46add8a264ef26 (patch) | |
tree | af6ba5d26197827dac1b1901895dee7a7b62a9d6 /cervisia/cvsservice | |
parent | 479647c43c62fc50302342c8ac50a2fe024b4426 (diff) | |
download | tdesdk-94c9dc38220d50d037075127ad46add8a264ef26.tar.gz tdesdk-94c9dc38220d50d037075127ad46add8a264ef26.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'cervisia/cvsservice')
-rw-r--r-- | cervisia/cvsservice/DESIGN | 2 | ||||
-rw-r--r-- | cervisia/cvsservice/cvsaskpass.cpp | 4 | ||||
-rw-r--r-- | cervisia/cvsservice/main.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/cvsservice/DESIGN b/cervisia/cvsservice/DESIGN index c258e911..02f0ed62 100644 --- a/cervisia/cvsservice/DESIGN +++ b/cervisia/cvsservice/DESIGN @@ -30,7 +30,7 @@ How-to use this service in C++ applications: QString error; QCString appId; - KApplication::startServiceByDesktopName("cvsservice", QStringList(), &error, + TDEApplication::startServiceByDesktopName("cvsservice", QStringList(), &error, &appId); // create stub for repository diff --git a/cervisia/cvsservice/cvsaskpass.cpp b/cervisia/cvsservice/cvsaskpass.cpp index eb581f34..ac6a6796 100644 --- a/cervisia/cvsservice/cvsaskpass.cpp +++ b/cervisia/cvsservice/cvsaskpass.cpp @@ -46,8 +46,8 @@ extern "C" KDE_EXPORT int kdemain(int argc, char** argv) TDECmdLineArgs::addCmdLineOptions(options); // no need to register with the dcop server - KApplication::disableAutoDcopRegistration(); - KApplication app; + TDEApplication::disableAutoDcopRegistration(); + TDEApplication app; // no need for session management app.disableSessionManagement(); diff --git a/cervisia/cvsservice/main.cpp b/cervisia/cvsservice/main.cpp index 3264487c..bcb666a2 100644 --- a/cervisia/cvsservice/main.cpp +++ b/cervisia/cvsservice/main.cpp @@ -35,7 +35,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char** argv) TDECmdLineArgs::init(argc, argv, &about); - KApplication app; + TDEApplication app; // This app is started automatically, no need for session management app.disableSessionManagement(); |