diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:22:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:22:10 -0600 |
commit | 3e4d718796cddcc798d9f737037ef4bad540a0af (patch) | |
tree | 69d0aaad3f8f46c1dbb4939b7fcda8e7de12c481 /dcoprss | |
parent | 50d6569cdef5f0aac099f5d01864bd0e14f82ae3 (diff) | |
download | tdenetwork-3e4d718796cddcc798d9f737037ef4bad540a0af.tar.gz tdenetwork-3e4d718796cddcc798d9f737037ef4bad540a0af.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'dcoprss')
-rw-r--r-- | dcoprss/client.cpp | 6 | ||||
-rw-r--r-- | dcoprss/feedbrowser.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dcoprss/client.cpp b/dcoprss/client.cpp index f84fc0f9..01b6003e 100644 --- a/dcoprss/client.cpp +++ b/dcoprss/client.cpp @@ -14,7 +14,7 @@ class rssIface : virtual public DCOPObject K_DCOP public: - rssIface( KApplication *app) + rssIface( TDEApplication *app) { // get our DCOP client and attach so that we may use it DCOPClient *client = app->dcopClient(); @@ -25,7 +25,7 @@ public: if (!client->isApplicationRegistered("rssservice")) { kdDebug() << "Could not find service so I am starting it..." << endl; - if(KApplication::startServiceByName("rssservice",TQStringList(), &error, &appID )) + if(TDEApplication::startServiceByName("rssservice",TQStringList(), &error, &appID )) { kdDebug() << "Starting rssservice failed with message: " << error << endl; exit(0); @@ -69,7 +69,7 @@ public: */ int main(int argc, char **argv) { - KApplication *app = new KApplication(argc, argv, "client", false); + TDEApplication *app = new TDEApplication(argc, argv, "client", false); app->exec(); } diff --git a/dcoprss/feedbrowser.cpp b/dcoprss/feedbrowser.cpp index 4a12dac5..84ccf5d9 100644 --- a/dcoprss/feedbrowser.cpp +++ b/dcoprss/feedbrowser.cpp @@ -134,7 +134,7 @@ int main( int argc, char **argv ) KGlobal::locale()->setMainCatalogue( "dcoprss" ); KAboutData aboutData( "feedbrowser", I18N_NOOP( "Feed Browser" ), "0.1" ); TDECmdLineArgs::init( argc, argv, &aboutData ); - KApplication app; + TDEApplication app; FeedBrowserDlg *dlg = new FeedBrowserDlg( 0 ); app.setMainWidget( dlg ); dlg->show(); |