From 8a69eba2f0eddce05cf86e0df8aec6e9f473d485 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- kjsembed/cpptests/jsaccess/jsaccess.cpp | 2 +- kjsembed/docs/embedding/simple-embed/main.cpp | 2 +- kjsembed/kjscmd.cpp | 6 +++--- kjsembed/testkjsembed.cpp | 2 +- kjsembed/tests/testkjsembed.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kjsembed') diff --git a/kjsembed/cpptests/jsaccess/jsaccess.cpp b/kjsembed/cpptests/jsaccess/jsaccess.cpp index 6d22b412..d211b019 100644 --- a/kjsembed/cpptests/jsaccess/jsaccess.cpp +++ b/kjsembed/cpptests/jsaccess/jsaccess.cpp @@ -38,7 +38,7 @@ int main( int argc, char **argv ) KAboutData about( "test-kjsembed", I18N_NOOP("KJS Embed Test For C++ access of variables and functions."), "0.1", I18N_NOOP("Test"), KAboutData::License_LGPL, I18N_NOOP("(c) 2004 Ian Reinhart Geiser") ); - KCmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::init( argc, argv, &about ); KApplication app; // Setup Interpreter diff --git a/kjsembed/docs/embedding/simple-embed/main.cpp b/kjsembed/docs/embedding/simple-embed/main.cpp index 719ca29f..8a3f75fe 100644 --- a/kjsembed/docs/embedding/simple-embed/main.cpp +++ b/kjsembed/docs/embedding/simple-embed/main.cpp @@ -34,7 +34,7 @@ int main(int argc, char **argv) KAboutData about("embedjs", I18N_NOOP("EmbedJS"), version, description, KAboutData::License_LGPL, "(C) 2004 Ian Reinhart Geiser", 0, 0, "geiseri@kde.org"); about.addAuthor( "Ian Reinhart Geiser", 0, "geiseri@kde.org" ); - KCmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::init(argc, argv, &about); KApplication app; EmbedViewImp *view = new EmbedViewImp; diff --git a/kjsembed/kjscmd.cpp b/kjsembed/kjscmd.cpp index 4b6604cf..220a1b50 100644 --- a/kjsembed/kjscmd.cpp +++ b/kjsembed/kjscmd.cpp @@ -88,9 +88,9 @@ int main( int argc, char **argv ) about.addAuthor( "Richard Moore", 0, "rich@kde.org" ); about.addAuthor( "Ian Reinhart Geiser", 0, "geiser@kde.org" ); - KCmdLineArgs::init( argc, argv, &about ); - KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); // Setup KApplication KApplication *app; diff --git a/kjsembed/testkjsembed.cpp b/kjsembed/testkjsembed.cpp index 47065ab7..2b72a8cd 100644 --- a/kjsembed/testkjsembed.cpp +++ b/kjsembed/testkjsembed.cpp @@ -33,7 +33,7 @@ int main( int argc, char **argv ) KAboutData about( "test-kjsembed", I18N_NOOP("KJS Embed Test"), "0.1", I18N_NOOP("Test"), KAboutData::License_LGPL, I18N_NOOP("(c) 2001-2003 Richard Moore") ); - KCmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::init( argc, argv, &about ); KApplication app; // Setup Interpreter diff --git a/kjsembed/tests/testkjsembed.cpp b/kjsembed/tests/testkjsembed.cpp index f97d6b1c..53c5f5da 100644 --- a/kjsembed/tests/testkjsembed.cpp +++ b/kjsembed/tests/testkjsembed.cpp @@ -36,7 +36,7 @@ int main( int argc, char **argv ) KAboutData about( "test-kjsembed", I18N_NOOP("KJS Embed Test"), "0.1", I18N_NOOP("Test"), KAboutData::License_LGPL, I18N_NOOP("(c) 2001-2002 Richard Moore") ); - KCmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::init( argc, argv, &about ); KApplication app; // Setup Interpreter -- cgit v1.2.1