From c705f8f0619865875d6247d9470dced55241bc79 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 --- kview/kviewcanvas/test/main.cpp | 6 +++--- kview/kviewviewer/test/main.cpp | 6 +++--- kview/main.cpp | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kview') diff --git a/kview/kviewcanvas/test/main.cpp b/kview/kviewcanvas/test/main.cpp index 8501908b..74e1046e 100644 --- a/kview/kviewcanvas/test/main.cpp +++ b/kview/kviewcanvas/test/main.cpp @@ -19,15 +19,15 @@ int main(int argc, char **argv) { KAboutData about("kimageviewertest", I18N_NOOP("KImageViewerTest"), version, description, KAboutData::License_GPL, "(C) 2001 Matthias Kretz", 0, 0, "kretz@kde.org"); about.addAuthor( "Matthias Kretz", 0, "kretz@kde.org" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; if (app.isRestored()) RESTORE(KImageViewerTest) else { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->count() == 0 ) { diff --git a/kview/kviewviewer/test/main.cpp b/kview/kviewviewer/test/main.cpp index 95910126..64beafee 100644 --- a/kview/kviewviewer/test/main.cpp +++ b/kview/kviewviewer/test/main.cpp @@ -19,15 +19,15 @@ int main(int argc, char **argv) { KAboutData about("kviewviewertest", I18N_NOOP("KView Viewer Test"), version, description, KAboutData::License_GPL, "(C) 2001 Matthias Kretz", 0, 0, "kretz@kde.org"); about.addAuthor( "Matthias Kretz", 0, "kretz@kde.org" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; if (app.isRestored()) RESTORE(Test) else { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if ( args->count() == 0 ) { diff --git a/kview/main.cpp b/kview/main.cpp index 82e31fdc..c43f0ca3 100644 --- a/kview/main.cpp +++ b/kview/main.cpp @@ -40,15 +40,15 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) about.addAuthor( "Matthias Kretz", I18N_NOOP( "Maintainer" ), "kretz@kde.org" ); about.addAuthor( "Sirtaj Singh Kang", I18N_NOOP( "started it all" ), "taj@kde.org" ); about.addAuthor( "Simon Hausmann", 0, "hausmann@kde.org" ); - KCmdLineArgs::init( argc, argv, &about ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication app; if( app.isRestored() ) RESTORE( KView ) else { - KCmdLineArgs * args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs * args = TDECmdLineArgs::parsedArgs(); KView * kview = new KView; kview->show(); -- cgit v1.2.1