diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:39:40 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-08-01 04:34:45 +0200 |
| commit | 91ef45e89ef1bb0994d49220556e514d608a664c (patch) | |
| tree | 98e17373a0765a7610021cb90e8668a6eb8ab7fc /src/electronics/components/parallelportcomponent.cpp | |
| parent | e72829f3fa8d309ba0c3f64034c14ce5eecd8590 (diff) | |
| download | ktechlab-91ef45e89ef1bb0994d49220556e514d608a664c.tar.gz ktechlab-91ef45e89ef1bb0994d49220556e514d608a664c.zip | |
Remove additional unneeded tq method conversions
(cherry picked from commit 1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2)
Diffstat (limited to 'src/electronics/components/parallelportcomponent.cpp')
| -rw-r--r-- | src/electronics/components/parallelportcomponent.cpp | 6 |
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; } } |
