diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:45 -0600 |
commit | 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (patch) | |
tree | d074ed35245d0d44f04cd625c1cafacdc15a13ae /kunittest | |
parent | 6e8a7cc94c1eb8b67e91e6dc2f864dfeec51d9cc (diff) | |
download | tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.tar.gz tdelibs-5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kunittest')
-rw-r--r-- | kunittest/modrunner.cpp | 6 | ||||
-rw-r--r-- | kunittest/tester.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kunittest/modrunner.cpp b/kunittest/modrunner.cpp index cb633189d..c7e545acd 100644 --- a/kunittest/modrunner.cpp +++ b/kunittest/modrunner.cpp @@ -54,9 +54,9 @@ int main( int argc, char **argv ) KAboutData::License_BSD, "(C) 2005 Jeroen Wijnhout", 0, 0, "Jeroen.Wijnhout@kdemail.net"); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); KUnitTest::Runner::loadModules(args->getOption("folder"), args->getOption("query")); KUnitTest::Runner::setDebugCapturingEnabled(args->isSet("enable-dbgcap")); diff --git a/kunittest/tester.h b/kunittest/tester.h index 061f319b3..5e47f7ccb 100644 --- a/kunittest/tester.h +++ b/kunittest/tester.h @@ -150,8 +150,8 @@ SampleTest - 1 test passed, 1 test failed * KAboutData about("SampleTests", I18N_NOOP("SampleTests"), version, description, * KAboutData::License_BSD, "(C) 2005 You!", 0, 0, "mail@provider"); * - * KCmdLineArgs::init(argc, argv, &about); - * KCmdLineArgs::addCmdLineOptions( options ); + * TDECmdLineArgs::init(argc, argv, &about); + * TDECmdLineArgs::addCmdLineOptions( options ); * KApplication app; * * KUnitTest::RunnerGUI runner(0); |