Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa905ebf02)
r14.1.x
Michele Calgaro 1 year ago
parent 8af1bf87fd
commit d877838083
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -303,7 +303,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) :
browserComb->setCompletionObject( new KURLCompletion( KURLCompletion::DirCompletion ) ); browserComb->setCompletionObject( new KURLCompletion( KURLCompletion::DirCompletion ) );
browserComb->setAutoDeleteCompletionObject( true ); browserComb->setAutoDeleteCompletionObject( true );
browserComb->setMaxItems( 10 ); browserComb->setMaxItems( 10 );
browserComb->setFocusPolicy(TQ_ClickFocus); browserComb->setFocusPolicy(TQWidget::ClickFocus);
/* if (!m_medium) /* if (!m_medium)
@ -395,7 +395,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) :
TQLabel* filterLabel = new TQLabel(i18n("Filter") + ":", playlist); TQLabel* filterLabel = new TQLabel(i18n("Filter") + ":", playlist);
h1->addWidget(filterLabel); h1->addWidget(filterLabel);
m_playlistFilter = new KLineEdit(playlist); m_playlistFilter = new KLineEdit(playlist);
m_playlistFilter->setFocusPolicy(TQ_ClickFocus); m_playlistFilter->setFocusPolicy(TQWidget::ClickFocus);
h1->addWidget(m_playlistFilter); h1->addWidget(m_playlistFilter);
layout->addLayout( h1, 2, 1 ); 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->setSizePolicy( TQSizePolicy (TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred) );
m_playlistSelector->setEditable(true); m_playlistSelector->setEditable(true);
m_playlistSelector->setDuplicatesEnabled(false); 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'.")); TQToolTip::add(m_playlistSelector, i18n("Select the active playlist. To change playlist name edit it and confirm with 'Return'."));
h2->addWidget(m_playlistSelector); h2->addWidget(m_playlistSelector);
layout->addLayout( h2, 1, 1 ); layout->addLayout( h2, 1, 1 );

@ -174,7 +174,7 @@ DvbPanel::DvbPanel( TQWidget *parent, TQObject *objParent, const char *name ) :
TQToolTip::add( searchBtn, i18n("Search channel(s)")); TQToolTip::add( searchBtn, i18n("Search channel(s)"));
TQLabel* filterLabel = new TQLabel( i18n("Filter") + ":", panel ); TQLabel* filterLabel = new TQLabel( i18n("Filter") + ":", panel );
searchLE = new KLineEdit( panel ); searchLE = new KLineEdit( panel );
searchLE->setFocusPolicy( TQ_ClickFocus ); searchLE->setFocusPolicy( TQWidget::ClickFocus );
h1->addWidget( searchBtn ); h1->addWidget( searchBtn );
h1->addWidget( filterLabel ); h1->addWidget( filterLabel );
h1->addWidget( searchLE ); h1->addWidget( searchLE );

@ -34,7 +34,7 @@ DummyPart::DummyPart(TQWidget* parentWidget, const char* widgetName, TQObject* p
setInstance(DummyPartFactory::instance()); setInstance(DummyPartFactory::instance());
// m_player = new Player(this); // m_player = new Player(this);
// m_player->setFocusPolicy(TQ_ClickFocus); // m_player->setFocusPolicy(TQWidget::ClickFocus);
// setWidget(m_player); // setWidget(m_player);
setXMLFile("dummy_part.rc"); setXMLFile("dummy_part.rc");

@ -79,7 +79,7 @@ GStreamerPart::GStreamerPart( TQWidget* parentWidget, const char* /*widgetName*/
kdDebug() << "GStreamerPart: Creating video window" << endl; kdDebug() << "GStreamerPart: Creating video window" << endl;
m_video = new VideoWindow( parentWidget, m_videosink ); m_video = new VideoWindow( parentWidget, m_videosink );
connect( m_video, TQT_SIGNAL(signalNewFrameSize(const TQSize&)), this, TQT_SIGNAL(signalNewFrameSize(const TQSize&)) ); 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 ); setWidget( m_video );
setXMLFile( "gstreamer_part.rc" ); setXMLFile( "gstreamer_part.rc" );

@ -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(signalXineFatal(const TQString&)), this, TQT_SIGNAL(canceled(const TQString&)));
connect(m_xine, TQT_SIGNAL(stopDvb()), this, TQT_SIGNAL(stopDvb())); connect(m_xine, TQT_SIGNAL(stopDvb()), this, TQT_SIGNAL(stopDvb()));
connect(m_xine, TQT_SIGNAL(signalDvbOSDHidden()), this, TQT_SIGNAL(dvbOSDHide())); connect(m_xine, TQT_SIGNAL(signalDvbOSDHidden()), this, TQT_SIGNAL(dvbOSDHide()));
m_xine->setFocusPolicy(TQ_ClickFocus); m_xine->setFocusPolicy(TQWidget::ClickFocus);
setWidget(m_xine); setWidget(m_xine);
// set our XML-UI resource file // set our XML-UI resource file
@ -1417,7 +1417,7 @@ void XinePart::initActions()
(m_volume, i18n("Volume")); (m_volume, i18n("Volume"));
m_volume->setRange(0, 100); m_volume->setRange(0, 100);
m_volume->setSteps(1, 10); m_volume->setSteps(1, 10);
m_volume->setFocusPolicy(TQ_NoFocus); m_volume->setFocusPolicy(TQWidget::NoFocus);
m_volume->setFixedWidth(75); m_volume->setFixedWidth(75);
connect(m_volume, TQT_SIGNAL(valueChanged(int)), TQT_TQOBJECT(this), TQT_SLOT(slotVolumeChanged(int))); 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())); 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->setRange(0, 65535);
m_position->setSteps(100, 1000); m_position->setSteps(100, 1000);
m_position->setTracking(false); m_position->setTracking(false);
m_position->setFocusPolicy(TQ_NoFocus); m_position->setFocusPolicy(TQWidget::NoFocus);
m_position->setMinimumWidth(180); m_position->setMinimumWidth(180);
connect(m_position, TQT_SIGNAL(sliderMoved(int)), TQT_TQOBJECT(m_xine), TQT_SLOT(slotSeekToPosition(int))); 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))); 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()); TQFontMetrics met(TDEGlobalSettings::generalFont());
m_playTime->setFixedWidth(met.width("-55:55:55") + 6); m_playTime->setFixedWidth(met.width("-55:55:55") + 6);
m_playTime->setSizePolicy(TQSizePolicy (TQSizePolicy::Fixed, TQSizePolicy::Fixed)); 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"); 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(pressed()), TQT_TQOBJECT(this), TQT_SLOT(slotButtonTimerPressed()));
connect(m_playTime, TQT_SIGNAL(released()), TQT_TQOBJECT(this), TQT_SLOT(slotButtonTimerReleased())); connect(m_playTime, TQT_SIGNAL(released()), TQT_TQOBJECT(this), TQT_SLOT(slotButtonTimerReleased()));

Loading…
Cancel
Save