summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/parallelportcomponent.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/parallelportcomponent.cpp
parentabb8cd68f820cfe0c96965136890a6bdd1093db5 (diff)
downloadktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.tar.gz
ktechlab-1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/electronics/components/parallelportcomponent.cpp')
-rw-r--r--src/electronics/components/parallelportcomponent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/electronics/components/parallelportcomponent.cpp b/src/electronics/components/parallelportcomponent.cpp
index 22f1584..6126c1e 100644
--- a/src/electronics/components/parallelportcomponent.cpp
+++ b/src/electronics/components/parallelportcomponent.cpp
@@ -87,7 +87,7 @@ ParallelPortComponent::ParallelPortComponent( ICNDocument *icnDocument, bool new
//BEGIN Data register
for ( int i = 0; i < 8; ++i )
{
- TQString id = TQString("D%1").tqarg(i);
+ TQString id = TQString("D%1").arg(i);
TQString name = id;
pin = createPin( -40, -80 + 16*i, 0, id );
@@ -167,7 +167,7 @@ ParallelPortComponent::ParallelPortComponent( ICNDocument *icnDocument, bool new
// And make the rest of the pins ground
for ( int i = 0; i < 8; ++i )
{
- pin = createPin( 40, -24 + i*16, 180, TQString("GND%1").tqarg( i ) );
+ pin = createPin( 40, -24 + i*16, 180, TQString("GND%1").arg( i ) );
pin->pin()->setGroundType( Pin::gt_always );
}
#endif
@@ -200,7 +200,7 @@ void ParallelPortComponent::initPort( const TQString & port )
if ( ! m_pParallelPort->openPort( port ) )
{
- p_itemDocument->canvas()->setMessage( i18n("Could not open port %1").tqarg( port ) );
+ p_itemDocument->canvas()->setMessage( i18n("Could not open port %1").arg( port ) );
return;
}
}