diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:39:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:39:40 -0600 |
commit | 1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2 (patch) | |
tree | fdf34e0c9a4211231bb084fb40d30d2dff677dea /src/electronics/port.cpp | |
parent | abb8cd68f820cfe0c96965136890a6bdd1093db5 (diff) | |
download | ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.tar.gz ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/electronics/port.cpp')
-rw-r--r-- | src/electronics/port.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/electronics/port.cpp b/src/electronics/port.cpp index 124fe1d..8a92402 100644 --- a/src/electronics/port.cpp +++ b/src/electronics/port.cpp @@ -207,28 +207,28 @@ TQStringList SerialPort::ports( unsigned probeResult ) for ( int i = 0; i < 8; ++i ) { - TQString dev = TQString("/dev/ttyS%1").tqarg(i); + TQString dev = TQString("/dev/ttyS%1").arg(i); if ( probe(dev) & probeResult ) list << dev; } for ( unsigned i = 0; i < 8; ++i ) { - TQString dev = TQString("/dev/tts/%1").tqarg(i); + TQString dev = TQString("/dev/tts/%1").arg(i); if ( probe(dev) & probeResult ) list << dev; } for ( unsigned i = 0; i < 8; ++i ) { - TQString dev = TQString("/dev/ttyUSB%1").tqarg(i); + TQString dev = TQString("/dev/ttyUSB%1").arg(i); if ( probe(dev) & probeResult ) list << dev; } for ( unsigned i = 0; i < 8; ++i ) { - TQString dev = TQString("/dev/usb/tts/%1").tqarg(i); + TQString dev = TQString("/dev/usb/tts/%1").arg(i); if ( probe(dev) & probeResult ) list << dev; } @@ -453,14 +453,14 @@ TQStringList ParallelPort::ports( unsigned probeResult ) for ( unsigned i = 0; i < 8; ++i ) { - TQString dev = TQString("/dev/parport%1").tqarg(i); + TQString dev = TQString("/dev/parport%1").arg(i); if ( probe(dev) & probeResult ) list << dev; } for ( unsigned i = 0; i < 8; ++i ) { - TQString dev = TQString("/dev/parports/%1").tqarg(i); + TQString dev = TQString("/dev/parports/%1").arg(i); if ( probe(dev) & probeResult ) list << dev; } |