summaryrefslogtreecommitdiffstats
path: root/src/k9langselect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k9langselect.cpp')
-rw-r--r--src/k9langselect.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/k9langselect.cpp b/src/k9langselect.cpp
index 997d514..2700e56 100644
--- a/src/k9langselect.cpp
+++ b/src/k9langselect.cpp
@@ -16,8 +16,8 @@
#include "k9dvdtitle.h"
#include "k9main.h"
#include <kstandarddirs.h>
-k9LangSelect::k9LangSelect(k9Main *mainWindow,QWidget* parent, const char* name, WFlags fl)
-: langSelect(parent,name,fl)
+k9LangSelect::k9LangSelect(k9Main *mainWindow,TQWidget* tqparent, const char* name, WFlags fl)
+: langSelect(tqparent,name,fl)
{
setMain( mainWindow);
m_main->setLangSelect( this);
@@ -49,23 +49,23 @@ void k9LangSelect::fillLvLanguages() {
lvLanguages->clear();
langAudItems.clear();
langSubItems.clear();
- QStringList slAudLang,slSubLang;
+ TQStringList slAudLang,slSubLang;
if (m_dvd->getopened()) {
k9DVDSubtitle *l_sub;
k9DVDAudioStream *l_auds;
- QObjectList *items=m_main->getItems();
+ TQObjectList *items=m_main->getItems();
for (uint i=0;i<items->count();i++) {
k9DVDListItem *litem=(k9DVDListItem*)items->at(i);
switch (litem->streamType) {
case SUB: {
l_sub=litem->subtitle;
- if (slSubLang.contains(l_sub->getlanguage())==0)
+ if (slSubLang.tqcontains(l_sub->getlanguage())==0)
slSubLang.append(l_sub->getlanguage());
break;
}
case AUD: {
l_auds=litem->audioStream;
- if (slAudLang.contains(l_auds->getlanguage())==0)
+ if (slAudLang.tqcontains(l_auds->getlanguage())==0)
slAudLang.append(l_auds->getlanguage());
break;
}
@@ -74,10 +74,10 @@ void k9LangSelect::fillLvLanguages() {
}
}
}
- QListViewItem *audioRoot = new QListViewItem(lvLanguages);
+ TQListViewItem *audioRoot = new TQListViewItem(lvLanguages);
audioRoot->setOpen( TRUE );
audioRoot->setText(0, i18n("Audio"));
- for ( QStringList::Iterator it = slAudLang.begin(); it != slAudLang.end(); ++it ) {
+ for ( TQStringList::Iterator it = slAudLang.begin(); it != slAudLang.end(); ++it ) {
ckLvLangItem *lvitem=new ckLvLangItem(audioRoot,m_main);
lvitem->setText(0,*it);
lvitem->streamType=AUD;
@@ -85,10 +85,10 @@ void k9LangSelect::fillLvLanguages() {
langAudItems.append(lvitem);
}
- QListViewItem *subRoot = new QListViewItem(lvLanguages);
+ TQListViewItem *subRoot = new TQListViewItem(lvLanguages);
subRoot->setOpen( TRUE );
subRoot->setText(0, i18n("Subtitles"));
- for ( QStringList::Iterator it = slSubLang.begin(); it != slSubLang.end(); ++it ) {
+ for ( TQStringList::Iterator it = slSubLang.begin(); it != slSubLang.end(); ++it ) {
ckLvLangItem *lvitem=new ckLvLangItem(subRoot,m_main);
lvitem->setText(0,*it);
lvitem->streamType=SUB;
@@ -108,10 +108,10 @@ void k9LangSelect::update() {
}
-void k9LangSelect::updateLvLang(const eStreamType streamType,const QString & lang ) {
+void k9LangSelect::updateLvLang(const eStreamType streamType,const TQString & lang ) {
uint Total=0,Selected=0;
- QString lg;
- QObjectList *items = m_main->getItems();
+ TQString lg;
+ TQObjectList *items = m_main->getItems();
for (uint i=0;i<items->count();i++) {
k9DVDListItem *litem=(k9DVDListItem*)items->at(i);
if (litem->streamType==streamType ) {