From b53c83209a6b927b27600899a780db1efc985ecb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Nov 2023 10:36:57 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kget/docking.cpp | 2 +- kget/droptarget.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kget') diff --git a/kget/docking.cpp b/kget/docking.cpp index fa1adb97..54c0d96a 100644 --- a/kget/docking.cpp +++ b/kget/docking.cpp @@ -90,7 +90,7 @@ void DockWidget::dropEvent(TQDropEvent * event) void DockWidget::mousePressEvent(TQMouseEvent * e) { - if (e->button() == Qt::MidButton) { + if (e->button() == TQt::MidButton) { parent->slotPasteTransfer(); } else { KSystemTray::mousePressEvent(e); diff --git a/kget/droptarget.cpp b/kget/droptarget.cpp index ed600f88..b415461c 100644 --- a/kget/droptarget.cpp +++ b/kget/droptarget.cpp @@ -118,7 +118,7 @@ DropTarget::~DropTarget() void DropTarget::mousePressEvent(TQMouseEvent * e) { - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) { // toggleMinimizeRestore (); // oldX = 0; @@ -127,14 +127,14 @@ DropTarget::mousePressEvent(TQMouseEvent * e) dx = TQCursor::pos().x() - pos().x(); dy = TQCursor::pos().y() - pos().y(); } - else if (e->button() == Qt::RightButton) + else if (e->button() == TQt::RightButton) { popupMenu->setItemEnabled(pop_Min, tdemain->isVisible()); popupMenu->setItemEnabled(pop_Max, tdemain->isHidden()); popupMenu->popup(TQCursor::pos()); } - else if (e->button() == Qt::MidButton) + else if (e->button() == TQt::MidButton) { tdemain->slotPasteTransfer(); } @@ -224,7 +224,7 @@ void DropTarget::mouseReleaseEvent(TQMouseEvent *) /** No descriptions */ void DropTarget::mouseDoubleClickEvent(TQMouseEvent * e) { - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) toggleMinimizeRestore(); } -- cgit v1.2.1