From 8c5aec192068779f6b7167c03ea66e441113f76d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:49:17 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- src/kmplayercontrolpanel.cpp | 4 ++-- src/kmplayerview.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/kmplayercontrolpanel.cpp b/src/kmplayercontrolpanel.cpp index 09fda70..7223afd 100644 --- a/src/kmplayercontrolpanel.cpp +++ b/src/kmplayercontrolpanel.cpp @@ -257,7 +257,7 @@ static const char * blue_xpm[] = { static TQPushButton * ctrlButton (TQWidget * w, TQBoxLayout * l, const char ** p, int key = 0) { TQPushButton * b = new TQPushButton (TQIconSet (TQPixmap(p)), TQString (), w); - b->setFocusPolicy (TQ_NoFocus); + b->setFocusPolicy (TQWidget::NoFocus); b->setFlat (true); if (key) b->setAccel (TQKeySequence (key)); @@ -268,7 +268,7 @@ static TQPushButton * ctrlButton (TQWidget * w, TQBoxLayout * l, const char ** p KDE_NO_CDTOR_EXPORT KMPlayerMenuButton::KMPlayerMenuButton (TQWidget * parent, TQBoxLayout * l, const char ** p, int key) : TQPushButton (TQIconSet (TQPixmap(p)), TQString (), parent, "kde_kmplayer_control_button") { - setFocusPolicy (TQ_NoFocus); + setFocusPolicy (TQWidget::NoFocus); setFlat (true); if (key) setAccel (TQKeySequence (key)); diff --git a/src/kmplayerview.cpp b/src/kmplayerview.cpp index 46f4d8e..2d8b391 100644 --- a/src/kmplayerview.cpp +++ b/src/kmplayerview.cpp @@ -218,7 +218,7 @@ KDE_NO_EXPORT void View::init (TDEActionCollection * action_collection) { m_widgetstack->addWidget (m_multiedit); m_widgetstack->addWidget (m_widgettypes[WT_Picture]); - setFocusPolicy (TQ_ClickFocus); + setFocusPolicy (TQWidget::ClickFocus); setAcceptDrops (true); m_view_area->resizeEvent (0L); -- cgit v1.2.1