summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/rotoswitch.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:39:40 -0600
commit1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2 (patch)
treefdf34e0c9a4211231bb084fb40d30d2dff677dea /src/electronics/components/rotoswitch.cpp
parentabb8cd68f820cfe0c96965136890a6bdd1093db5 (diff)
downloadktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.tar.gz
ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/electronics/components/rotoswitch.cpp')
-rw-r--r--src/electronics/components/rotoswitch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/electronics/components/rotoswitch.cpp b/src/electronics/components/rotoswitch.cpp
index ac7f1a0..738942b 100644
--- a/src/electronics/components/rotoswitch.cpp
+++ b/src/electronics/components/rotoswitch.cpp
@@ -245,7 +245,7 @@ void ECRotoSwitch::setUpSwitches()
for(int i=0; i<m_numPositions; i++)
{
SwitchPosition& sp = m_positions[i];
- TQString pinName = TQString("pin_%1").tqarg(i);
+ TQString pinName = TQString("pin_%1").arg(i);
removeNode(pinName);
removeSwitch(sp.posSwitch);
}
@@ -284,7 +284,7 @@ void ECRotoSwitch::setUpSwitches()
// kdDebug() << contactX <<", "<< contactY <<endl;
- sp.node = createPin(contactX,-contactY,sp.pinAngle,TQString("pin_%1").tqarg(i));
+ sp.node = createPin(contactX,-contactY,sp.pinAngle,TQString("pin_%1").arg(i));
sp.posSwitch = createSwitch(m_inNode, sp.node, true);
sp.isMomentary = false;//(map[i] == 'M');
m_positions.push_back(sp);