From aea627236e4de24599c3e30617cf264c3c1b7d40 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:02:43 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kivio/plugins/kivioselecttool/tool_select.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kivio/plugins/kivioselecttool/tool_select.cpp') diff --git a/kivio/plugins/kivioselecttool/tool_select.cpp b/kivio/plugins/kivioselecttool/tool_select.cpp index 6117cf61..5dd3153e 100644 --- a/kivio/plugins/kivioselecttool/tool_select.cpp +++ b/kivio/plugins/kivioselecttool/tool_select.cpp @@ -52,16 +52,16 @@ SelectTool::SelectTool( KivioView* parent ) : Kivio::MouseTool(parent, "Selectio { view()->pluginManager()->setDefaultTool(this); - KShortcut selectShortCut(Key_Space); + TDEShortcut selectShortCut(Key_Space); selectShortCut.setSeq(1, TQKeySequence(Key_Escape)); - m_selectAction = new KRadioAction(i18n("&Select"), "select", selectShortCut, actionCollection(), "select"); + m_selectAction = new TDERadioAction(i18n("&Select"), "select", selectShortCut, actionCollection(), "select"); connect(m_selectAction, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setActivated(bool))); - m_textEditAction = new KAction(i18n("&Edit Text..."), "text", Key_F2, + m_textEditAction = new TDEAction(i18n("&Edit Text..."), "text", Key_F2, this, TQT_SLOT(editStencilText()), actionCollection(), "editText"); - (void) new KAction(i18n("Format &Stencils && Connectors..."), 0, 0, TQT_TQOBJECT(view()), TQT_SLOT(stencilFormat()), + (void) new TDEAction(i18n("Format &Stencils && Connectors..."), 0, 0, TQT_TQOBJECT(view()), TQT_SLOT(stencilFormat()), actionCollection(), "formatStencil"); - m_arrowHeadAction = new KAction(i18n("Format &Arrowheads..."), 0, 0, TQT_TQOBJECT(view()), TQT_SLOT(arrowHeadFormat()), + m_arrowHeadAction = new TDEAction(i18n("Format &Arrowheads..."), 0, 0, TQT_TQOBJECT(view()), TQT_SLOT(arrowHeadFormat()), actionCollection(), "formatConnector"); m_mode = stmNone; @@ -1107,12 +1107,12 @@ void SelectTool::endResizing(const TQPoint&) */ void SelectTool::showPopupMenu( const TQPoint &pos ) { - KPopupMenu* menu = 0; + TDEPopupMenu* menu = 0; if(view()->activePage()->selectedStencils()->count() < 1) { - menu = static_cast(view()->factory()->container("PagePopup", view())); + menu = static_cast(view()->factory()->container("PagePopup", view())); } else { - menu = static_cast(view()->factory()->container("StencilPopup", view())); + menu = static_cast(view()->factory()->container("StencilPopup", view())); m_arrowHeadAction->setEnabled(view()->activePage()->checkForStencilTypeInSelection(kstConnector)); if(view()->activePage()->checkForTextBoxesInSelection()) { -- cgit v1.2.1