diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-03-05 05:03:32 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-03-05 05:03:32 +0100 |
commit | f9f32cc93e35d51abba0fb9f26afc211c60a5ea4 (patch) | |
tree | df566426539627ac453c084e8dccba09afdb64b8 /kivio/plugins | |
parent | 98a0195cc514bc04129ef9420f1bfbc971770895 (diff) | |
download | koffice-f9f32cc93e35d51abba0fb9f26afc211c60a5ea4.tar.gz koffice-f9f32cc93e35d51abba0fb9f26afc211c60a5ea4.zip |
Fix incorrectly renamed strings
Diffstat (limited to 'kivio/plugins')
-rw-r--r-- | kivio/plugins/kiviotexttool/stenciltexteditor.cpp | 2 | ||||
-rw-r--r-- | kivio/plugins/kiviotexttool/tool_text.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp index 53708a64..575f5df5 100644 --- a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp +++ b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp @@ -59,7 +59,7 @@ StencilTextEditor::StencilTextEditor(const TQString& caption, TQWidget *parent, menu = new TQPopupMenu(m_mainWidget->m_vAlignButton, "hAlignMenu"); menu->setCheckable(true); menu->insertItem(SmallIconSet("align_top", 16), i18n("Align Top"), TQt::AlignTop); - menu->insertItem(SmallIconSet("align_vcenter", 16), i18n("AlignQt::Vertical Center"), TQt::AlignVCenter); + menu->insertItem(SmallIconSet("align_vcenter", 16), i18n("Align Vertical Center"), TQt::AlignVCenter); menu->insertItem(SmallIconSet("align_bottom", 16), i18n("Align Bottom"), TQt::AlignBottom); m_mainWidget->m_vAlignButton->setPopup(menu); connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setVerticalAlign(int))); diff --git a/kivio/plugins/kiviotexttool/tool_text.cpp b/kivio/plugins/kiviotexttool/tool_text.cpp index bfc54a73..e8ebc0fa 100644 --- a/kivio/plugins/kiviotexttool/tool_text.cpp +++ b/kivio/plugins/kiviotexttool/tool_text.cpp @@ -169,7 +169,7 @@ void TextTool::mousePress( TQMouseEvent *e ) int colType; KivioPage *page = view()->activePage(); KivioStencil* stencil = page->checkForStencil( &pagePoint, &colType, 0.0, false); - + if(stencil) { applyToolAction(stencil, pagePoint); } else if(startRubberBanding(e)) { @@ -319,7 +319,7 @@ void TextTool::applyToolAction(TQPtrList<KivioStencil>* stencils) if(changeHAlignment && (stencil->hTextAlign() != halignment)) { KivioChangeStencilHAlignmentCommand* cmd = new KivioChangeStencilHAlignmentCommand( - i18n("Change StencilQt::Horizontal Alignment"), view()->activePage(), stencil, stencil->hTextAlign(), halignment); + i18n("Change Stencil Horizontal Alignment"), view()->activePage(), stencil, stencil->hTextAlign(), halignment); stencil->setHTextAlign(halignment); macroCmd->addCommand(cmd); changed = true; @@ -327,7 +327,7 @@ void TextTool::applyToolAction(TQPtrList<KivioStencil>* stencils) if(changeVAlignment && (stencil->vTextAlign() != valignment)) { KivioChangeStencilVAlignmentCommand* cmd = new KivioChangeStencilVAlignmentCommand( - i18n("Change StencilQt::Vertical Alignment"), view()->activePage(), stencil, stencil->vTextAlign(), valignment); + i18n("Change Stencil Vertical Alignment"), view()->activePage(), stencil, stencil->vTextAlign(), valignment); stencil->setVTextAlign(valignment); macroCmd->addCommand(cmd); changed = true; @@ -404,7 +404,7 @@ void TextTool::applyToolAction(KivioStencil* stencil, const KoPoint& pos) if(stencil->hTextAlign(name) != halignment) { KivioChangeStencilHAlignmentCommand* cmd = new KivioChangeStencilHAlignmentCommand( - i18n("Change StencilQt::Horizontal Alignment"), view()->activePage(), stencil, + i18n("Change Stencil Horizontal Alignment"), view()->activePage(), stencil, stencil->hTextAlign(name), halignment, name); stencil->setHTextAlign(name, halignment); macroCmd->addCommand(cmd); @@ -415,7 +415,7 @@ void TextTool::applyToolAction(KivioStencil* stencil, const KoPoint& pos) if(stencil->vTextAlign(name) != valignment) { KivioChangeStencilVAlignmentCommand* cmd = new KivioChangeStencilVAlignmentCommand( - i18n("Change StencilQt::Vertical Alignment"), view()->activePage(), stencil, + i18n("Change Stencil Vertical Alignment"), view()->activePage(), stencil, stencil->vTextAlign(name), valignment, name); stencil->setVTextAlign(name, valignment); macroCmd->addCommand(cmd); |