summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kivioselecttool/tool_select.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kivio/plugins/kivioselecttool/tool_select.cpp
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kivio/plugins/kivioselecttool/tool_select.cpp')
-rw-r--r--kivio/plugins/kivioselecttool/tool_select.cpp16
1 files changed, 8 insertions, 8 deletions
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<KPopupMenu*>(view()->factory()->container("PagePopup", view()));
+ menu = static_cast<TDEPopupMenu*>(view()->factory()->container("PagePopup", view()));
} else {
- menu = static_cast<KPopupMenu*>(view()->factory()->container("StencilPopup", view()));
+ menu = static_cast<TDEPopupMenu*>(view()->factory()->container("StencilPopup", view()));
m_arrowHeadAction->setEnabled(view()->activePage()->checkForStencilTypeInSelection(kstConnector));
if(view()->activePage()->checkForTextBoxesInSelection()) {