summaryrefslogtreecommitdiffstats
path: root/tdeui/kurllabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kurllabel.cpp')
-rw-r--r--tdeui/kurllabel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp
index 8034423b4..b91dc3c8e 100644
--- a/tdeui/kurllabel.cpp
+++ b/tdeui/kurllabel.cpp
@@ -87,7 +87,7 @@ KURLLabel::KURLLabel (const TQString& url, const TQString& text,
setFont (font());
setUseCursor (true);
setLinkColor (d->LinkColor);
- setFocusPolicy( TQ_StrongFocus ); //better accessibility
+ setFocusPolicy( TQWidget::StrongFocus ); //better accessibility
setMouseTracking (true);
}
@@ -98,7 +98,7 @@ KURLLabel::KURLLabel (TQWidget* parent, const char* name)
setFont (font());
setUseCursor (true);
setLinkColor (d->LinkColor);
- setFocusPolicy( TQ_StrongFocus ); //better accessibility
+ setFocusPolicy( TQWidget::StrongFocus ); //better accessibility
setMouseTracking (true);
}
@@ -428,11 +428,11 @@ void KURLLabel::setMargin( int margin )
d->MarginAltered = true;
}
-void KURLLabel::setFocusPolicy( TQ_FocusPolicy policy )
+void KURLLabel::setFocusPolicy( TQWidget::FocusPolicy policy )
{
TQLabel::setFocusPolicy(policy);
if (!d->MarginAltered) {
- TQLabel::setMargin(policy == TQ_NoFocus ? 0 : 3); //better default : better look when focused
+ TQLabel::setMargin(policy == TQWidget::NoFocus ? 0 : 3); //better default : better look when focused
}
}