diff options
Diffstat (limited to 'kivio/plugins')
-rw-r--r-- | kivio/plugins/kivioconnectortool/tool_connector.cpp | 4 | ||||
-rw-r--r-- | kivio/plugins/kivioselecttool/tool_select.cpp | 6 | ||||
-rw-r--r-- | kivio/plugins/kiviotexttool/tool_text.cpp | 2 | ||||
-rw-r--r-- | kivio/plugins/kiviozoomtool/tool_zoom.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/kivio/plugins/kivioconnectortool/tool_connector.cpp b/kivio/plugins/kivioconnectortool/tool_connector.cpp index f8b5d015..5e45cc36 100644 --- a/kivio/plugins/kivioconnectortool/tool_connector.cpp +++ b/kivio/plugins/kivioconnectortool/tool_connector.cpp @@ -171,7 +171,7 @@ void ConnectorTool::connector(TQRect) void ConnectorTool::mousePress( TQMouseEvent *e ) { - if(e->button() == Qt::LeftButton) { + if(e->button() == TQt::LeftButton) { bool ok = true; if(!m_pStencil || (m_type == StraightConnector)) { ok = startRubberBanding(e); @@ -200,7 +200,7 @@ void ConnectorTool::mousePress( TQMouseEvent *e ) } else { m_mode = stmNone; } - } else if(e->button() == Qt::RightButton) { + } else if(e->button() == TQt::RightButton) { if(m_type == PolyLineConnector) { if(m_mode == stmDrawRubber) { endRubberBanding(e); diff --git a/kivio/plugins/kivioselecttool/tool_select.cpp b/kivio/plugins/kivioselecttool/tool_select.cpp index 34e53196..86a05245 100644 --- a/kivio/plugins/kivioselecttool/tool_select.cpp +++ b/kivio/plugins/kivioselecttool/tool_select.cpp @@ -94,7 +94,7 @@ bool SelectTool::processEvent(TQEvent* e) case TQEvent::MouseButtonDblClick: m = (TQMouseEvent *)e; - if( m->button() == Qt::LeftButton ) { + if( m->button() == TQt::LeftButton ) { leftDoubleClick(m->pos()); } @@ -105,9 +105,9 @@ bool SelectTool::processEvent(TQEvent* e) case TQEvent::MouseButtonPress: m = (TQMouseEvent *)e; - if( m->button() == Qt::RightButton ) { + if( m->button() == TQt::RightButton ) { showPopupMenu(m->globalPos()); - } else if( m->button() == Qt::LeftButton ) { + } else if( m->button() == TQt::LeftButton ) { if(m->state() & ControlButton) { m_controlKey = true; } else { diff --git a/kivio/plugins/kiviotexttool/tool_text.cpp b/kivio/plugins/kiviotexttool/tool_text.cpp index e8ebc0fa..8803b19d 100644 --- a/kivio/plugins/kiviotexttool/tool_text.cpp +++ b/kivio/plugins/kiviotexttool/tool_text.cpp @@ -164,7 +164,7 @@ void TextTool::text(TQRect r) void TextTool::mousePress( TQMouseEvent *e ) { - if(e->button() == Qt::LeftButton) { + if(e->button() == TQt::LeftButton) { KoPoint pagePoint = view()->canvasWidget()->mapFromScreen(e->pos()); int colType; KivioPage *page = view()->activePage(); diff --git a/kivio/plugins/kiviozoomtool/tool_zoom.cpp b/kivio/plugins/kiviozoomtool/tool_zoom.cpp index e20b57e8..d2a10db8 100644 --- a/kivio/plugins/kiviozoomtool/tool_zoom.cpp +++ b/kivio/plugins/kiviozoomtool/tool_zoom.cpp @@ -127,7 +127,7 @@ bool ZoomTool::processEvent(TQEvent* e) { TQMouseEvent* me = TQT_TQMOUSEEVENT(e); - if(me->button() == Qt::LeftButton) { + if(me->button() == TQt::LeftButton) { if(m_pCurrent == m_pMinus) { m_pCurrent->activate(); } else { |