summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:28 -0600
commit68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2 (patch)
tree2960e9f2a6227456ee4d6f1b135f6daa30929eac /tools
parent7e1f33d9f50dcae3eeed6143c602303ac360ba8d (diff)
downloadkoffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.tar.gz
koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'tools')
-rw-r--r--tools/converter/koconverter.cpp8
-rw-r--r--tools/kthesaurus/main.cc6
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/converter/koconverter.cpp b/tools/converter/koconverter.cpp
index 27e91426..dc8ab1b4 100644
--- a/tools/converter/koconverter.cpp
+++ b/tools/converter/koconverter.cpp
@@ -78,8 +78,8 @@ int main( int argc, char **argv )
I18N_NOOP("(c) 2001-2004 KOffice developers") );
aboutData.addAuthor("David Faure",0, "faure@kde.org");
aboutData.addAuthor("Nicolas Goutte",0, "goutte@kde.org");
- KCmdLineArgs::init( argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init( argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
@@ -89,7 +89,7 @@ int main( int argc, char **argv )
KImageIO::registerFormats();
// Get the command line arguments which we have to parse
- KCmdLineArgs *args= KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args= TDECmdLineArgs::parsedArgs();
if ( args->count() == 2 )
{
KURL uIn = args->url( 0 );
@@ -155,7 +155,7 @@ int main( int argc, char **argv )
}
}
- KCmdLineArgs::usage(i18n("Two arguments required"));
+ TDECmdLineArgs::usage(i18n("Two arguments required"));
return 3;
}
diff --git a/tools/kthesaurus/main.cc b/tools/kthesaurus/main.cc
index bc1f4c06..968afd57 100644
--- a/tools/kthesaurus/main.cc
+++ b/tools/kthesaurus/main.cc
@@ -39,8 +39,8 @@ extern "C" KOFFICETOOLS_EXPORT int kdemain(int argc, char **argv)
I18N_NOOP( "KThesaurus - List synonyms" ), KAboutData::License_GPL,
I18N_NOOP( "(c) 2001 Daniel Naber" ) );
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions(options);
KApplication a; // KDataTool needs an instance
// TODO: take term from command line!
@@ -67,7 +67,7 @@ extern "C" KOFFICETOOLS_EXPORT int kdemain(int argc, char **argv)
}
*/
TQString text = "";
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() > 0 ) {
text = args->arg(0);
}