summaryrefslogtreecommitdiffstats
path: root/cervisia/logtree.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 18:04:37 +0900
commit5d52b8ff2df2d127a119ffd217a0db49c4d78567 (patch)
treecc21f36537bfb38f376cf97cb77688ea19882047 /cervisia/logtree.cpp
parent779722e260dd4d10bec7328ddc0a4e3e42a08e7d (diff)
downloadtdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.tar.gz
tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1a7a57976491e8df569198d8e903bf9e57e233f0)
Diffstat (limited to 'cervisia/logtree.cpp')
-rw-r--r--cervisia/logtree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/logtree.cpp b/cervisia/logtree.cpp
index 864e31ee..06899a10 100644
--- a/cervisia/logtree.cpp
+++ b/cervisia/logtree.cpp
@@ -433,8 +433,8 @@ void LogTreeView::paintRevisionCell(TQPainter *p,
void LogTreeView::contentsMousePressEvent(TQMouseEvent *e)
{
- if ( e->button() == Qt::MidButton ||
- e->button() == Qt::LeftButton)
+ if ( e->button() == TQt::MidButton ||
+ e->button() == TQt::LeftButton)
{
int row = rowAt( e->pos().y() );
int col = columnAt( e->pos().x() );
@@ -446,8 +446,8 @@ void LogTreeView::contentsMousePressEvent(TQMouseEvent *e)
{
// Change selection for revision B if the middle mouse button or
// the left mouse button with the control key was pressed
- bool changeRevB = (e->button() == Qt::MidButton) ||
- (e->button() == Qt::LeftButton &&
+ bool changeRevB = (e->button() == TQt::MidButton) ||
+ (e->button() == TQt::LeftButton &&
e->state() & ControlButton);
emit revisionClicked(it.current()->m_logInfo.m_revision, changeRevB);