summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kde4app
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:44 -0600
commit799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch)
tree5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /languages/cpp/app_templates/kde4app
parent9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff)
downloadtdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz
tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'languages/cpp/app_templates/kde4app')
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp
index 5cfd1342..d224123c 100644
--- a/languages/cpp/app_templates/kde4app/kapp4.cpp
+++ b/languages/cpp/app_templates/kde4app/kapp4.cpp
@@ -53,7 +53,7 @@ void %{APPNAME}::setupActions()
TDEStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection());
// custom menu and menu item - the slot is in the class %{APPNAME}View
- TDEAction *custom = new TDEAction(KIcon("colorize"), i18n("Swi&tch Colors"), this);
+ TDEAction *custom = new TDEAction(TDEIcon("colorize"), i18n("Swi&tch Colors"), this);
actionCollection()->addAction( TQLatin1String("switch_action"), custom );
connect(custom, TQT_SIGNAL(triggered(bool)), m_view, TQT_SLOT(switchColors()));
}