From be995f98557b8d223fd2c7b40a4b1997e1a2a2dd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:03:34 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- .../docs/koffice/chalk/developers-plugins.docbook | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'koffice-i18n-nl/docs/koffice/chalk') diff --git a/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook index 876e40ac..8abb8b77 100644 --- a/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook @@ -396,8 +396,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; } @@ -1092,14 +1092,14 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event) > for every input device and that means that an action with the same name is added several times to the action collection. However, everything seems to work, so why worry? void KisToolStar::setup(KActionCollection *collection) +>void KisToolStar::setup(TDEActionCollection *collection) { - m_action = static_cast<KRadioAction *>(collection->action(name())); + m_action = static_cast<TDERadioAction *>(collection->action(name())); if (m_action == 0) { - KShortcut shortcut(Qt::Key_Plus); - shortcut.append(KShortcut(Qt::Key_F9)); - m_action = new KRadioAction(i18n("&Star"), + TDEShortcut shortcut(Qt::Key_Plus); + shortcut.append(TDEShortcut(Qt::Key_F9)); + m_action = new TDERadioAction(i18n("&Star"), "tool_star", shortcut, this, -- cgit v1.2.1