summaryrefslogtreecommitdiffstats
path: root/src/flowparts/pinmapping.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:14 -0600
commitc1ef065782051db96cdfd32cf55be6408c2a9d22 (patch)
tree0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/flowparts/pinmapping.cpp
parentbab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (diff)
downloadktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.tar.gz
ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.
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;