summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:52 -0600
commit1e42ec29323d1016df59b8b571d16fefe3d4e6f1 (patch)
tree3cdfd52c475c581a2e1fe682e0954305a21acea2 /libk9copy/k9dvd.cpp
parent445633c8ffa0b5219c036b130230fdc6d97e9894 (diff)
downloadk9copy-1e42ec29323d1016df59b8b571d16fefe3d4e6f1.tar.gz
k9copy-1e42ec29323d1016df59b8b571d16fefe3d4e6f1.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libk9copy/k9dvd.cpp')
-rwxr-xr-xlibk9copy/k9dvd.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libk9copy/k9dvd.cpp b/libk9copy/k9dvd.cpp
index c9beed3..34bece4 100755
--- a/libk9copy/k9dvd.cpp
+++ b/libk9copy/k9dvd.cpp
@@ -150,7 +150,7 @@ k9DVD::k9DVD(TQObject *parent, const char *name,const TQStringList args) {
m_lsubpType.append(i18n("reserved"));
m_lsubpType.append(i18n("Director's comments"));
m_lsubpType.append(i18n("Large director's comments"));
- m_lsubpType.append(i18n("Director's comments for tqchildren"));
+ m_lsubpType.append(i18n("Director's comments for children"));
m_frames_per_s[0]=-1.0;
@@ -187,7 +187,7 @@ int k9DVD::get_title_name(const char* dvd_device, char* title) {
int i;
TQString c;
if (! (filehandle = fopen(dvd_device, "r"))) {
- c=i18n("Couldn't open %1 for title\n").tqarg(dvd_device);
+ c=i18n("Couldn't open %1 for title\n").arg(dvd_device);
// setError(c );
strcpy(title, i18n("unknown").latin1());
return -1;
@@ -195,7 +195,7 @@ int k9DVD::get_title_name(const char* dvd_device, char* title) {
if ( fseek(filehandle, 32808, SEEK_SET )) {
fclose(filehandle);
- c=i18n("Couldn't seek in %1 for title\n").tqarg( dvd_device);
+ c=i18n("Couldn't seek in %1 for title\n").arg( dvd_device);
setError(c);
strcpy(title, i18n("unknown").latin1());
return -1;
@@ -330,7 +330,7 @@ int k9DVD::scandvd (const TQString & device,bool _quickScan) {
/*
ret = stat(device.latin1(), &dvd_stat);
if ( ret < 0 ) {
- c=i18n("Can't find device %1\n").tqarg( device);
+ c=i18n("Can't find device %1\n").arg( device);
setError(c);
return 1;
}
@@ -340,7 +340,7 @@ int k9DVD::scandvd (const TQString & device,bool _quickScan) {
m_dvd.close();
m_dvd.openDevice(device);
if( !m_dvd.opened() ) {
- c=i18n("Can't open disc %1!\n").tqarg(device);
+ c=i18n("Can't open disc %1!\n").arg(device);
setError(c);
return 2;
}
@@ -393,8 +393,8 @@ int k9DVD::scandvd (const TQString & device,bool _quickScan) {
m_titleCount++;
vts_ttn = ttn;//ifo->vts_ptt_srpt->title[j].ptt[0].pgcn; //ifo_zero->tt_srpt->title[j].vts_ttn;
- //JMPtxt=i18n("Title %1").tqarg(indexedCount);
- txt=i18n("Title %1").tqarg(numTitle);
+ //JMPtxt=i18n("Title %1").arg(indexedCount);
+ txt=i18n("Title %1").arg(numTitle);
emit sigTotalText (txt);
emit sigTitleProgress(numTitle,ltitles);
video_attr = &vtsi_mat->vts_video_attr;
@@ -691,7 +691,7 @@ k9DVDTitle* k9DVD::addTitle(k9DVDTitleset *_titleset,int id,int num,int _VTS,int
}
if (bappend)
m_titles.append(track);
- track->name=i18n("Title %1").tqarg(num);
+ track->name=i18n("Title %1").arg(num);
if (!_indexed) {
for (uint i=0;i<m_titles.count();i++) {
@@ -859,7 +859,7 @@ long k9DVD::stream_vob( int title, unsigned long startblock, unsigned long lastb
TQString c;
dvdfile =m_dvd.openTitle( title);
if( !dvdfile ) {
- c=i18n("Error opening vobs for title %1\n").tqarg( title);
+ c=i18n("Error opening vobs for title %1\n").arg( title);
setError(c);
return 0;
}
@@ -870,7 +870,7 @@ long k9DVD::stream_vob( int title, unsigned long startblock, unsigned long lastb
emit sigVobProgress(i-startblock,lastblock-startblock);
total+=size;
if( !size ) {
- c=i18n("ERROR reading block %1\n").tqarg(i);
+ c=i18n("ERROR reading block %1\n").arg(i);
setError(c);
break;
}