summaryrefslogtreecommitdiffstats
path: root/src/common/cli
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:32 -0600
commit9ca7b92557f7d468f8d57838261f4bdddf6d70e0 (patch)
tree32f771932010128486ca695622f3255e17ee72f6 /src/common/cli
parent33294802d33c754914aa4c16de5efe26408e05ef (diff)
downloadpiklab-9ca7b92557f7d468f8d57838261f4bdddf6d70e0.tar.gz
piklab-9ca7b92557f7d468f8d57838261f4bdddf6d70e0.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'src/common/cli')
-rw-r--r--src/common/cli/cli_main.cpp2
-rw-r--r--src/common/cli/cli_main.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/cli/cli_main.cpp b/src/common/cli/cli_main.cpp
index 8b8e2ab..3adb61d 100644
--- a/src/common/cli/cli_main.cpp
+++ b/src/common/cli/cli_main.cpp
@@ -122,7 +122,7 @@ CLI::MainBase::MainBase(Properties properties)
void CLI::MainBase::init()
{
- _args = KCmdLineArgs::parsedArgs();
+ _args = TDECmdLineArgs::parsedArgs();
if ( _properties & HasInteractiveMode ) _isInteractive = _args->isSet("cli");
if ( _properties & HasForce ) _force = _args->isSet("force");
FOR_EACH(Log::DebugLevel, level) if ( _args->isSet(level.key()) ) _view->setDebugLevel(level);
diff --git a/src/common/cli/cli_main.h b/src/common/cli/cli_main.h
index 42941ad..19852c3 100644
--- a/src/common/cli/cli_main.h
+++ b/src/common/cli/cli_main.h
@@ -71,7 +71,7 @@ public:
protected:
Properties _properties;
- KCmdLineArgs *_args;
+ TDECmdLineArgs *_args;
private:
virtual ExitCode prepareRun(bool &interactive) = 0;