diff options
Diffstat (limited to 'src/electronics/components/ram.cpp')
-rw-r--r-- | src/electronics/components/ram.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/electronics/components/ram.cpp b/src/electronics/components/ram.cpp index a8b259e..d0ac2b1 100644 --- a/src/electronics/components/ram.cpp +++ b/src/electronics/components/ram.cpp @@ -128,13 +128,13 @@ void RAM::initPins() TQStringList leftPins; // Pins on left of IC leftPins << "CS" << "OE" << "WE"; for ( int i = 0; i < newAddressSize; ++i ) - leftPins << TQString("A%1").tqarg( TQString::number(i) ); + leftPins << TQString("A%1").arg( TQString::number(i) ); TQStringList rightPins; // Pins on right of IC for ( unsigned i = newWordSize; i > 0; --i ) - rightPins << TQString("DI%1").tqarg( TQString::number(i-1) ); + rightPins << TQString("DI%1").arg( TQString::number(i-1) ); for ( unsigned i = newWordSize; i > 0; --i ) - rightPins << TQString("DO%1").tqarg( TQString::number(i-1) ); + rightPins << TQString("DO%1").arg( TQString::number(i-1) ); // Make pin lists of consistent sizes for ( unsigned i = leftPins.size(); i < rightPins.size(); ++i ) @@ -177,11 +177,11 @@ void RAM::initPins() for ( int i = oldWordSize; i < newWordSize; ++i ) { - node = ecNodeWithID( TQString("DI%1").tqarg( TQString::number(i) ) ); + node = ecNodeWithID( TQString("DI%1").arg( TQString::number(i) ) ); m_dataIn.insert( i, createLogicIn(node) ); m_dataIn[i]->setCallback( this, (CallbackPtr)(&RAM::inStateChanged) ); - node = ecNodeWithID( TQString("DO%1").tqarg( TQString::number(i) ) ); + node = ecNodeWithID( TQString("DO%1").arg( TQString::number(i) ) ); m_dataOut.insert( i, createLogicOut(node, false) ); } } @@ -189,12 +189,12 @@ void RAM::initPins() { for ( int i = newWordSize; i < oldWordSize; ++i ) { - TQString id = TQString("DO%1").tqarg( TQString::number(i) ); + TQString id = TQString("DO%1").arg( TQString::number(i) ); removeDisplayText(id); removeElement( m_dataIn[i], false ); removeNode(id); - id = TQString("DI%1").tqarg( TQString::number(i) ); + id = TQString("DI%1").arg( TQString::number(i) ); removeDisplayText(id); removeElement( m_dataOut[i], false ); removeNode(id); @@ -210,7 +210,7 @@ void RAM::initPins() for ( int i = oldAddressSize; i < newAddressSize; ++i ) { - node = ecNodeWithID( TQString("A%1").tqarg( TQString::number(i) ) ); + node = ecNodeWithID( TQString("A%1").arg( TQString::number(i) ) ); m_address.insert( i, createLogicIn(node) ); m_address[i]->setCallback( this, (CallbackPtr)(&RAM::inStateChanged) ); } @@ -219,7 +219,7 @@ void RAM::initPins() { for ( int i = newAddressSize; i < oldAddressSize; ++i ) { - TQString id = TQString("A%1").tqarg( TQString::number(i) ); + TQString id = TQString("A%1").arg( TQString::number(i) ); removeDisplayText(id); removeElement( m_address[i], false ); removeNode(id); |