diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:29:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:29:52 -0600 |
commit | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (patch) | |
tree | 32b4c7307b74026be725950a33d6ec56d0561b3f /libk3bdevice/k3bdevicemanager.cpp | |
parent | db733144770616f45d2d6e89bd3c424538a9fd92 (diff) | |
download | k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.tar.gz k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libk3bdevice/k3bdevicemanager.cpp')
-rw-r--r-- | libk3bdevice/k3bdevicemanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libk3bdevice/k3bdevicemanager.cpp b/libk3bdevice/k3bdevicemanager.cpp index b319312..925539d 100644 --- a/libk3bdevice/k3bdevicemanager.cpp +++ b/libk3bdevice/k3bdevicemanager.cpp @@ -275,7 +275,7 @@ void K3bDevice::DeviceManager::LinuxDeviceScan() int i = 1; TQString dev; while( !(dev = line.section(re, i, i)).isEmpty() ) { - if( addDevice( TQString("/dev/%1").tqarg(dev) ) ) { + if( addDevice( TQString("/dev/%1").arg(dev) ) ) { devstring += dev + "|"; } // according to the LINUX ALLOCATED DEVICES document (http://www.lanana.org/docs/device-list/), @@ -285,7 +285,7 @@ void K3bDevice::DeviceManager::LinuxDeviceScan() // each physical device the next line should be better // else if ( dev.startsWith("sr") ) if ( dev.startsWith("sr") ) { - if( addDevice(TQString("/dev/%1").tqarg(dev.replace(TQRegExp("r"),"cd"))) ) + if( addDevice(TQString("/dev/%1").arg(dev.replace(TQRegExp("r"),"cd"))) ) devstring += dev + "|"; } ++i; @@ -304,7 +304,7 @@ void K3bDevice::DeviceManager::LinuxDeviceScan() // k3bDebug() << "(K3bDevice::DeviceManager) SCANNING FOR GENERIC DEVICES." << endl; for( int i = 0; i < 16; i++ ) { - TQString sgDev = resolveSymLink( TQString("/dev/sg%1").tqarg(i) ); + TQString sgDev = resolveSymLink( TQString("/dev/sg%1").arg(i) ); int bus = -1, id = -1, lun = -1; if( determineBusIdLun( sgDev, bus, id, lun ) ) { if( Device* dev = findDevice( bus, id, lun ) ) { @@ -896,7 +896,7 @@ TQString K3bDevice::DeviceManager::resolveSymLink( const TQString& path ) return path; } - return TQString::tqfromLatin1( resolved ); + return TQString::fromLatin1( resolved ); } |