diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:22:45 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 21:37:44 +0900 |
| commit | fd73938a15f943080d24d458f53e01ccc17dbfd1 (patch) | |
| tree | 8eba53899e616bad02bef56d8bf223cd1f0617cd /src/urlnavigatorbutton.cpp | |
| parent | 115885964962963b6a6a477c8156e8e3a094d2be (diff) | |
| download | dolphin-fd73938a.tar.gz dolphin-fd73938a.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fda1c3c5d01e1b9093f6d17574face12274c6e3f)
Diffstat (limited to 'src/urlnavigatorbutton.cpp')
| -rw-r--r-- | src/urlnavigatorbutton.cpp | 4 |
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(); |
