diff options
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; } |