summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:49 -0600
commitbdeb717137b6fc8693198008ccb97f8213973416 (patch)
treeaa91b6811b0632aeea6ac8402022cd6e1ff122fb /languages/cpp/app_templates/kapp/main.cpp
parent57c30b2881457b03f7ca0a20b14178e5c3baad63 (diff)
downloadtdevelop-bdeb717137b6fc8693198008ccb97f8213973416.tar.gz
tdevelop-bdeb717137b6fc8693198008ccb97f8213973416.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/app_templates/kapp/main.cpp')
-rw-r--r--languages/cpp/app_templates/kapp/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/kapp/main.cpp b/languages/cpp/app_templates/kapp/main.cpp
index 06f98e8e..cfc877b4 100644
--- a/languages/cpp/app_templates/kapp/main.cpp
+++ b/languages/cpp/app_templates/kapp/main.cpp
@@ -23,8 +23,8 @@ int main(int argc, char **argv)
KAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description,
KAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}");
about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" );
- KCmdLineArgs::init(argc, argv, &about);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &about);
+ TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
// register ourselves as a dcop client
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
else
{
// no session.. just start up normally
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->count() == 0)
{
%{APPNAME} *widget = new %{APPNAME};