summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:52 -0600
commita372f822fe1b3fad682bf6796cb62da4f13a31db (patch)
treea3ac24d6627eebc22e3c9490e7742f594f17d8ad /libk9copy/k9dvd.cpp
parentb8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (diff)
downloadk9copy-a372f822fe1b3fad682bf6796cb62da4f13a31db.tar.gz
k9copy-a372f822fe1b3fad682bf6796cb62da4f13a31db.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.
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 34bece4..c9beed3 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 children"));
+ m_lsubpType.append(i18n("Director's comments for tqchildren"));
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").arg(dvd_device);
+ c=i18n("Couldn't open %1 for title\n").tqarg(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").arg( dvd_device);
+ c=i18n("Couldn't seek in %1 for title\n").tqarg( 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").arg( device);
+ c=i18n("Can't find device %1\n").tqarg( 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").arg(device);
+ c=i18n("Can't open disc %1!\n").tqarg(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").arg(indexedCount);
- txt=i18n("Title %1").arg(numTitle);
+ //JMPtxt=i18n("Title %1").tqarg(indexedCount);
+ txt=i18n("Title %1").tqarg(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").arg(num);
+ track->name=i18n("Title %1").tqarg(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").arg( title);
+ c=i18n("Error opening vobs for title %1\n").tqarg( 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").arg(i);
+ c=i18n("ERROR reading block %1\n").tqarg(i);
setError(c);
break;
}