summaryrefslogtreecommitdiffstats
path: root/tdeui/kurllabel.cpp
diff options
context:
space:
mode:
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 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 ();