summaryrefslogtreecommitdiffstats
path: root/knewstuff
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:21:02 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:21:02 -0600
commit8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a (patch)
tree19ff5ecf5e6b5168e5503677f18b85f3dfa91f95 /knewstuff
parent5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (diff)
downloadtdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.tar.gz
tdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'knewstuff')
-rw-r--r--knewstuff/ghns.cpp2
-rw-r--r--knewstuff/khotnewstuff.cpp2
-rw-r--r--knewstuff/knewstuff.cpp2
-rw-r--r--knewstuff/testnewstuff.cpp2
4 files changed, 4 insertions, 4 deletions
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 );