diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /src/k9playbackoptions.cpp | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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) { |