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 17:21:24 +0900
commit7367a616169a4ec8b35b5a993852c336aaeec25b (patch)
tree2fd2b837621af51718278a66c8d5151fec1d77e8 /kget
parenta14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff)
downloadtdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.tar.gz
tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
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();
}