diff options
Diffstat (limited to 'kvoctrain')
-rw-r--r-- | kvoctrain/kvoctrain/kvoctraintable.cpp | 4 |
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); } |