diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:24:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:24:38 -0600 |
commit | 95e28f5bcadbf0ac052c4f29d77b4ab5e6648d1b (patch) | |
tree | 4c22f2f3096672431df9180a0946c137012f3f2c /languages/cpp/app_templates/kapp | |
parent | bdeb717137b6fc8693198008ccb97f8213973416 (diff) | |
download | tdevelop-95e28f5bcadbf0ac052c4f29d77b4ab5e6648d1b.tar.gz tdevelop-95e28f5bcadbf0ac052c4f29d77b4ab5e6648d1b.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/app_templates/kapp')
-rw-r--r-- | languages/cpp/app_templates/kapp/app_client.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kapp/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/kapp/app_client.cpp b/languages/cpp/app_templates/kapp/app_client.cpp index ecde60fb..4098f8a8 100644 --- a/languages/cpp/app_templates/kapp/app_client.cpp +++ b/languages/cpp/app_templates/kapp/app_client.cpp @@ -7,7 +7,7 @@ int main(int argc, char **argv) { - KApplication app(argc, argv, "%{APPNAMELC}_client", false); + TDEApplication app(argc, argv, "%{APPNAMELC}_client", false); // get our DCOP client and attach so that we may use it DCOPClient *client = app.dcopClient(); diff --git a/languages/cpp/app_templates/kapp/main.cpp b/languages/cpp/app_templates/kapp/main.cpp index cfc877b4..2649e228 100644 --- a/languages/cpp/app_templates/kapp/main.cpp +++ b/languages/cpp/app_templates/kapp/main.cpp @@ -25,7 +25,7 @@ int main(int argc, char **argv) about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" ); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions(options); - KApplication app; + TDEApplication app; // register ourselves as a dcop client app.dcopClient()->registerAs(app.name(), false); |