From 8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:21:02 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- knewstuff/ghns.cpp | 2 +- knewstuff/khotnewstuff.cpp | 2 +- knewstuff/knewstuff.cpp | 2 +- knewstuff/testnewstuff.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'knewstuff') diff --git a/knewstuff/ghns.cpp b/knewstuff/ghns.cpp index 709460862..1f5c01768 100644 --- a/knewstuff/ghns.cpp +++ b/knewstuff/ghns.cpp @@ -81,7 +81,7 @@ int main(int argc,char **argv) KAboutData aboutData("ghns","Get Hot New Stuff","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); - KApplication app; + TDEApplication app; GhnsWidget wid; app.setMainWidget( &wid ); diff --git a/knewstuff/khotnewstuff.cpp b/knewstuff/khotnewstuff.cpp index cf68255a3..bbca71b89 100644 --- a/knewstuff/khotnewstuff.cpp +++ b/knewstuff/khotnewstuff.cpp @@ -42,7 +42,7 @@ int main(int argc, char **argv) TDECmdLineArgs::addCmdLineOptions(op); args = TDECmdLineArgs::parsedArgs(); - KApplication i; + TDEApplication i; KNS::DownloadDialog d; if(args->isSet("type")) d.setType(args->getOption("type")); diff --git a/knewstuff/knewstuff.cpp b/knewstuff/knewstuff.cpp index 6a37aa61d..c572f347d 100644 --- a/knewstuff/knewstuff.cpp +++ b/knewstuff/knewstuff.cpp @@ -72,7 +72,7 @@ void KNewStuff::download() TQString KNewStuff::downloadDestination( Entry * ) { return KGlobal::dirs()->saveLocation( "tmp" ) + - KApplication::randomString( 10 ); + TDEApplication::randomString( 10 ); } void KNewStuff::upload() diff --git a/knewstuff/testnewstuff.cpp b/knewstuff/testnewstuff.cpp index 451be8b43..189a90067 100644 --- a/knewstuff/testnewstuff.cpp +++ b/knewstuff/testnewstuff.cpp @@ -110,7 +110,7 @@ int main(int argc,char **argv) KAboutData aboutData("knewstufftest","KNewStuff Test","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); - KApplication app; + TDEApplication app; MyWidget wid; app.setMainWidget( &wid ); -- cgit v1.2.1