summaryrefslogtreecommitdiffstats
path: root/k9Mplayer
diff options
context:
space:
mode:
Diffstat (limited to 'k9Mplayer')
-rw-r--r--k9Mplayer/k9mplayer.cpp14
-rw-r--r--k9Mplayer/mplayer.ui2
2 files changed, 8 insertions, 8 deletions
diff --git a/k9Mplayer/k9mplayer.cpp b/k9Mplayer/k9mplayer.cpp
index b9f0dc2..ef665f8 100644
--- a/k9Mplayer/k9mplayer.cpp
+++ b/k9Mplayer/k9mplayer.cpp
@@ -92,9 +92,9 @@ void K9Mplayer::setTitle( const TQString & _numTitle,const TQString &_numChapter
if (_numChapter !="")
*m_process << "-chapter" << _numChapter;
- *m_process << TQString("dvd://%1").tqarg(_numTitle);
+ *m_process << TQString("dvd://%1").arg(_numTitle);
if (!m_process->start( KProcess::NotifyOnExit,KProcess::All)) {
- KMessageBox::error (tqApp->mainWidget(),i18n("Unable to run %1").tqarg("mplayer") , i18n("Preview"));
+ KMessageBox::error (tqApp->mainWidget(),i18n("Unable to run %1").arg("mplayer") , i18n("Preview"));
}
m_canwrite=TRUE;
@@ -134,7 +134,7 @@ void K9Mplayer::slotNewPosition(int _pos,const TQTime & _time) {
}
void K9Mplayer::sliderReleased() {
- sendCmd( TQString("seek %1 1").tqarg((int)slider->value()));
+ sendCmd( TQString("seek %1 1").arg((int)slider->value()));
m_seeking=FALSE;
}
@@ -175,12 +175,12 @@ void K9Mplayer::open( k9DVD *_dvd,k9DVDTitle *_title,int chapter) {
cbAudio->clear();
for (int i=0; i< _title->getaudioStreamCount();i++) {
k9DVDAudioStream *aud=_title->getaudioStream(i);
- cbAudio->insertItem(NULL,TQString("%1-%2").tqarg(aud->getID()).tqarg(aud->getlanguage()),-1);
+ cbAudio->insertItem(NULL,TQString("%1-%2").arg(aud->getID()).arg(aud->getlanguage()),-1);
}
for (int i=0; i< _title->getsubPictureCount();i++) {
k9DVDSubtitle *sub=_title->getsubtitle(i);
- cbSub->insertItem(NULL,TQString("%1-%2").tqarg(sub->getID().first()).tqarg(sub->getlanguage()),-1);
+ cbSub->insertItem(NULL,TQString("%1-%2").arg(sub->getID().first()).arg(sub->getlanguage()),-1);
}
if(_title->getaspectRatio()=="16:9")
@@ -207,12 +207,12 @@ void K9Mplayer::titleChanged() {}
void K9Mplayer::cbAudioActivated( int _value) {
if (m_dvdTitle) {
int value=m_dvdTitle->getaudioStream( _value)->getStreamId();
- sendCmd(TQString( "switch_audio %1").tqarg(value));
+ sendCmd(TQString( "switch_audio %1").arg(value));
}
}
void K9Mplayer::cbSubActivated( int _value) {
- sendCmd(TQString("sub_select %1").tqarg(_value));
+ sendCmd(TQString("sub_select %1").arg(_value));
}
diff --git a/k9Mplayer/mplayer.ui b/k9Mplayer/mplayer.ui
index f38b485..f77cd52 100644
--- a/k9Mplayer/mplayer.ui
+++ b/k9Mplayer/mplayer.ui
@@ -314,7 +314,7 @@
<property name="text">
<string></string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>