summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/ecsubcircuit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/components/ecsubcircuit.cpp')
-rw-r--r--src/electronics/components/ecsubcircuit.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/electronics/components/ecsubcircuit.cpp b/src/electronics/components/ecsubcircuit.cpp
index a69e720..8ae898c 100644
--- a/src/electronics/components/ecsubcircuit.cpp
+++ b/src/electronics/components/ecsubcircuit.cpp
@@ -17,7 +17,7 @@
#include <kdebug.h>
#include <klocale.h>
-#include <qfile.h>
+#include <tqfile.h>
Item* ECSubcircuit::construct( ItemDocument *itemDocument, bool newItem, const char *id )
{
@@ -27,10 +27,10 @@ Item* ECSubcircuit::construct( ItemDocument *itemDocument, bool newItem, const c
LibraryItem* ECSubcircuit::libraryItem()
{
return new LibraryItem(
- QString::QString("ec/subcircuit"),
- QString::null,
- QString::null,
- QString::null,
+ TQString::TQString("ec/subcircuit"),
+ TQString(),
+ TQString(),
+ TQString(),
LibraryItem::lit_subcircuit,
ECSubcircuit::construct );
}
@@ -73,17 +73,17 @@ void ECSubcircuit::setNumExtCon( unsigned numExtCon )
p_icnDocument->flushDeleteList();
m_nodeMap.clear();
- QStringList pins;
+ TQStringList pins;
for ( unsigned i=0; i<numExtCon; ++i )
{
- pins += QString::number(i);
+ pins += TQString::number(i);
}
initDIPSymbol( pins, 80 );
// We don't want the text that the dip symbol gave us as we initialize it later...
for ( unsigned i = 0; i < numExtCon; ++i )
- removeDisplayText( QString::number(i) );
+ removeDisplayText( TQString::number(i) );
initDIP(pins);
}
@@ -100,7 +100,7 @@ void ECSubcircuit::dataChanged()
}
-void ECSubcircuit::setExtConName( unsigned numId, const QString & name )
+void ECSubcircuit::setExtConName( unsigned numId, const TQString & name )
{
if ( numId > m_conNames.size() )
return;
@@ -111,14 +111,14 @@ void ECSubcircuit::setExtConName( unsigned numId, const QString & name )
void ECSubcircuit::doneSCInit()
{
- QStringList pins;
+ TQStringList pins;
for ( unsigned i = 0; i < m_conNames.size(); ++i )
pins << m_conNames[i];
initDIPSymbol( pins, 80 );
}
-void ECSubcircuit::drawShape( QPainter &p )
+void ECSubcircuit::drawShape( TQPainter &p )
{
Component::drawShape(p);
}