diff options
Diffstat (limited to 'kivio/plugins/kiviotexttool/stenciltexteditor.cpp')
-rw-r--r-- | kivio/plugins/kiviotexttool/stenciltexteditor.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp index 575f5df5..9242180f 100644 --- a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp +++ b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp @@ -53,8 +53,8 @@ StencilTextEditor::StencilTextEditor(const TQString& caption, TQWidget *parent, menu->insertItem(SmallIconSet("text_center", 16), i18n("Align Center"), TQt::AlignHCenter); menu->insertItem(SmallIconSet("format-text-direction-rtl", 16), i18n("Align Right"), TQt::AlignRight); m_mainWidget->m_hAlignButton->setPopup(menu); - connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setHorizontalAlign(int))); - connect(m_mainWidget->m_hAlignButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(showHAlignPopup())); + connect(menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setHorizontalAlign(int))); + connect(m_mainWidget->m_hAlignButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(showHAlignPopup())); menu = new TQPopupMenu(m_mainWidget->m_vAlignButton, "hAlignMenu"); menu->setCheckable(true); @@ -62,15 +62,15 @@ StencilTextEditor::StencilTextEditor(const TQString& caption, TQWidget *parent, 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))); - connect(m_mainWidget->m_vAlignButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(showVAlignPopup())); - - connect(m_mainWidget->m_fontCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(updateFormating())); - connect(m_mainWidget->m_fontSizeCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(updateFormating())); - connect(m_mainWidget->m_boldButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateFormating())); - connect(m_mainWidget->m_italicsButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateFormating())); - connect(m_mainWidget->m_underLineButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateFormating())); - connect(m_mainWidget->m_textColorButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateFormating())); + connect(menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setVerticalAlign(int))); + connect(m_mainWidget->m_vAlignButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(showVAlignPopup())); + + connect(m_mainWidget->m_fontCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateFormating())); + connect(m_mainWidget->m_fontSizeCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateFormating())); + connect(m_mainWidget->m_boldButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateFormating())); + connect(m_mainWidget->m_italicsButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateFormating())); + connect(m_mainWidget->m_underLineButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateFormating())); + connect(m_mainWidget->m_textColorButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateFormating())); m_mainWidget->m_textArea->setFocus(); } |