diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 18:46:25 -0600 |
commit | 4ff6dfc573c9413a887afd35ec2d6825e60067bc (patch) | |
tree | 6941953c2c61cbf7ba41bf1286caa34e6b880b38 /src/app/main.cpp | |
parent | 2138755a6d3541c379814d61eeaf80804051ed03 (diff) | |
download | gwenview-4ff6dfc573c9413a887afd35ec2d6825e60067bc.tar.gz gwenview-4ff6dfc573c9413a887afd35ec2d6825e60067bc.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r-- | src/app/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index 4401193..0200a0d 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -46,7 +46,7 @@ static KCmdLineOptions options[] = { static const char version[] = "1.4.2"; -void applyFilterArgs(KCmdLineArgs* args, FileViewController* controller) { +void applyFilterArgs(TDECmdLineArgs* args, FileViewController* controller) { TQString filterType = args->getOption("filter-type"); TQString filterName = args->getOption("filter-name"); TQString filterFrom = args->getOption("filter-from"); @@ -126,15 +126,15 @@ KDE_EXPORT int kdemain (int argc, char *argv[]) { aboutData.addCredit("Michael Spanier", I18N_NOOP("Patch for mouse navigation (v0.7.0)"), "mail@michael-spanier.de"); aboutData.addCredit("Christian A Strømmen", I18N_NOOP("Integration in Konqueror folder context menu"), "number1@realityx.net"); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions( options ); KApplication kapplication; if (kapplication.isRestored()) { RESTORE(MainWindow) } else { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); MainWindow *mainWindow = new MainWindow; applyFilterArgs(args, mainWindow->fileViewController()); |