From 115885964962963b6a6a477c8156e8e3a094d2be Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:50:40 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit 8e316244abe01c719e630ab4c8120e38aa81cef9) --- src/bookmarkselector.cpp | 2 +- src/dolphinview.cpp | 2 +- src/infosidebarpage.cpp | 2 +- src/urlbutton.cpp | 2 +- src/urlnavigator.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bookmarkselector.cpp b/src/bookmarkselector.cpp index 8ea1505..632cee4 100644 --- a/src/bookmarkselector.cpp +++ b/src/bookmarkselector.cpp @@ -38,7 +38,7 @@ BookmarkSelector::BookmarkSelector(URLNavigator* parent) : URLButton(parent), m_selectedIndex(0) { - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); m_bookmarksMenu = new TQPopupMenu(this); diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 577e546..de76b40 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -58,7 +58,7 @@ DolphinView::DolphinView(TQWidget *parent, m_fileCount(0), m_filterBar(0) { - setFocusPolicy(TQ_StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); m_topLayout = new TQVBoxLayout(this); Dolphin& dolphin = Dolphin::mainWin(); diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 2bc7417..5bfefbf 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -536,7 +536,7 @@ ServiceButton::ServiceButton(const TQIconSet& icon, m_index(index) { setEraseColor(colorGroup().background()); - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); connect(this, TQT_SIGNAL(released()), this, TQT_SLOT(slotReleased())); } diff --git a/src/urlbutton.cpp b/src/urlbutton.cpp index 463420b..6031048 100644 --- a/src/urlbutton.cpp +++ b/src/urlbutton.cpp @@ -37,7 +37,7 @@ URLButton::URLButton(URLNavigator* parent) m_displayHint(0), m_urlNavigator(parent) { - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed); setMinimumHeight(parent->minimumHeight()); diff --git a/src/urlnavigator.cpp b/src/urlnavigator.cpp index 725c062..225ab70 100644 --- a/src/urlnavigator.cpp +++ b/src/urlnavigator.cpp @@ -83,7 +83,7 @@ URLNavigator::URLNavigator(const KURL& url, m_toggleButton = new TQPushButton(SmallIcon("editurl"), 0, this); m_toggleButton->setFlat(true); m_toggleButton->setToggleButton(true); - m_toggleButton->setFocusPolicy(TQ_NoFocus); + m_toggleButton->setFocusPolicy(TQWidget::NoFocus); m_toggleButton->setMinimumHeight(minimumHeight()); connect(m_toggleButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClicked())); -- cgit v1.2.1