summaryrefslogtreecommitdiffstats
path: root/tdeui/kurllabel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 20:33:00 +0900
committerMichele Calgaro <[email protected]>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeui/kurllabel.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kurllabel.cpp')
-rw-r--r--tdeui/kurllabel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp
index b91dc3c8e..dd5366cd1 100644
--- a/tdeui/kurllabel.cpp
+++ b/tdeui/kurllabel.cpp
@@ -37,7 +37,7 @@ public:
Private (const TQString& url, KURLLabel* label)
: URL (url),
LinkColor (TDEGlobalSettings::linkColor()),
- HighlightedLinkColor (Qt::red),
+ HighlightedLinkColor (TQt::red),
Tip(url),
Cursor (0L),
Underline (true),
@@ -122,17 +122,17 @@ void KURLLabel::mouseReleaseEvent (TQMouseEvent* e)
switch (e->button())
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
emit leftClickedURL ();
emit leftClickedURL (d->URL);
break;
- case Qt::MidButton:
+ case TQt::MidButton:
emit middleClickedURL ();
emit middleClickedURL (d->URL);
break;
- case Qt::RightButton:
+ case TQt::RightButton:
emit rightClickedURL ();
emit rightClickedURL (d->URL);
break;
@@ -373,7 +373,7 @@ bool KURLLabel::event (TQEvent *e)
}
else if (e->type() == TQEvent::KeyPress) {
TQKeyEvent* ke = TQT_TQKEYEVENT(e);
- if (ke->key() == Qt::Key_Enter || ke->key() == Qt::Key_Return) {
+ if (ke->key() == TQt::Key_Enter || ke->key() == TQt::Key_Return) {
setLinkColor (d->HighlightedLinkColor);
d->Timer->start (300);
emit leftClickedURL ();