From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/electronics/components/ecsubcircuit.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/electronics/components/ecsubcircuit.cpp') 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 #include -#include +#include 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 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); } -- cgit v1.2.1