summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/eckeypad.cpp
diff options
context:
space:
mode:
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));
}