summaryrefslogtreecommitdiffstats
path: root/libk3bdevice/k3bcdtext.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:48 -0600
commit5183781c5dddd8447b308c24b2d7f9257bd0bcad (patch)
treef1fa64e82ce281c97cf602ba207460a5d38dcfdd /libk3bdevice/k3bcdtext.cpp
parent09c863183250d07f82c0919e0a40fc7834c32192 (diff)
downloadk3b-5183781c5dddd8447b308c24b2d7f9257bd0bcad.tar.gz
k3b-5183781c5dddd8447b308c24b2d7f9257bd0bcad.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libk3bdevice/k3bcdtext.cpp')
-rw-r--r--libk3bdevice/k3bcdtext.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libk3bdevice/k3bcdtext.cpp b/libk3bdevice/k3bcdtext.cpp
index ab139f3..efc7d19 100644
--- a/libk3bdevice/k3bcdtext.cpp
+++ b/libk3bdevice/k3bcdtext.cpp
@@ -65,12 +65,12 @@ namespace K3bDevice {
for( int i = 0; i < dataLen/18; ++i ) {
TQString s;
- s += TQString( " %1 |" ).tqarg( pack[i].id1, 6, 16 );
- s += TQString( " %1 |" ).tqarg( pack[i].id2, 6 );
- s += TQString( " %1 |" ).tqarg( pack[i].id3, 6 );
- s += TQString( " %1 |" ).tqarg( pack[i].charpos, 6 );
- s += TQString( " %1 |" ).tqarg( pack[i].blocknum, 6 );
- s += TQString( " %1 |" ).tqarg( pack[i].dbcc, 4 );
+ s += TQString( " %1 |" ).arg( pack[i].id1, 6, 16 );
+ s += TQString( " %1 |" ).arg( pack[i].id2, 6 );
+ s += TQString( " %1 |" ).arg( pack[i].id3, 6 );
+ s += TQString( " %1 |" ).arg( pack[i].charpos, 6 );
+ s += TQString( " %1 |" ).arg( pack[i].blocknum, 6 );
+ s += TQString( " %1 |" ).arg( pack[i].dbcc, 4 );
// char str[12];
// sprintf( str, "%c%c%c%c%c%c%c%c%c%c%c%c",
// pack[i].data[0] == '\0' ? '�' : pack[i].data[0],
@@ -85,9 +85,9 @@ namespace K3bDevice {
// pack[i].data[9] == '\0' ? '�' : pack[i].data[9],
// pack[i].data[10] == '\0' ? '�' : pack[i].data[10],
// pack[i].data[11] == '\0' ? '�' : pack[i].data[11] );
-// s += TQString( " %1 |" ).tqarg( "'" + TQCString(str,13) + "'", 14 );
+// s += TQString( " %1 |" ).arg( "'" + TQCString(str,13) + "'", 14 );
// TQ_UINT16 crc = pack[i].crc[0]<<8|pack[i].crc[1];
-// s += TQString( " %1 |" ).tqarg( crc );
+// s += TQString( " %1 |" ).arg( crc );
k3bDebug() << s << endl;
}
}
@@ -471,7 +471,7 @@ void K3bDevice::CdText::savePack( cdtext_pack* pack, TQByteArray& data, unsigned
// append the pack to data
if( data.size() < dataFill + sizeof(cdtext_pack) )
- data.tqresize( dataFill + sizeof(cdtext_pack), TQGArray::SpeedOptim );
+ data.resize( dataFill + sizeof(cdtext_pack), TQGArray::SpeedOptim );
::memcpy( &data.data()[dataFill], reinterpret_cast<char*>( pack ), sizeof(cdtext_pack) );