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 11:13:41 +0900
commit1a7a57976491e8df569198d8e903bf9e57e233f0 (patch)
treea45ca34d705aeeacfcb9fb2abf9c254d4ebf8269 /cervisia/logtree.cpp
parentff5a38ceb1f92082da2f5f65913bf590c20ccbc3 (diff)
downloadtdesdk-1a7a57976491e8df569198d8e903bf9e57e233f0.tar.gz
tdesdk-1a7a57976491e8df569198d8e903bf9e57e233f0.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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);