diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:29:54 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:29:54 -0600 |
commit | b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (patch) | |
tree | 9beca7fe1a592f5f49be1e0bb4d03f0dfc1829c7 /k9decmpeg/k9plaympeg2.cpp | |
parent | 23c5272c1c49acf0906f7c97a524333705f7be46 (diff) | |
download | k9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.tar.gz k9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'k9decmpeg/k9plaympeg2.cpp')
-rw-r--r-- | k9decmpeg/k9plaympeg2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/k9decmpeg/k9plaympeg2.cpp b/k9decmpeg/k9plaympeg2.cpp index f5ff3d7..e18f4ae 100644 --- a/k9decmpeg/k9plaympeg2.cpp +++ b/k9decmpeg/k9plaympeg2.cpp @@ -55,7 +55,7 @@ void k9PlayMPEG2::playTitle() { /* set read ahead cache usage */ if (dvdnav_set_readahead_flag(dvdnav, DVD_READ_CACHE) != DVDNAV_STATUS_OK) { - setError(TQString("ERR:Error on dvdnav_set_readahead_flag: %1\n").tqarg(dvdnav_err_to_string(dvdnav))); + setError(TQString("ERR:Error on dvdnav_set_readahead_flag: %1\n").arg(dvdnav_err_to_string(dvdnav))); return; } @@ -63,14 +63,14 @@ void k9PlayMPEG2::playTitle() { if (dvdnav_menu_language_select(dvdnav, DVD_LANGUAGE) != DVDNAV_STATUS_OK || dvdnav_audio_language_select(dvdnav, DVD_LANGUAGE) != DVDNAV_STATUS_OK || dvdnav_spu_language_select(dvdnav, DVD_LANGUAGE) != DVDNAV_STATUS_OK) { - setError(TQString("ERR:Error on setting languages: %1\n").tqarg(dvdnav_err_to_string(dvdnav))); + setError(TQString("ERR:Error on setting languages: %1\n").arg(dvdnav_err_to_string(dvdnav))); return ; } /* set the PGC positioning flag to have position information relatively to the * whole feature instead of just relatively to the current chapter */ if (dvdnav_set_PGC_positioning_flag(dvdnav, 1) != DVDNAV_STATUS_OK) { - setError(TQString("ERR:Error on dvdnav_set_PGC_positioning_flag: %1\n").tqarg(dvdnav_err_to_string(dvdnav))); + setError(TQString("ERR:Error on dvdnav_set_PGC_positioning_flag: %1\n").arg(dvdnav_err_to_string(dvdnav))); return ; } @@ -105,7 +105,7 @@ void k9PlayMPEG2::playTitle() { if (result == DVDNAV_STATUS_ERR) { - setError(TQString("ERR:Error getting next block: %1\n").tqarg(dvdnav_err_to_string(dvdnav))); + setError(TQString("ERR:Error getting next block: %1\n").arg(dvdnav_err_to_string(dvdnav))); return; } @@ -254,7 +254,7 @@ void k9PlayMPEG2::open (dvd_reader_t *dvd,const TQString & device,k9DVDTitle * t m_lastSector=0; ret = stat(device.utf8(), &dvd_stat); /* if ( ret < 0 ) { - c=i18n("Can't find device %1\n").tqarg(device.latin1()); + c=i18n("Can't find device %1\n").arg(device.latin1()); setError(c); return; } |