summaryrefslogtreecommitdiffstats
path: root/kapptemplate
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
commit479647c43c62fc50302342c8ac50a2fe024b4426 (patch)
tree946e0114bb29970388e3ae24418a9df7119eaef4 /kapptemplate
parentce145c966787b367fc3372bb78e8a5aefc33a410 (diff)
downloadtdesdk-479647c43c62fc50302342c8ac50a2fe024b4426.tar.gz
tdesdk-479647c43c62fc50302342c8ac50a2fe024b4426.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kapptemplate')
-rw-r--r--kapptemplate/kapp/main.cpp6
-rw-r--r--kapptemplate/kpartapp/main.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/kapptemplate/kapp/main.cpp b/kapptemplate/kapp/main.cpp
index 016b7442..69668df8 100644
--- a/kapptemplate/kapp/main.cpp
+++ b/kapptemplate/kapp/main.cpp
@@ -22,8 +22,8 @@ int main(int argc, char **argv)
{
KAboutData about("${APP_NAME_LC}", I18N_NOOP("${APP_NAME}"), version, description, KAboutData::License_GPL, "(C) 2004 ${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
@@ -35,7 +35,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)
{
${APP_NAME} *widget = new ${APP_NAME};
diff --git a/kapptemplate/kpartapp/main.cpp b/kapptemplate/kpartapp/main.cpp
index 3c7c3b3b..5e5276bc 100644
--- a/kapptemplate/kpartapp/main.cpp
+++ b/kapptemplate/kpartapp/main.cpp
@@ -21,8 +21,8 @@ int main(int argc, char **argv)
{
KAboutData about("${APP_NAME_LC}", I18N_NOOP("${APP_NAME}"), version, description, KAboutData::License_GPL, "(C) 2004 ${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;
// see if we are starting with session management
@@ -31,7 +31,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 )
{