summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/addac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/components/addac.cpp')
-rw-r--r--src/electronics/components/addac.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/electronics/components/addac.cpp b/src/electronics/components/addac.cpp
index a58e2d8..f1f7a92 100644
--- a/src/electronics/components/addac.cpp
+++ b/src/electronics/components/addac.cpp
@@ -143,7 +143,7 @@ void ADC::initPins()
if ( numBits == m_numBits )
return;
- QStringList pins;
+ TQStringList pins;
int inPos = (numBits-1+(numBits%2))/2;
for ( int i=0; i<inPos; ++i )
@@ -155,7 +155,7 @@ void ADC::initPins()
pins += "";
for ( int i=numBits-1; i>=0; --i )
- pins += QString::number(i);
+ pins += TQString::number(i);
initDIPSymbol( pins, 64 );
initDIP(pins);
@@ -168,7 +168,7 @@ void ADC::initPins()
{
for ( int i=m_numBits; i<numBits; ++i )
{
- ECNode *node = ecNodeWithID( QString::number(i) );
+ ECNode *node = ecNodeWithID( TQString::number(i) );
m_logic[i] = createLogicOut( node, false );
}
}
@@ -176,7 +176,7 @@ void ADC::initPins()
{
for ( int i=numBits; i<m_numBits; ++i )
{
- QString id = QString::number(i);
+ TQString id = TQString::number(i);
removeDisplayText(id);
removeElement( m_logic[i], false );
removeNode(id);
@@ -235,10 +235,10 @@ void DAC::initPins()
if ( numBits == m_numBits )
return;
- QStringList pins;
+ TQStringList pins;
for ( int i=0; i<numBits; ++i )
- pins += QString::number(i);
+ pins += TQString::number(i);
int inPos = (numBits+1+(numBits%2))/2;
for ( int i=numBits-1; i>=inPos; --i )
@@ -259,7 +259,7 @@ void DAC::initPins()
{
for ( int i=m_numBits; i<numBits; ++i )
{
- ECNode *node = ecNodeWithID( QString::number(i) );
+ ECNode *node = ecNodeWithID( TQString::number(i) );
m_logic[i] = createLogicIn(node);
}
}
@@ -267,7 +267,7 @@ void DAC::initPins()
{
for ( int i=numBits; i<m_numBits; ++i )
{
- QString id = QString::number(i);
+ TQString id = TQString::number(i);
removeDisplayText(id);
removeElement( m_logic[i], false );
removeNode(id);