summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:49:17 +0900
committerMichele Calgaro <[email protected]>2023-09-03 22:43:27 +0900
commit9f4c63556afff2d3cd5af82126661042fd6057bc (patch)
tree5863d22acf88f75ee7745f27530267781f33059e
parentfc47913516705b353064b9c5e0175cbdbf80c2b9 (diff)
downloadkmplayer-9f4c63556afff2d3cd5af82126661042fd6057bc.tar.gz
kmplayer-9f4c63556afff2d3cd5af82126661042fd6057bc.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8c5aec192068779f6b7167c03ea66e441113f76d)
-rw-r--r--src/kmplayercontrolpanel.cpp4
-rw-r--r--src/kmplayerview.cpp2
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);