diff options
Diffstat (limited to 'koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook')
-rw-r--r-- | koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook index 4e4e7e51..150e45b3 100644 --- a/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook @@ -395,8 +395,8 @@ FerramentaEstrela::~FerramentaEstrela() setInstance(ShearImagefatory::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_vista = (KisView*) mae; } @@ -1091,14 +1091,14 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento) > para cada dispositivo de entrada, e isso significa que é adicionada uma ação com o mesmo nome, várias vezes, à coleção de ações. Contudo, tudo parece funcionar, então porque preocupar-se? </para> <programlisting ->void KisToolStar::setup(KActionCollection *colleccao) +>void KisToolStar::setup(TDEActionCollection *colleccao) { - m_action = static_cast<KRadioAction *>(colleccao->action(name())); + m_action = static_cast<TDERadioAction *>(colleccao->action(name())); if (m_action == 0) { - KShortcut atalho(Qt::Key_Plus); - atalho.append(KShortcut(Qt::Key_F9)); - m_action = new KRadioAction(i18n("&Star"), + TDEShortcut atalho(Qt::Key_Plus); + atalho.append(TDEShortcut(Qt::Key_F9)); + m_action = new TDERadioAction(i18n("&Star"), "ferramenta_estrela", atalho, this, |