diff options
Diffstat (limited to 'kget')
-rw-r--r-- | kget/docking.cpp | 2 | ||||
-rw-r--r-- | kget/droptarget.cpp | 8 |
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(); } |