summaryrefslogtreecommitdiffstats
path: root/kget
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:57 +0900
commitb53c83209a6b927b27600899a780db1efc985ecb (patch)
tree5669b200cf24a8e47338ab2054daf3a58264925f /kget
parent82b0c5074d73953b9d00fa7b8c17115bb4bc900e (diff)
downloadtdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.tar.gz
tdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kget')
-rw-r--r--kget/docking.cpp2
-rw-r--r--kget/droptarget.cpp8
2 files changed, 5 insertions, 5 deletions
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();
}