summaryrefslogtreecommitdiffstats
path: root/src/urlnavigatorbutton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:22:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:22:45 +0900
commitfda1c3c5d01e1b9093f6d17574face12274c6e3f (patch)
treeed8678b4ec9030323fc9f0066a36cd5f4a9573dc /src/urlnavigatorbutton.cpp
parent8e316244abe01c719e630ab4c8120e38aa81cef9 (diff)
downloaddolphin-fda1c3c5d01e1b9093f6d17574face12274c6e3f.tar.gz
dolphin-fda1c3c5d01e1b9093f6d17574face12274c6e3f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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();