summaryrefslogtreecommitdiffstats
path: root/src/micro/micropackage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/micro/micropackage.cpp')
-rw-r--r--src/micro/micropackage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/micro/micropackage.cpp b/src/micro/micropackage.cpp
index 9becbab..a5e8809 100644
--- a/src/micro/micropackage.cpp
+++ b/src/micro/micropackage.cpp
@@ -21,7 +21,7 @@ PicPin::PicPin()
}
-PicPin::PicPin( const QString &_pinID, PicPin::pin_type _type, const QString &_portName, int _portPosition )
+PicPin::PicPin( const TQString &_pinID, PicPin::pin_type _type, const TQString &_portName, int _portPosition )
{
pinID = _pinID;
type = _type;
@@ -38,14 +38,14 @@ MicroPackage::~MicroPackage()
{
}
-void MicroPackage::assignPin( int pinPosition, PicPin::pin_type type, const QString& pinID, const QString& portName, int portPosition )
+void MicroPackage::assignPin( int pinPosition, PicPin::pin_type type, const TQString& pinID, const TQString& portName, int portPosition )
{
- if ( m_picPinMap.find(pinPosition) != m_picPinMap.end() )
+ if ( m_picPinMap.tqfind(pinPosition) != m_picPinMap.end() )
{
kdError() << "PicDevice::assignBidirPin: Attempting to reset pin "<<pinPosition<<endl;
return;
}
- if ( !m_portNames.contains(portName) && !portName.isEmpty() )
+ if ( !m_portNames.tqcontains(portName) && !portName.isEmpty() )
{
m_portNames.append(portName);
m_portNames.sort();
@@ -55,7 +55,7 @@ void MicroPackage::assignPin( int pinPosition, PicPin::pin_type type, const QStr
}
-PicPinMap MicroPackage::pins( uint pinType, const QString& portName )
+PicPinMap MicroPackage::pins( uint pinType, const TQString& portName )
{
if ( pinType == 0 ) pinType = (1<<30)-1;
@@ -74,10 +74,10 @@ PicPinMap MicroPackage::pins( uint pinType, const QString& portName )
return list;
}
-QStringList MicroPackage::pinIDs( uint pinType, const QString& portName )
+TQStringList MicroPackage::pinIDs( uint pinType, const TQString& portName )
{
if ( pinType == 0 ) pinType = (1<<30)-1;
- QStringList list;
+ TQStringList list;
const PicPinMap::iterator picPinListEnd = m_picPinMap.end();
for ( PicPinMap::iterator it = m_picPinMap.begin(); it != picPinListEnd; ++it )
@@ -92,7 +92,7 @@ QStringList MicroPackage::pinIDs( uint pinType, const QString& portName )
return list;
}
-int MicroPackage::pinCount( uint pinType, const QString& portName )
+int MicroPackage::pinCount( uint pinType, const TQString& portName )
{
if ( pinType == 0 ) pinType = (1<<30)-1;
int count = 0;