summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/eckeypad.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:48 -0600
commitbab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (patch)
treeebcbd8371d791d7419485d11deec88587c36aa7e /src/electronics/components/eckeypad.cpp
parent393fa51a38771670ecb265a99ab592e03f4ecc5c (diff)
downloadktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.tar.gz
ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/electronics/components/eckeypad.cpp')
-rw-r--r--src/electronics/components/eckeypad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/electronics/components/eckeypad.cpp b/src/electronics/components/eckeypad.cpp
index c92a562..4a0ec7b 100644
--- a/src/electronics/components/eckeypad.cpp
+++ b/src/electronics/components/eckeypad.cpp
@@ -66,7 +66,7 @@ ECKeyPad::ECKeyPad( ICNDocument *icnDocument, bool newItem, const char *id )
v->setValue(5e-3);
for ( int i = 0; i < 4; i++ )
- createPin( 0, -32+i*24, 0, TQString("row_%1").tqarg(TQString::number(i)) );
+ createPin( 0, -32+i*24, 0, TQString("row_%1").arg(TQString::number(i)) );
m_numCols = 0;
}
@@ -79,7 +79,7 @@ ECKeyPad::~ECKeyPad()
TQString ECKeyPad::buttonID( int row, int col ) const
{
- return TQString("b_%1_%2").tqarg(TQString::number(row)).tqarg(TQString::number(col));
+ return TQString("b_%1_%2").arg(TQString::number(row)).arg(TQString::number(col));
}