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 | c705f8f0619865875d6247d9470dced55241bc79 (patch) | |
tree | 6ba0329616c0b5ff176ec8fc4afeac5f51770593 /kview | |
parent | f0e6b090da1687ded291a141c138d470f0890218 (diff) | |
download | tdegraphics-c705f8f0619865875d6247d9470dced55241bc79.tar.gz tdegraphics-c705f8f0619865875d6247d9470dced55241bc79.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kview')
-rw-r--r-- | kview/kviewcanvas/test/main.cpp | 6 | ||||
-rw-r--r-- | kview/kviewviewer/test/main.cpp | 6 | ||||
-rw-r--r-- | kview/main.cpp | 6 |
3 files changed, 9 insertions, 9 deletions
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(); |