summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kivioconnectortool/tool_connector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins/kivioconnectortool/tool_connector.cpp')
-rw-r--r--kivio/plugins/kivioconnectortool/tool_connector.cpp4
1 files changed, 2 insertions, 2 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);