diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:05 -0600 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:05 -0600 | 
| commit | 64e14d1bc38e39001b5ec84a6e13198ef3c67315 (patch) | |
| tree | 437361622d1cb449120e4eb6ca9265f3e838db8c /kbarcode/rectitem.cpp | |
| parent | fb010b103703b3229758ce9cf1341979cc450204 (diff) | |
| download | kbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.tar.gz kbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.zip | |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kbarcode/rectitem.cpp')
| -rw-r--r-- | kbarcode/rectitem.cpp | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/kbarcode/rectitem.cpp b/kbarcode/rectitem.cpp index 40ce7fa..9e52e97 100644 --- a/kbarcode/rectitem.cpp +++ b/kbarcode/rectitem.cpp @@ -81,9 +81,9 @@ void RectItem::drawZpl( TQTextStream* stream )      *stream << ZPLUtils::fieldOrigin( rect().x(), rect().y() );      if( m_circle ) -        *stream << TQString("~GE%1,%2,%3,B").tqarg( rect().width() ).tqarg( rect().height() ).tqarg( thick ); +        *stream << TQString("~GE%1,%2,%3,B").arg( rect().width() ).arg( rect().height() ).arg( thick );      else -        *stream << TQString("~GB%1,%2,%3,B,0").tqarg( rect().width() ).tqarg( rect().height() ).tqarg( thick ); +        *stream << TQString("~GB%1,%2,%3,B,0").arg( rect().width() ).arg( rect().height() ).arg( thick );  }  void RectItem::drawIpl( TQTextStream* stream, IPLUtils* utils ) @@ -97,12 +97,12 @@ void RectItem::drawIpl( TQTextStream* stream, IPLUtils* utils )      {          int counter = utils->counter(); -        TQString s = TQString("W%1;").tqarg( counter ); // field number +        TQString s = TQString("W%1;").arg( counter ); // field number          s += utils->fieldOrigin( rect().x(), rect().y() ); -        s += TQString("l%1;").tqarg( rect().width() ); // box length -        s += TQString("h%1;").tqarg( rect().height() ); // box height -        s += TQString("w%1;").tqarg( thick ); +        s += TQString("l%1;").arg( rect().width() ); // box length +        s += TQString("h%1;").arg( rect().height() ); // box height +        s += TQString("w%1;").arg( thick );          *stream << utils->field( s );      } @@ -110,11 +110,11 @@ void RectItem::drawIpl( TQTextStream* stream, IPLUtils* utils )  void RectItem::drawEPcl( TQTextStream* stream )  { -    TQString s = TQString("C %1").tqarg( rect().x()+1 ); -    s += TQString(" %1").tqarg( rect().y()+1 ); -    s += TQString(" %1").tqarg( rect().width() ); -    s += TQString(" %1").tqarg( rect().height() ); -    s += TQString(" %1 2").tqarg( pen().width() ); +    TQString s = TQString("C %1").arg( rect().x()+1 ); +    s += TQString(" %1").arg( rect().y()+1 ); +    s += TQString(" %1").arg( rect().width() ); +    s += TQString(" %1").arg( rect().height() ); +    s += TQString(" %1 2").arg( pen().width() );      *stream << EPCLUtils::field( s );  } | 
