summaryrefslogtreecommitdiffstats
path: root/doc/chalk/developers-plugins.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'doc/chalk/developers-plugins.docbook')
-rw-r--r--doc/chalk/developers-plugins.docbook14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/chalk/developers-plugins.docbook b/doc/chalk/developers-plugins.docbook
index 6c78c8ce..029af8d7 100644
--- a/doc/chalk/developers-plugins.docbook
+++ b/doc/chalk/developers-plugins.docbook
@@ -385,8 +385,8 @@ View plugins do not have to register themselves, and they get access to a
setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
- (void) new KAction(i18n("&Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage");
- (void) new KAction(i18n("&Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer");
+ (void) new TDEAction(i18n("&Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage");
+ (void) new TDEAction(i18n("&Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent;
}
@@ -1061,14 +1061,14 @@ to the action collection. However, everything seems to work, so why worry?
</para>
<programlisting>
-void KisToolStar::setup(KActionCollection *collection)
+void KisToolStar::setup(TDEActionCollection *collection)
{
- m_action = static_cast&lt;KRadioAction *&gt;(collection->action(name()));
+ m_action = static_cast&lt;TDERadioAction *&gt;(collection->action(name()));
if (m_action == 0) {
- KShortcut shortcut(Qt::Key_Plus);
- shortcut.append(KShortcut(Qt::Key_F9));
- m_action = new KRadioAction(i18n("&amp;Star"),
+ TDEShortcut shortcut(Qt::Key_Plus);
+ shortcut.append(TDEShortcut(Qt::Key_F9));
+ m_action = new TDERadioAction(i18n("&amp;Star"),
"tool_star",
shortcut,
this,