Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/23/head
Michele Calgaro 1 year ago
parent 128fc6c0f1
commit 8e316244ab
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -38,7 +38,7 @@ BookmarkSelector::BookmarkSelector(URLNavigator* parent) :
URLButton(parent), URLButton(parent),
m_selectedIndex(0) m_selectedIndex(0)
{ {
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQWidget::NoFocus);
m_bookmarksMenu = new TQPopupMenu(this); m_bookmarksMenu = new TQPopupMenu(this);

@ -58,7 +58,7 @@ DolphinView::DolphinView(TQWidget *parent,
m_fileCount(0), m_fileCount(0),
m_filterBar(0) m_filterBar(0)
{ {
setFocusPolicy(TQ_StrongFocus); setFocusPolicy(TQWidget::StrongFocus);
m_topLayout = new TQVBoxLayout(this); m_topLayout = new TQVBoxLayout(this);
Dolphin& dolphin = Dolphin::mainWin(); Dolphin& dolphin = Dolphin::mainWin();

@ -536,7 +536,7 @@ ServiceButton::ServiceButton(const TQIconSet& icon,
m_index(index) m_index(index)
{ {
setEraseColor(colorGroup().background()); setEraseColor(colorGroup().background());
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQWidget::NoFocus);
connect(this, TQT_SIGNAL(released()), connect(this, TQT_SIGNAL(released()),
this, TQT_SLOT(slotReleased())); this, TQT_SLOT(slotReleased()));
} }

@ -37,7 +37,7 @@ URLButton::URLButton(URLNavigator* parent)
m_displayHint(0), m_displayHint(0),
m_urlNavigator(parent) m_urlNavigator(parent)
{ {
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQWidget::NoFocus);
setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed); setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed);
setMinimumHeight(parent->minimumHeight()); setMinimumHeight(parent->minimumHeight());

@ -83,7 +83,7 @@ URLNavigator::URLNavigator(const KURL& url,
m_toggleButton = new TQPushButton(SmallIcon("editurl"), 0, this); m_toggleButton = new TQPushButton(SmallIcon("editurl"), 0, this);
m_toggleButton->setFlat(true); m_toggleButton->setFlat(true);
m_toggleButton->setToggleButton(true); m_toggleButton->setToggleButton(true);
m_toggleButton->setFocusPolicy(TQ_NoFocus); m_toggleButton->setFocusPolicy(TQWidget::NoFocus);
m_toggleButton->setMinimumHeight(minimumHeight()); m_toggleButton->setMinimumHeight(minimumHeight());
connect(m_toggleButton, TQT_SIGNAL(clicked()), connect(m_toggleButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotClicked())); this, TQT_SLOT(slotClicked()));

Loading…
Cancel
Save