diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:49:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-02 15:49:17 +0900 |
commit | 8c5aec192068779f6b7167c03ea66e441113f76d (patch) | |
tree | 29f847f1003b39d94a512182001df1e7cb38fed6 /src | |
parent | 122a27a0a8b36d6c08bbd32bd47f44d182a5c205 (diff) | |
download | kmplayer-8c5aec192068779f6b7167c03ea66e441113f76d.tar.gz kmplayer-8c5aec192068779f6b7167c03ea66e441113f76d.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/kmplayercontrolpanel.cpp | 4 | ||||
-rw-r--r-- | src/kmplayerview.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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); |