summaryrefslogtreecommitdiffstats
path: root/k9Mplayer/k9mplayer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:52 -0600
commit1e42ec29323d1016df59b8b571d16fefe3d4e6f1 (patch)
tree3cdfd52c475c581a2e1fe682e0954305a21acea2 /k9Mplayer/k9mplayer.cpp
parent445633c8ffa0b5219c036b130230fdc6d97e9894 (diff)
downloadk9copy-1e42ec29323d1016df59b8b571d16fefe3d4e6f1.tar.gz
k9copy-1e42ec29323d1016df59b8b571d16fefe3d4e6f1.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'k9Mplayer/k9mplayer.cpp')
-rw-r--r--k9Mplayer/k9mplayer.cpp14
1 files changed, 7 insertions, 7 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));
}