diff options
Diffstat (limited to 'arts/gui/kde/kgraph.cpp')
-rw-r--r-- | arts/gui/kde/kgraph.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arts/gui/kde/kgraph.cpp b/arts/gui/kde/kgraph.cpp index 1218e9a0..70f173ec 100644 --- a/arts/gui/kde/kgraph.cpp +++ b/arts/gui/kde/kgraph.cpp @@ -111,7 +111,7 @@ void KGraph::paintEvent( TQPaintEvent *e ) void KGraph::mousePressEvent(TQMouseEvent *e) { - if(e->button() == Qt::LeftButton || e->button() == Qt::RightButton) + if(e->button() == TQt::LeftButton || e->button() == TQt::RightButton) { std::list<KGraphLine_impl *>::iterator li; for(li = lines.begin(); li != lines.end(); li++) @@ -140,7 +140,7 @@ void KGraph::mousePressEvent(TQMouseEvent *e) if(selectedIndex >= 0) { // erase point - if(e->button() == Qt::RightButton) + if(e->button() == TQt::RightButton) { if(selectedIndex != 0 && selectedIndex != (( int )( selectedLine->_points.size() )-1)) { @@ -159,7 +159,7 @@ void KGraph::mousePressEvent(TQMouseEvent *e) selectedIndex = -1; } } - else if(e->button() == Qt::LeftButton) + else if(e->button() == TQt::LeftButton) { // try to insert a point std::list<KGraphLine_impl *>::iterator li; @@ -262,5 +262,3 @@ void KGraph::mouseReleaseEvent(TQMouseEvent *) selectedIndex = -1; selectedLine = 0; } - -// vim: sw=4 ts=4 |