summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9cellcopylist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/k9cellcopylist.cpp')
-rw-r--r--libk9copy/k9cellcopylist.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp
index 656da5f..2297359 100644
--- a/libk9copy/k9cellcopylist.cpp
+++ b/libk9copy/k9cellcopylist.cpp
@@ -23,7 +23,7 @@
#include <kmessagebox.h>
-int k9CellVTSList::compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 ) {
+int k9CellVTSList::compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 ) {
k9CellCopyVTS * it1,*it2;
it1=(k9CellCopyVTS *) item1;
it2=(k9CellCopyVTS *)item2;
@@ -50,7 +50,7 @@ uint64_t k9CellCopyVTS::getsize() {
}
k9CellCopyList::k9CellCopyList(k9DVDRead * _dvdHandle,k9DVD *_DVD)
- : QObjectList() {
+ : TQObjectList() {
setAutoDelete(true);
DVD=_DVD;
dvdHandle=_dvdHandle;
@@ -167,7 +167,7 @@ void k9CellCopyList::addStreams(k9DVDTitle *_title,k9Cell *_cell) {
for (int i=0;i<_title->getaudioStreamCount();i++) {
l_auds=_title->getaudioStream(i);
if (l_auds->getselected()) {
- QValueList<int>::iterator it;
+ TQValueList<int>::iterator it;
bool found=false;
for ( it = _cell->audio.begin(); it != _cell->audio.end(); ++it ) {
if (*it == l_auds->getID())
@@ -179,13 +179,13 @@ void k9CellCopyList::addStreams(k9DVDTitle *_title,k9Cell *_cell) {
}
for (int i=0;i<_title->getsubPictureCount();i++) {
- QString c;
+ TQString c;
l_sub=_title->getsubtitle(i);
if (l_sub->getselected()) {
- QValueList<int>::iterator it;
+ TQValueList<int>::iterator it;
bool found=false;
for ( it = _cell->subpicture.begin(); it != _cell->subpicture.end(); ++it ) {
- if (l_sub->getID().contains(*it))
+ if (l_sub->getID().tqcontains(*it))
found=true;
}
if (!found)
@@ -294,10 +294,10 @@ double k9CellCopyList::getMinFactor(bool _withMenus) {
double totalSize=gettotalSize()+menuSize - (fforced) -m_inbytes;
totalSize/=2.50;
-qDebug(QString("totalSize(%1)=gettotalSize()(%2)+menuSize(%3) -(fforced(%4))-m_inbytes(%6)").arg(totalSize).arg(gettotalSize()).arg(menuSize).arg(fforced).arg(m_frcinbytes).arg(m_inbytes));
+qDebug(TQString("totalSize(%1)=gettotalSize()(%2)+menuSize(%3) -(fforced(%4))-m_inbytes(%6)").tqarg(totalSize).tqarg(gettotalSize()).tqarg(menuSize).tqarg(fforced).tqarg(m_frcinbytes).tqarg(m_inbytes));
double minFactor=(fforced-m_frcinbytes) /(MaxSize- (totalSize +m_outbytes) - m_frcoutbytes) ;
- qDebug(QString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").arg(minFactor).arg(fforced).arg(m_frcinbytes).arg(MaxSize).arg(totalSize).arg(m_outbytes).arg(m_frcoutbytes));
+ qDebug(TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").tqarg(minFactor).tqarg(fforced).tqarg(m_frcinbytes).tqarg(MaxSize).tqarg(totalSize).tqarg(m_outbytes).tqarg(m_frcoutbytes));
if (minFactor<1)
minFactor=1;
@@ -347,7 +347,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) {
if (dvdSize2 <0) {
factor=2.5;
- //qDebug(QString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").arg(dvdSize).arg(m_outbytes).arg(fforcedsh).arg(dvdSize2));
+ //qDebug(TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").tqarg(dvdSize).tqarg(m_outbytes).tqarg(fforcedsh).tqarg(dvdSize2));
}
else {
factor=(totalSize +menuSize - fforced -m_inbytes)/ dvdSize2 ;
@@ -361,7 +361,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) {
uint64_t i=m_inbytes;
//if (o==0)
// o=1;
- //qDebug(QString("factor : %1 realise : %2").arg(factor).arg((double)i/(double)o));
+ //qDebug(TQString("factor : %1 realise : %2").tqarg(factor).tqarg((double)i/(double)o));
if (factor<=1)
factor=1;