summaryrefslogtreecommitdiffstats
path: root/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook')
-rw-r--r--koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook14
1 files changed, 7 insertions, 7 deletions
diff --git a/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
index 960f7314..a7c9028f 100644
--- a/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
+++ b/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook
@@ -395,8 +395,8 @@ ToolStar::~ToolStar()
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;
}
@@ -1089,14 +1089,14 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
> ist notwendig: hier erstellen wir die Aktion, die in den Werkzeugkasten integriert wird, damit Benutzer das Werkzeug auswählen können. Zudem weisen wir ein Tastenkürzel zu. Beachten Sie, dass an diesem Bereich gerade gearbeitet wird: es könnten Dinge geändert werden. </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,