summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/khello2
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-22 20:23:50 -0600
committerTimothy Pearson <[email protected]>2013-01-22 20:23:50 -0600
commit3a044decb0a5d7be822c888b2d5374573d7df96e (patch)
treeddf4681e0233c25203fc927596aa7b3bdb5f2efa /languages/cpp/app_templates/khello2
parent5c0390ebaa2be82d8684af5a6bc2b16740f4cc1b (diff)
downloadtdevelop-3a044decb0a5d7be822c888b2d5374573d7df96e.tar.gz
tdevelop-3a044decb0a5d7be822c888b2d5374573d7df96e.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/app_templates/khello2')
-rw-r--r--languages/cpp/app_templates/khello2/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/khello2/main.cpp b/languages/cpp/app_templates/khello2/main.cpp
index 71d897a4..31799020 100644
--- a/languages/cpp/app_templates/khello2/main.cpp
+++ b/languages/cpp/app_templates/khello2/main.cpp
@@ -19,8 +19,8 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv)
{
- KAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description,
- KAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}");
+ TDEAboutData about("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description,
+ TDEAboutData::License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", 0, 0, "%{EMAIL}");
about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" );
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );