summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/matrixdisplaydriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/components/matrixdisplaydriver.cpp')
-rw-r--r--src/electronics/components/matrixdisplaydriver.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/electronics/components/matrixdisplaydriver.cpp b/src/electronics/components/matrixdisplaydriver.cpp
index da00bb7..a25bb7a 100644
--- a/src/electronics/components/matrixdisplaydriver.cpp
+++ b/src/electronics/components/matrixdisplaydriver.cpp
@@ -13,8 +13,8 @@
#include "matrixdisplaydriver.h"
#include <klocale.h>
-#include <qpainter.h>
-#include <qstring.h>
+#include <tqpainter.h>
+#include <tqstring.h>
#include <assert.h>
@@ -319,22 +319,22 @@ MatrixDisplayDriver::MatrixDisplayDriver( ICNDocument *icnDocument, bool newItem
createProperty( "diode-configuration", Variant::Type::Select );
property("diode-configuration")->setCaption( i18n("Configuration") );
- property("diode-configuration")->setAllowed( QStringList::split(',',"Row Cathode,Column Cathode") );
+ property("diode-configuration")->setAllowed( TQStringList::split(',',"Row Cathode,Column Cathode") );
property("diode-configuration")->setValue("Row Cathode");
property("diode-configuration")->setAdvanced(true);
- QStringList pins = QStringList::split( ',', "D0,D1,D2,D3,D4,D5,D6,D7,,,,,,C4,C3,C2,C1,C0,,R0,R1,R2,R3,R4,R5,R6", true );
+ TQStringList pins = TQStringList::split( ',', "D0,D1,D2,D3,D4,D5,D6,D7,,,,,,C4,C3,C2,C1,C0,,R0,R1,R2,R3,R4,R5,R6", true );
initDIPSymbol( pins, 64 );
initDIP(pins);
m_pValueLogic.resize( 8, 0l );
for ( unsigned i = 0; i < 8; ++i )
- m_pValueLogic[i] = createLogicIn( ecNodeWithID("D"+QString::number(i)) );
+ m_pValueLogic[i] = createLogicIn( ecNodeWithID("D"+TQString::number(i)) );
m_pRowLogic.resize( 7, 0l );
for ( unsigned i = 0; i < 7; ++i )
{
- m_pRowLogic[i] = createLogicOut( ecNodeWithID("R"+QString::number(i)), false );
+ m_pRowLogic[i] = createLogicOut( ecNodeWithID("R"+TQString::number(i)), false );
m_pRowLogic[i]->setOutputLowConductance( 1.0 );
m_pRowLogic[i]->setOutputHighVoltage(5.0);
}
@@ -342,7 +342,7 @@ MatrixDisplayDriver::MatrixDisplayDriver( ICNDocument *icnDocument, bool newItem
m_pColLogic.resize( 5, 0l );
for ( unsigned i = 0; i < 5; ++i )
{
- m_pColLogic[i] = createLogicOut( ecNodeWithID("C"+QString::number(i)), false );
+ m_pColLogic[i] = createLogicOut( ecNodeWithID("C"+TQString::number(i)), false );
m_pColLogic[i]->setOutputHighVoltage(5.0);
}
}