summaryrefslogtreecommitdiffstats
path: root/kivio/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins')
-rw-r--r--kivio/plugins/kiviotexttool/stenciltexteditor.cpp2
-rw-r--r--kivio/plugins/kiviotexttool/tool_text.cpp10
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);