From 5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:45 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- tdecore/tests/testqtargs.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tdecore/tests/testqtargs.cpp') diff --git a/tdecore/tests/testqtargs.cpp b/tdecore/tests/testqtargs.cpp index c9e933c51..97c545e1e 100644 --- a/tdecore/tests/testqtargs.cpp +++ b/tdecore/tests/testqtargs.cpp @@ -1,5 +1,5 @@ /* - testqtargs -- is there really a bug in KCmdLineArgs or am I on crack? + testqtargs -- is there really a bug in TDECmdLineArgs or am I on crack? I used the following compile options: @@ -64,10 +64,10 @@ int main(int argc, char *argv[]) "1.0", I18N_NOOP("testqtargs"), KAboutData::License_GPL, "", "", "", ""); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); - KCmdLineArgs *qtargs = KCmdLineArgs::parsedArgs("qt"); + TDECmdLineArgs *qtargs = TDECmdLineArgs::parsedArgs("qt"); for (int i = 0; i < qtargs->count(); i++) { tqDebug("qt arg[%d] = %s", i, qtargs->arg(i)); @@ -75,8 +75,8 @@ int main(int argc, char *argv[]) KApplication app; - KCmdLineArgs *kdeargs = KCmdLineArgs::parsedArgs("tde"); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *kdeargs = TDECmdLineArgs::parsedArgs("tde"); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // An arg set by Qt if(qtargs->isSet("background")) -- cgit v1.2.1