summaryrefslogtreecommitdiffstats
path: root/kvoctrain
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:38:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:17:57 +0900
commitc8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6 (patch)
tree546585ccc13868dc2e89ed4728a4911123bd3849 /kvoctrain
parent402e94ba9dc2f1ac6e929b18919e9c31c228b47e (diff)
downloadtdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.tar.gz
tdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kvoctrain')
-rw-r--r--kvoctrain/kvoctrain/kvoctraintable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvoctrain/kvoctrain/kvoctraintable.cpp b/kvoctrain/kvoctrain/kvoctraintable.cpp
index e9447654..e524e033 100644
--- a/kvoctrain/kvoctrain/kvoctraintable.cpp
+++ b/kvoctrain/kvoctrain/kvoctraintable.cpp
@@ -263,7 +263,7 @@ void KVocTrainTable::menuTriggerTimeout()
if (mt != KV_COL_MARK)
emit rightButtonClicked(mt, mpos.x(), mpos.y());
- TQMouseEvent me(TQEvent::MouseButtonRelease, TQPoint(0, 0), Qt::LeftButton, Qt::LeftButton);
+ TQMouseEvent me(TQEvent::MouseButtonRelease, TQPoint(0, 0), TQt::LeftButton, TQt::LeftButton);
TQApplication::sendEvent(header, &me);
}
@@ -538,7 +538,7 @@ void KVocTrainTable::contentsMousePressEvent(TQMouseEvent * e)
for (int i = topCell; i <= lastRowVisible; i++)
updateCell(i, KV_COL_ORG);
}
- if(e->button() == Qt::LeftButton)
+ if(e->button() == TQt::LeftButton)
setCurrentCell(cr, cc);
}