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/multiplexer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/electronics/components/multiplexer.cpp') diff --git a/src/electronics/components/multiplexer.cpp b/src/electronics/components/multiplexer.cpp index e421fee..a8770e4 100644 --- a/src/electronics/components/multiplexer.cpp +++ b/src/electronics/components/multiplexer.cpp @@ -26,7 +26,7 @@ Item* Multiplexer::construct( ItemDocument *itemDocument, bool newItem, const ch LibraryItem* Multiplexer::libraryItem() { return new LibraryItem( - QString("ec/multiplexer"), + TQString("ec/multiplexer"), i18n("Multiplexer"), i18n("Integrated Circuits"), "ic1.png", @@ -109,14 +109,14 @@ void Multiplexer::initPins( unsigned newAddressSize ) if ( newXLogicCount == oldXLogicCount ) return; - QStringList pins; + TQStringList pins; const int length = newAddressSize + newXLogicCount; for ( unsigned i=0; isetCallback( this, (CallbackPtr)(&Multiplexer::inStateChanged) ); } @@ -147,7 +147,7 @@ void Multiplexer::initPins( unsigned newAddressSize ) m_aLogic.resize(newAddressSize); for ( unsigned i=oldAddressSize; isetCallback( this, (CallbackPtr)(&Multiplexer::inStateChanged) ); } @@ -156,7 +156,7 @@ void Multiplexer::initPins( unsigned newAddressSize ) { for ( unsigned i = newXLogicCount; i < oldXLogicCount; ++i ) { - QString id = "X"+QString::number(i); + TQString id = "X"+TQString::number(i); removeDisplayText(id); removeElement( m_xLogic[i], false ); removeNode(id); @@ -165,7 +165,7 @@ void Multiplexer::initPins( unsigned newAddressSize ) for ( unsigned i = newAddressSize; i < oldAddressSize; ++i ) { - QString id = "A"+QString::number(i); + TQString id = "A"+TQString::number(i); removeDisplayText(id); removeElement( m_aLogic[i], false ); removeNode(id); -- cgit v1.2.1