summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:49:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:43:08 +0900
commitd877838083879101a5c34d4c329f744827a04401 (patch)
treefbda00a1ce13e421b19dbadf2dba21dd892703f6
parent8af1bf87fd9fa535a5d33e54722f273bde22c0a8 (diff)
downloadkaffeine-d877838083879101a5c34d4c329f744827a04401.tar.gz
kaffeine-d877838083879101a5c34d4c329f744827a04401.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aa905ebf02f4f84b35ce4a79ceb362e75a0ea627)
-rw-r--r--kaffeine/src/input/audiobrowser/playlist.cpp6
-rw-r--r--kaffeine/src/input/dvb/dvbpanel.cpp2
-rw-r--r--kaffeine/src/player-parts/dummy-part/dummy_part.cpp2
-rw-r--r--kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp2
-rw-r--r--kaffeine/src/player-parts/xine-part/xine_part.cpp8
5 files changed, 10 insertions, 10 deletions
diff --git a/kaffeine/src/input/audiobrowser/playlist.cpp b/kaffeine/src/input/audiobrowser/playlist.cpp
index a74493f..1fb0c80 100644
--- a/kaffeine/src/input/audiobrowser/playlist.cpp
+++ b/kaffeine/src/input/audiobrowser/playlist.cpp
@@ -303,7 +303,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) :
browserComb->setCompletionObject( new KURLCompletion( KURLCompletion::DirCompletion ) );
browserComb->setAutoDeleteCompletionObject( true );
browserComb->setMaxItems( 10 );
- browserComb->setFocusPolicy(TQ_ClickFocus);
+ browserComb->setFocusPolicy(TQWidget::ClickFocus);
/* if (!m_medium)
@@ -395,7 +395,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) :
TQLabel* filterLabel = new TQLabel(i18n("Filter") + ":", playlist);
h1->addWidget(filterLabel);
m_playlistFilter = new KLineEdit(playlist);
- m_playlistFilter->setFocusPolicy(TQ_ClickFocus);
+ m_playlistFilter->setFocusPolicy(TQWidget::ClickFocus);
h1->addWidget(m_playlistFilter);
layout->addLayout( h1, 2, 1 );
@@ -407,7 +407,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) :
m_playlistSelector->setSizePolicy( TQSizePolicy (TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred) );
m_playlistSelector->setEditable(true);
m_playlistSelector->setDuplicatesEnabled(false);
- m_playlistSelector->setFocusPolicy(TQ_ClickFocus);
+ m_playlistSelector->setFocusPolicy(TQWidget::ClickFocus);
TQToolTip::add(m_playlistSelector, i18n("Select the active playlist. To change playlist name edit it and confirm with 'Return'."));
h2->addWidget(m_playlistSelector);
layout->addLayout( h2, 1, 1 );
diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp
index 0d552f3..7aee140 100644
--- a/kaffeine/src/input/dvb/dvbpanel.cpp
+++ b/kaffeine/src/input/dvb/dvbpanel.cpp
@@ -174,7 +174,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) :
TQToolTip::add( searchBtn, i18n("Search channel(s)"));
TQLabel* filterLabel = new TQLabel( i18n("Filter") + ":", panel );
searchLE = new KLineEdit( panel );
- searchLE->setFocusPolicy( TQ_ClickFocus );
+ searchLE->setFocusPolicy( TQWidget::ClickFocus );
h1->addWidget( searchBtn );
h1->addWidget( filterLabel );
h1->addWidget( searchLE );
diff --git a/kaffeine/src/player-parts/dummy-part/dummy_part.cpp b/kaffeine/src/player-parts/dummy-part/dummy_part.cpp
index 70a5ba3..cbac426 100644
--- a/kaffeine/src/player-parts/dummy-part/dummy_part.cpp
+++ b/kaffeine/src/player-parts/dummy-part/dummy_part.cpp
@@ -34,7 +34,7 @@ DummyPart::DummyPart(TQWidget* parentWidget, const char* widgetName, TQObject* p
setInstance(DummyPartFactory::instance());
// m_player = new Player(this);
- // m_player->setFocusPolicy(TQ_ClickFocus);
+ // m_player->setFocusPolicy(TQWidget::ClickFocus);
// setWidget(m_player);
setXMLFile("dummy_part.rc");
diff --git a/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp b/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp
index 5bad8e9..94e7669 100644
--- a/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp
+++ b/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp
@@ -79,7 +79,7 @@ GStreamerPart::GStreamerPart( TQWidget* parentWidget, const char* /*widgetName*/
kdDebug() << "GStreamerPart: Creating video window" << endl;
m_video = new VideoWindow( parentWidget, m_videosink );
connect( m_video, TQT_SIGNAL(signalNewFrameSize(const TQSize&)), this, TQT_SIGNAL(signalNewFrameSize(const TQSize&)) );
- m_video->setFocusPolicy( TQ_ClickFocus );
+ m_video->setFocusPolicy( TQWidget::ClickFocus );
setWidget( m_video );
setXMLFile( "gstreamer_part.rc" );
diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp
index 1ea19fc..52f9b7f 100644
--- a/kaffeine/src/player-parts/xine-part/xine_part.cpp
+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp
@@ -123,7 +123,7 @@ XinePart::XinePart(TQWidget* parentWidget, const char* widgetName, TQObject* par
connect(m_xine, TQT_SIGNAL(signalXineFatal(const TQString&)), this, TQT_SIGNAL(canceled(const TQString&)));
connect(m_xine, TQT_SIGNAL(stopDvb()), this, TQT_SIGNAL(stopDvb()));
connect(m_xine, TQT_SIGNAL(signalDvbOSDHidden()), this, TQT_SIGNAL(dvbOSDHide()));
- m_xine->setFocusPolicy(TQ_ClickFocus);
+ m_xine->setFocusPolicy(TQWidget::ClickFocus);
setWidget(m_xine);
// set our XML-UI resource file
@@ -1417,7 +1417,7 @@ void XinePart::initActions()
(m_volume, i18n("Volume"));
m_volume->setRange(0, 100);
m_volume->setSteps(1, 10);
- m_volume->setFocusPolicy(TQ_NoFocus);
+ m_volume->setFocusPolicy(TQWidget::NoFocus);
m_volume->setFixedWidth(75);
connect(m_volume, TQT_SIGNAL(valueChanged(int)), TQT_TQOBJECT(this), TQT_SLOT(slotVolumeChanged(int)));
connect(m_xine, TQT_SIGNAL(signalSyncVolume()), TQT_TQOBJECT(this), TQT_SLOT(slotSyncVolume()));
@@ -1429,7 +1429,7 @@ void XinePart::initActions()
m_position->setRange(0, 65535);
m_position->setSteps(100, 1000);
m_position->setTracking(false);
- m_position->setFocusPolicy(TQ_NoFocus);
+ m_position->setFocusPolicy(TQWidget::NoFocus);
m_position->setMinimumWidth(180);
connect(m_position, TQT_SIGNAL(sliderMoved(int)), TQT_TQOBJECT(m_xine), TQT_SLOT(slotSeekToPosition(int)));
connect(m_position, TQT_SIGNAL(sliderLastMove(int)), TQT_TQOBJECT(m_xine), TQT_SLOT(slotSeekToPositionBlocking(int)));
@@ -1443,7 +1443,7 @@ void XinePart::initActions()
TQFontMetrics met(TDEGlobalSettings::generalFont());
m_playTime->setFixedWidth(met.width("-55:55:55") + 6);
m_playTime->setSizePolicy(TQSizePolicy (TQSizePolicy::Fixed, TQSizePolicy::Fixed));
- m_playTime->setFocusPolicy(TQ_NoFocus);
+ m_playTime->setFocusPolicy(TQWidget::NoFocus);
new KWidgetAction(m_playTime, i18n("Playtime"), 0, 0, 0, actionCollection(), "player_playtime");
connect(m_playTime, TQT_SIGNAL(pressed()), TQT_TQOBJECT(this), TQT_SLOT(slotButtonTimerPressed()));
connect(m_playTime, TQT_SIGNAL(released()), TQT_TQOBJECT(this), TQT_SLOT(slotButtonTimerReleased()));