From 303b6445011a6ed10c48ac6e1eda415e5c371264 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 20:33:00 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3) --- tdeui/kurllabel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdeui/kurllabel.cpp') diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp index 5a8188200..754871c17 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 (); -- cgit v1.2.1