summaryrefslogtreecommitdiffstats
path: root/libk9copy
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:18:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:18:35 -0600
commit99e47821ed59208c5490022ddb2d6f8ab2bc8b0d (patch)
tree6e8bdb4737921bbf360e04f833f9cbb5db999567 /libk9copy
parentabb61585f84129bd4ae481a10d81437a8246fea0 (diff)
downloadk9copy-99e47821ed59208c5490022ddb2d6f8ab2bc8b0d.tar.gz
k9copy-99e47821ed59208c5490022ddb2d6f8ab2bc8b0d.zip
Rename additional global TQt functions
Diffstat (limited to 'libk9copy')
-rw-r--r--libk9copy/backupdlg.cpp4
-rw-r--r--libk9copy/k9burndvd.cpp2
-rwxr-xr-xlibk9copy/k9cell.cpp2
-rw-r--r--libk9copy/k9cellcopylist.cpp10
-rwxr-xr-xlibk9copy/k9dvdauthor.cpp4
-rwxr-xr-xlibk9copy/k9dvdbackup.cpp22
-rw-r--r--libk9copy/k9ifo2.cpp2
-rw-r--r--libk9copy/k9mp4enc.cpp4
-rw-r--r--libk9copy/mp4dlg.cpp2
-rw-r--r--libk9copy/processList.cpp2
-rw-r--r--libk9copy/progress.cpp2
11 files changed, 28 insertions, 28 deletions
diff --git a/libk9copy/backupdlg.cpp b/libk9copy/backupdlg.cpp
index 6d0539f..6abc806 100644
--- a/libk9copy/backupdlg.cpp
+++ b/libk9copy/backupdlg.cpp
@@ -163,12 +163,12 @@ void backupDlg::languageChange()
void backupDlg::bAbortClick()
{
- qWarning( "backupDlg::bAbortClick(): Not implemented yet" );
+ tqWarning( "backupDlg::bAbortClick(): Not implemented yet" );
}
void backupDlg::bPlayToggled(bool)
{
- qWarning( "backupDlg::bPlayToggled(bool): Not implemented yet" );
+ tqWarning( "backupDlg::bPlayToggled(bool): Not implemented yet" );
}
#include "backupdlg.moc"
diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp
index 542f37d..e6f6675 100644
--- a/libk9copy/k9burndvd.cpp
+++ b/libk9copy/k9burndvd.cpp
@@ -215,7 +215,7 @@ void k9BurnDVD::burnWithGenisoimage() {
if ( KMessageBox::warningContinueCancel ( 0,i18n("Insert a recordable DVD"), i18n("DVD burning"))!=KMessageBox::Continue)
cancelled=true;
}
- qDebug(proc->debug());
+ tqDebug(proc->debug());
}
diff --git a/libk9copy/k9cell.cpp b/libk9copy/k9cell.cpp
index c7a6433..159e4c8 100755
--- a/libk9copy/k9cell.cpp
+++ b/libk9copy/k9cell.cpp
@@ -282,7 +282,7 @@ void k9Cell::addNewVobus(char *_buffer,uint32_t _len,uint32_t _position,int _vob
vobu->vobPos=_vobPos;
//TQString c;
//c.sprintf("vobu : %d old: %d new :%d",numVobu-1,vobu->oldSector,vobu->newSector);
- //qDebug (c.latin1());
+ //tqDebug (c.latin1());
} else {
streamType_t st;
diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp
index 99333e8..be4e406 100644
--- a/libk9copy/k9cellcopylist.cpp
+++ b/libk9copy/k9cellcopylist.cpp
@@ -109,7 +109,7 @@ k9Cell *k9CellCopyList::addCell(int _VTS,int _pgc,int _id,uint32_t startSector,u
if (cell->startSector ==startSector && cell->vts==_VTS) {
bFound=true;
if (cell->lastSector!=lastSector )
- qDebug("last sector doesn't match","DVD Backup");
+ tqDebug("last sector doesn't match","DVD Backup");
}
if (!bFound && (_VTS <cell->vts || (startSector<cell->startSector && cell->vts ==_VTS ) )) {
@@ -294,10 +294,10 @@ double k9CellCopyList::getMinFactor(bool _withMenus) {
double totalSize=gettotalSize()+menuSize - (fforced) -m_inbytes;
totalSize/=2.50;
-qDebug(TQString("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));
+tqDebug(TQString("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));
double minFactor=(fforced-m_frcinbytes) /(MaxSize- (totalSize +m_outbytes) - m_frcoutbytes) ;
- qDebug(TQString("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));
+ tqDebug(TQString("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));
if (minFactor<1)
minFactor=1;
@@ -347,7 +347,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) {
if (dvdSize2 <0) {
factor=2.5;
- //qDebug(TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").arg(dvdSize).arg(m_outbytes).arg(fforcedsh).arg(dvdSize2));
+ //tqDebug(TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").arg(dvdSize).arg(m_outbytes).arg(fforcedsh).arg(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(TQString("factor : %1 realise : %2").arg(factor).arg((double)i/(double)o));
+ //tqDebug(TQString("factor : %1 realise : %2").arg(factor).arg((double)i/(double)o));
if (factor<=1)
factor=1;
diff --git a/libk9copy/k9dvdauthor.cpp b/libk9copy/k9dvdauthor.cpp
index 5896075..3676109 100755
--- a/libk9copy/k9dvdauthor.cpp
+++ b/libk9copy/k9dvdauthor.cpp
@@ -505,7 +505,7 @@ void k9DVDAuthor::DVDAuthorStderr(KProcess *proc, char *buffer, int buflen ) {
// m_copied+=totalBytes - m_lastPos;
m_copied=totalBytes;
m_lastPos=totalBytes;
- //qDebug(TQString("copied : %1 totalSize : %2").arg(m_copied).arg(m_totalSize*512));
+ //tqDebug(TQString("copied : %1 totalSize : %2").arg(m_copied).arg(m_totalSize*512));
m_percent=(float)m_copied / (float)(m_totalSize/DVD_VIDEO_LB_LEN );
@@ -526,7 +526,7 @@ void k9DVDAuthor::DVDAuthorStderr(KProcess *proc, char *buffer, int buflen ) {
}
/* else {
if (!m_stderr.startsWith("libdvdread") && m_stderr.startsWith("libdvdnav"))
- qDebug(m_stderr);
+ tqDebug(m_stderr);
}
*/
int end;
diff --git a/libk9copy/k9dvdbackup.cpp b/libk9copy/k9dvdbackup.cpp
index c1ef777..18332be 100755
--- a/libk9copy/k9dvdbackup.cpp
+++ b/libk9copy/k9dvdbackup.cpp
@@ -353,7 +353,7 @@ void k9DVDBackup::getOutput(uchar * buffer, uint32_t buflen) {
uchar *temp =buffer;
TQString sName;
if ((buflen %2048) !=0)
- qDebug("getOutput, buffer : %u",buflen);
+ tqDebug("getOutput, buffer : %u",buflen);
uint end=0;
for (uint itemp=0;itemp<buflen;itemp+=DVD_VIDEO_LB_LEN) {
@@ -502,7 +502,7 @@ uint32_t k9DVDBackup::copyMenu2(int _vts) {
nbCells++;
}
//else
- //qDebug() << TQString("cell start sector (%1) exceed menu size (%2)").arg((ptr+i)->start_sector).arg(menuLastSector);
+ //tqDebug() << TQString("cell start sector (%1) exceed menu size (%2)").arg((ptr+i)->start_sector).arg(menuLastSector);
}
cadr.sort();
vamps->reset();
@@ -735,7 +735,7 @@ uint32_t k9DVDBackup::copyVobu(k9DVDFile *_fileHandle,uint32_t _startSector,k9V
if (len==-1) {
setDummyNavPack(buf,sector);
nextVobu=findNextVobu(sector);
- qDebug ("VOBU : %u Read Error !!!! ==> %u",sector,nextVobu);
+ tqDebug ("VOBU : %u Read Error !!!! ==> %u",sector,nextVobu);
badNavPack=true;
}
currVobu=_vobu;
@@ -786,7 +786,7 @@ uint32_t k9DVDBackup::copyVobu(k9DVDFile *_fileHandle,uint32_t _startSector,k9V
for (uint32_t i=0;i< nsectors;i++) {
len = _fileHandle->readBlocks ( (sector + 1)+i, 1, buf +(i*DVD_VIDEO_LB_LEN));
if (len==-1) {
- qDebug ("VOBU : %u Read Error !!!!",sector);
+ tqDebug ("VOBU : %u Read Error !!!!",sector);
//setDummyPack(buf + (i*DVD_VIDEO_LB_LEN));
setDummyPack(buf);
nsectors=1;
@@ -889,7 +889,7 @@ k9Vobu * k9DVDBackup::remapOffset(uint32_t _sector,uint32_t *_offset,int _dir) {
}
if (vobu1==NULL && vobu2==NULL)
- qDebug ("remapOffset : sector not found");
+ tqDebug ("remapOffset : sector not found");
}
return vobu2;
}
@@ -910,7 +910,7 @@ void k9DVDBackup::updateMainIfo() {
hifo->vmgi_mat->vmg_last_sector= 1+ m_vmgSize+hifo->vmgi_mat->vmgi_last_sector*2;
if (m_vmgSize >0) {
if (hifo->vmgi_mat->vmgm_vobs != hifo->vmgi_mat->vmgi_last_sector +1)
- qDebug ("error in ifo file : vmgm_vobs %u -> %u)",hifo->vmgi_mat->vmgm_vobs,hifo->vmgi_mat->vmgi_last_sector +1);
+ tqDebug ("error in ifo file : vmgm_vobs %u -> %u)",hifo->vmgi_mat->vmgm_vobs,hifo->vmgi_mat->vmgi_last_sector +1);
hifo->vmgi_mat->vmgm_vobs=hifo->vmgi_mat->vmgi_last_sector +1;
}
@@ -1096,7 +1096,7 @@ void k9DVDBackup::update4Menu(ifo_handle_t *_hifo) {
uint32_t lastSect= ptr[i].last_sector +1;
k9Vobu *vobu=remapVobu(&startSect);
if (vobu == NULL)
- qDebug ("Error : could not find startSector");
+ tqDebug ("Error : could not find startSector");
else {
if (remapVobu(&lastSect)==NULL)
lastSect=vobu->parent->lastSector;
@@ -1152,7 +1152,7 @@ void k9DVDBackup::updateIfo() {
//JMP
if (currTS->menuSize >0) {
if (hifo->vtsi_mat->vtsm_vobs != hifo->vtsi_mat->vtsi_last_sector +1)
- qDebug ("error in ifo file %u : vtsm_vobs %u -> %u",currTS->VTS,hifo->vtsi_mat->vtsm_vobs,hifo->vtsi_mat->vtsi_last_sector +1);
+ tqDebug ("error in ifo file %u : vtsm_vobs %u -> %u",currTS->VTS,hifo->vtsi_mat->vtsm_vobs,hifo->vtsi_mat->vtsi_last_sector +1);
hifo->vtsi_mat->vtsm_vobs= hifo->vtsi_mat->vtsi_last_sector +1 ;
}else
@@ -1309,7 +1309,7 @@ void k9DVDBackup::updateIfo() {
uint32_t lastSect= ptr[i].last_sector +1;
k9Vobu *vobu=remapVobu(&startSect);
if (vobu == NULL)
- qDebug ("Error : could not find startSector");
+ tqDebug ("Error : could not find startSector");
else {
if (remapVobu(&lastSect)==NULL)
lastSect= vobu->parent->lastSector;
@@ -1598,7 +1598,7 @@ void k9DVDBackup::updateVob(k9CellList *cellLst) {
}
} else {
- qDebug ("erreur positionning");
+ tqDebug ("erreur positionning");
}
}
}
@@ -1687,7 +1687,7 @@ void k9DVDBackup::forceFactor(double _factor) {
backupDlg->setFactor(sFactor);
argFactor = factor;
m_forcedFactor=true;
- qDebug("force factor : %f min:%f",factor,minFactor);
+ tqDebug("force factor : %f min:%f",factor,minFactor);
}
diff --git a/libk9copy/k9ifo2.cpp b/libk9copy/k9ifo2.cpp
index f121564..57643c4 100644
--- a/libk9copy/k9ifo2.cpp
+++ b/libk9copy/k9ifo2.cpp
@@ -870,7 +870,7 @@ void k9Ifo2::checkBuffer(TQString lib,uchar* _buffer) {
if (memcmp(bufCopy,_buffer,bufCopySize)!=0) {
TQString c;
c="Buffer de sortie altéré: " +lib;
- qDebug(c.latin1());
+ tqDebug(c.latin1());
}
}
diff --git a/libk9copy/k9mp4enc.cpp b/libk9copy/k9mp4enc.cpp
index fc606af..301747c 100644
--- a/libk9copy/k9mp4enc.cpp
+++ b/libk9copy/k9mp4enc.cpp
@@ -392,7 +392,7 @@ void k9MP4Enc::execute ( k9DVDTitle *_title )
TQCString str=* ( m_process->args().at ( i ) );
s +=TQString ( str ) +" ";
}
- qDebug ( s );
+ tqDebug ( s );
time->start();
m_timer3.start();
connect ( m_process, TQT_SIGNAL ( receivedStdout ( KProcess *, char *, int ) ),this, TQT_SLOT ( getStdout ( KProcess *, char *, int ) ) );
@@ -546,7 +546,7 @@ void k9MP4Enc::getStderr ( KProcess *proc, char *buffer, int buflen )
m_progress->setImage ( cstderr.mid ( pos+10 ) );
}
else
- qDebug ( "[%s]",buffer );
+ tqDebug ( "[%s]",buffer );
}
m_stderr=cstderr;
}
diff --git a/libk9copy/mp4dlg.cpp b/libk9copy/mp4dlg.cpp
index 8e0955a..0527be2 100644
--- a/libk9copy/mp4dlg.cpp
+++ b/libk9copy/mp4dlg.cpp
@@ -153,7 +153,7 @@ void MP4Dlg::languageChange()
void MP4Dlg::Cancel()
{
- qWarning( "MP4Dlg::Cancel(): Not implemented yet" );
+ tqWarning( "MP4Dlg::Cancel(): Not implemented yet" );
}
#include "mp4dlg.moc"
diff --git a/libk9copy/processList.cpp b/libk9copy/processList.cpp
index 2f5a4fa..536c545 100644
--- a/libk9copy/processList.cpp
+++ b/libk9copy/processList.cpp
@@ -75,7 +75,7 @@ void processList::languageChange()
void processList::bCancelClick()
{
- qWarning( "processList::bCancelClick(): Not implemented yet" );
+ tqWarning( "processList::bCancelClick(): Not implemented yet" );
}
#include "processList.moc"
diff --git a/libk9copy/progress.cpp b/libk9copy/progress.cpp
index d8f7fb4..7c18a9c 100644
--- a/libk9copy/progress.cpp
+++ b/libk9copy/progress.cpp
@@ -121,7 +121,7 @@ void Progress::languageChange()
void Progress::bCancelClick()
{
- qWarning( "Progress::bCancelClick(): Not implemented yet" );
+ tqWarning( "Progress::bCancelClick(): Not implemented yet" );
}
#include "progress.moc"