summaryrefslogtreecommitdiffstats
path: root/src/urlnavigatorbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlnavigatorbutton.cpp')
-rw-r--r--src/urlnavigatorbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlnavigatorbutton.cpp b/src/urlnavigatorbutton.cpp
index 2066143..fbfa02e 100644
--- a/src/urlnavigatorbutton.cpp
+++ b/src/urlnavigatorbutton.cpp
@@ -368,14 +368,14 @@ bool URLNavigatorButton::isTextClipped() const
void URLNavigatorButton::mousePressEvent(TQMouseEvent * event)
{
- if (event->button() == Qt::LeftButton)
+ if (event->button() == TQt::LeftButton)
dragPos = event->pos();
URLButton::mousePressEvent(event);
}
void URLNavigatorButton::mouseMoveEvent(TQMouseEvent * event)
{
- if (event->state() & Qt::LeftButton) {
+ if (event->state() & TQt::LeftButton) {
int distance = (event->pos() - dragPos).manhattanLength();
if (distance > TQApplication::startDragDistance()*2)//don't start on small move (for submenu usability)
startDrag();