summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kgraph.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 17:21:45 +0900
commit5bdb51894d90ebc0d068ef5b3aec1cb2627433ed (patch)
tree3f540d2b927a7a79dba3093fe12eb119c2c2b79e /arts/gui/kde/kgraph.cpp
parentff5c6681db05d5ed1d4d86872990cc317b114eee (diff)
downloadtdemultimedia-5bdb5189.tar.gz
tdemultimedia-5bdb5189.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b3df4d055e72863ca51ec9c0428a490306989ff4)
Diffstat (limited to 'arts/gui/kde/kgraph.cpp')
-rw-r--r--arts/gui/kde/kgraph.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/arts/gui/kde/kgraph.cpp b/arts/gui/kde/kgraph.cpp
index 2040793e..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;