From 4774c021a45e818d31d522b8c235ca28b993d889 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 23:58:55 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- tests/exportdatebook.cc | 4 ++-- tests/importaddresses.cc | 4 ++-- tests/importdatebook.cc | 4 ++-- tests/mergecalendars.cc | 4 ++-- tests/testaddress.cc | 4 ++-- tests/testcategories.cc | 4 ++-- tests/testdatabase.cc | 4 ++-- tests/testdatebook.cc | 4 ++-- tests/testidmapper.cc | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) (limited to 'tests') diff --git a/tests/exportdatebook.cc b/tests/exportdatebook.cc index 24c57c5..f3c602b 100644 --- a/tests/exportdatebook.cc +++ b/tests/exportdatebook.cc @@ -58,13 +58,13 @@ int main(int argc, char **argv) { FUNCTIONSETUP; - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("exportdatebook","Emport Date Book","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/importaddresses.cc b/tests/importaddresses.cc index f39e76c..c4f321e 100644 --- a/tests/importaddresses.cc +++ b/tests/importaddresses.cc @@ -59,8 +59,8 @@ int main(int argc, char **argv) TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - // KApplication app( false, false ); - KApplication app; + // TDEApplication app( false, false ); + TDEApplication app; TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/importdatebook.cc b/tests/importdatebook.cc index 2880e06..9128afc 100644 --- a/tests/importdatebook.cc +++ b/tests/importdatebook.cc @@ -55,13 +55,13 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("importdatebook","Import Date Book","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc index 916588e..04d87be 100644 --- a/tests/mergecalendars.cc +++ b/tests/mergecalendars.cc @@ -51,13 +51,13 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("mergecalendars","Merge libkcal Calendars","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/testaddress.cc b/tests/testaddress.cc index 36ed56d..da00c65 100644 --- a/tests/testaddress.cc +++ b/tests/testaddress.cc @@ -49,13 +49,13 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("testaddress","Test Addresses","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/testcategories.cc b/tests/testcategories.cc index 9d09c8e..83b8a7b 100644 --- a/tests/testcategories.cc +++ b/tests/testcategories.cc @@ -154,13 +154,13 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("testcategories","Test Categories","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/testdatabase.cc b/tests/testdatabase.cc index 36dce8f..6986541 100644 --- a/tests/testdatabase.cc +++ b/tests/testdatabase.cc @@ -253,13 +253,13 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("testdatabase","Test Databases","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/testdatebook.cc b/tests/testdatebook.cc index 137dd5f..87c9b49 100644 --- a/tests/testdatebook.cc +++ b/tests/testdatebook.cc @@ -49,13 +49,13 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("testdatebook","Test Date Book","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/tests/testidmapper.cc b/tests/testidmapper.cc index f25e6db..7365ccb 100644 --- a/tests/testidmapper.cc +++ b/tests/testidmapper.cc @@ -286,11 +286,11 @@ bool test7() int main(int argc, char **argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); KAboutData aboutData("testidmapper","Test IDMapper","0.1"); TDECmdLineArgs::init(argc,argv,&aboutData); - KApplication app( false, false ); + TDEApplication app( false, false ); // Remove file from previous test run TQDir test( "Testing" ); -- cgit v1.2.3