summaryrefslogtreecommitdiffstats
path: root/koffice-i18n-it/docs/koffice
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:03:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:03:34 -0600
commitbe995f98557b8d223fd2c7b40a4b1997e1a2a2dd (patch)
treed30b7e80fc6f7a9c1a19d4babdf27f054c74f621 /koffice-i18n-it/docs/koffice
parent3e7320c15340438a6b2816d93a106d36d0ef2fc0 (diff)
downloadkoffice-i18n-be995f98557b8d223fd2c7b40a4b1997e1a2a2dd.tar.gz
koffice-i18n-be995f98557b8d223fd2c7b40a4b1997e1a2a2dd.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'koffice-i18n-it/docs/koffice')
-rw-r--r--koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook14
1 files changed, 7 insertions, 7 deletions
diff --git a/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
index 542fada0..6496f3dd 100644
--- a/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
+++ b/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook
@@ -394,8 +394,8 @@ ToolStar::~ToolStar()
setInstance(ShearImageFactory::instance());
setXMLFile(locate("data","chalkplugins/shearimage.rc"), true);
- (void) new KAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage");
- (void) new KAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer");
+ (void) new TDEAction(i18n("&amp;Shear Image..."), 0, 0, this, SLOT(slotShearImage()), actionCollection(), "shearimage");
+ (void) new TDEAction(i18n("&amp;Shear Layer..."), 0, 0, this, SLOT(slotShearLayer()), actionCollection(), "shearlayer");
m_view = (KisView*) parent;
}
@@ -1092,14 +1092,14 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
> per ogni dispositivo di input e che un'azione con lo stesso nome viene aggiunta diverse volte alla raccolta di azioni. Però tutto sembra funzionare, e allora perché preoccuparsi? </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,