summaryrefslogtreecommitdiffstats
path: root/lib/kross/runner/main.cpp
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 /lib/kross/runner/main.cpp
parent7e1f33d9f50dcae3eeed6143c602303ac360ba8d (diff)
downloadkoffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.tar.gz
koffice-68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'lib/kross/runner/main.cpp')
-rw-r--r--lib/kross/runner/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/runner/main.cpp b/lib/kross/runner/main.cpp
index 1093a47b..fcff2bb0 100644
--- a/lib/kross/runner/main.cpp
+++ b/lib/kross/runner/main.cpp
@@ -110,18 +110,18 @@ int main(int argc, char **argv)
about.addAuthor("Sebastian Sauer", "Author", "mail@dipe.org");
// Initialize command line args
- KCmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::init(argc, argv, &about);
// Tell which options are supported and parse them.
static KCmdLineOptions options[] = {
{ "+file", I18N_NOOP("Scriptfile"), 0 },
KCmdLineLastOption
};
- KCmdLineArgs::addCmdLineOptions(options);
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// If no options are defined.
if(args->count() < 1) {
- std::cout << "Syntax: " << KCmdLineArgs::appName() << " scriptfile1 [scriptfile2] [scriptfile3] ..." << std::endl;
+ std::cout << "Syntax: " << TDECmdLineArgs::appName() << " scriptfile1 [scriptfile2] [scriptfile3] ..." << std::endl;
return ERROR_HELP;
}