diff options
Diffstat (limited to 'cervisia/main.cpp')
-rw-r--r-- | cervisia/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cervisia/main.cpp b/cervisia/main.cpp index 9d6e181d..4a5bb5ad 100644 --- a/cervisia/main.cpp +++ b/cervisia/main.cpp @@ -164,22 +164,22 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) about.addCredit("Richard Moore", I18N_NOOP("Conversion to KPart"), "rich@kde.org", 0); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); KApplication app; - TQString resolvefile = KCmdLineArgs::parsedArgs()->getOption("resolve"); + TQString resolvefile = TDECmdLineArgs::parsedArgs()->getOption("resolve"); if (!resolvefile.isEmpty()) return ShowResolveDialog(resolvefile); // is command line option 'show log dialog' specified? - TQString logFile = KCmdLineArgs::parsedArgs()->getOption("log"); + TQString logFile = TDECmdLineArgs::parsedArgs()->getOption("log"); if( !logFile.isEmpty() ) return ShowLogDialog(logFile); // is command line option 'show annotation dialog' specified? - TQString annotateFile = KCmdLineArgs::parsedArgs()->getOption("annotate"); + TQString annotateFile = TDECmdLineArgs::parsedArgs()->getOption("annotate"); if( !annotateFile.isEmpty() ) return ShowAnnotateDialog(annotateFile); @@ -188,7 +188,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) } else { CervisiaShell* shell = new CervisiaShell(); - const KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + const TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); if( args->count() ) { KURL directory = args->url(0); |