summaryrefslogtreecommitdiffstats
path: root/kget/droptarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/droptarget.cpp')
-rw-r--r--kget/droptarget.cpp8
1 files changed, 4 insertions, 4 deletions
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();
}