summaryrefslogtreecommitdiffstats
path: root/src/flowparts/pinmapping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flowparts/pinmapping.cpp')
-rw-r--r--src/flowparts/pinmapping.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/flowparts/pinmapping.cpp b/src/flowparts/pinmapping.cpp
index 46cdf04..289cbc4 100644
--- a/src/flowparts/pinmapping.cpp
+++ b/src/flowparts/pinmapping.cpp
@@ -26,7 +26,7 @@
#include <tqaccel.h>
#include <tqapplication.h>
#include <tqframe.h>
-#include <layout.h>
+#include <tqlayout.h>
//BEGIN class PinMapping
@@ -186,10 +186,10 @@ void PinMapDocument::init( const PinMapping & pinMapping, MicroInfo * microInfo
{
TQStringList::const_iterator it = pins.begin();
for ( unsigned row = 0; (row < 4) && (it != end); ++row, ++it )
- createConnector( m_pKeypad->childNode( TQString("row_%1").arg( row ) ), m_pPicComponent->childNode( *it ) );
+ createConnector( m_pKeypad->childNode( TQString("row_%1").tqarg( row ) ), m_pPicComponent->childNode( *it ) );
for ( unsigned col = 0; (col < keypadCols) && (it != end); ++col, ++it )
- createConnector( m_pKeypad->childNode( TQString("col_%1").arg( col ) ), m_pPicComponent->childNode( *it ) );
+ createConnector( m_pKeypad->childNode( TQString("col_%1").tqarg( col ) ), m_pPicComponent->childNode( *it ) );
}
clearHistory(); // Don't allow undoing of initial creation of stuff
@@ -255,17 +255,17 @@ PinMapping PinMapDocument::pinMapping() const
case PinMapping::Keypad_4x3:
for ( unsigned i = 0; i < 4; ++i )
- attachedIDs << TQString("row_%1").arg(i);
+ attachedIDs << TQString("row_%1").tqarg(i);
for ( unsigned i = 0; i < 3; ++i )
- attachedIDs << TQString("col_%1").arg(i);
+ attachedIDs << TQString("col_%1").tqarg(i);
attached = m_pKeypad;
break;
case PinMapping::Keypad_4x4:
for ( unsigned i = 0; i < 4; ++i )
- attachedIDs << TQString("row_%1").arg(i);
+ attachedIDs << TQString("row_%1").tqarg(i);
for ( unsigned i = 0; i < 4; ++i )
- attachedIDs << TQString("col_%1").arg(i);
+ attachedIDs << TQString("col_%1").tqarg(i);
attached = m_pKeypad;
break;