diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:53:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-02 15:53:29 +0900 |
commit | 1e5d5c92c374c8c950f01fa5aa916b3f722f98c1 (patch) | |
tree | f8538d6a34bf4683fdb8e2ed33923406b1659c09 /tdeui/kurllabel.cpp | |
parent | 34632650f1a323bdb5a0bbb0f504e3db70d87330 (diff) | |
download | tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.tar.gz tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kurllabel.cpp')
-rw-r--r-- | tdeui/kurllabel.cpp | 8 |
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 } } |