diff options
Diffstat (limited to 'src/k9playbackoptions.cpp')
-rw-r--r-- | src/k9playbackoptions.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/k9playbackoptions.cpp b/src/k9playbackoptions.cpp index 3bf9715..846daba 100644 --- a/src/k9playbackoptions.cpp +++ b/src/k9playbackoptions.cpp @@ -16,8 +16,8 @@ #include <kpushbutton.h> #include <kiconloader.h> -k9PlaybackOptions::k9PlaybackOptions(k9Main *mainWindow, QWidget* parent, const char* name, WFlags fl) -: PlaybackOptionsw(parent,name,fl) +k9PlaybackOptions::k9PlaybackOptions(k9Main *mainWindow, TQWidget* tqparent, const char* name, WFlags fl) +: PlaybackOptionsw(tqparent,name,fl) { setMain( mainWindow); @@ -42,7 +42,7 @@ k9PlaybackOptions::~k9PlaybackOptions() void k9PlaybackOptions::fillTitleList() { - QString txt=lbSequence->currentText(); + TQString txt=lbSequence->currentText(); lbSequence->clear(); k9DVDTitle *title=m_dvd->getstart(); @@ -64,7 +64,7 @@ void k9PlaybackOptions::fillTitleList() { for (int i=0;i<m_dvd->gettitleCount();i++) { k9DVDTitle* l_track=m_dvd->gettitle(i); if (l_track->getIndexed()) { - QString sTitle=l_track->getname(); + TQString sTitle=l_track->getname(); if(l_track->isSelected()) { bool foundtitle=false; for (uint j=0; j<lbSequence->count();j++) { @@ -135,7 +135,7 @@ void k9PlaybackOptions::setSequence() { } } -void k9PlaybackOptions::lbSequenceChanged(QListBoxItem *_item) { +void k9PlaybackOptions::lbSequenceChanged(TQListBoxItem *_item) { if (_item == NULL) return; lbItem *lbi=(lbItem*) _item; @@ -153,7 +153,7 @@ void k9PlaybackOptions::lbSequenceChanged(QListBoxItem *_item) { if (title->getaudioStream(i)->getselected()) { // if ( !title->getDefAudioSet()) // title->setDefAudio(title->getaudioStream(i)); - cbDefAudio->insertItem( QString("%1 - %2").arg(title->getaudioStream(i)->getID()).arg(title->getaudioStream(i)->getlanguage())); + cbDefAudio->insertItem( TQString("%1 - %2").tqarg(title->getaudioStream(i)->getID()).tqarg(title->getaudioStream(i)->getlanguage())); if (title->getaudioStream(i)==title->getDefAudio()) { cbDefAudio->setCurrentItem(cbDefAudio->count()-1); } @@ -163,8 +163,8 @@ void k9PlaybackOptions::lbSequenceChanged(QListBoxItem *_item) { for (int i=0;i < title->getsubPictureCount();i++) { if (title->getsubtitle(i)->getselected()) { - QPixmap icon; - cbDefSub->insertItem(QString("%1 - %2").arg(title->getsubtitle(i)->getID().first()).arg(title->getsubtitle(i)->getlanguage())); + TQPixmap icon; + cbDefSub->insertItem(TQString("%1 - %2").tqarg(title->getsubtitle(i)->getID().first()).tqarg(title->getsubtitle(i)->getlanguage())); if (title->getsubtitle(i)==title->getDefSubtitle()) { cbDefSub->setCurrentItem(cbDefSub->count()-1); } @@ -186,7 +186,7 @@ void k9PlaybackOptions::cbDefSubActivated(int _index) { lbi->getTitle()->setDefSubtitle(lstSubDef.at(_index)); } -void k9PlaybackOptions::titleRenamed (k9DVDTitle *_title, QString _newName) { +void k9PlaybackOptions::titleRenamed (k9DVDTitle *_title, TQString _newName) { for (uint j=0; j<lbSequence->count();j++) { lbItem *tmp=(lbItem*)lbSequence->item(j); if (tmp->getTitle() == _title) { |