summaryrefslogtreecommitdiffstats
path: root/kbarcode/textlineitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:36:06 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-07-30 01:02:57 +0200
commitc3a149dc44356276c11db3d2f075ca872f846cae (patch)
tree7fe4e94140d0cfb6ceb2b834c065a873c2c2d81f /kbarcode/textlineitem.cpp
parent16d04a9d15b29020d4ef58e49b01c919409fe1bf (diff)
downloadkbarcode-c3a149dc44356276c11db3d2f075ca872f846cae.tar.gz
kbarcode-c3a149dc44356276c11db3d2f075ca872f846cae.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 4541cff71067e65367cea5ff44e5136934e8a333)
Diffstat (limited to 'kbarcode/textlineitem.cpp')
-rw-r--r--kbarcode/textlineitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbarcode/textlineitem.cpp b/kbarcode/textlineitem.cpp
index c387bc2..2beaabf 100644
--- a/kbarcode/textlineitem.cpp
+++ b/kbarcode/textlineitem.cpp
@@ -99,14 +99,14 @@ void TextLineItem::drawIpl( TQTextStream* stream, IPLUtils* utils )
// simply remove all html tags....
TQString data = m_text.replace( TQRegExp("<[^>]*>"), "" );
- TQString s = TQString("H%1;").tqarg( counter ); // field number
+ TQString s = TQString("H%1;").arg( counter ); // field number
s += utils->fieldOrigin( rect().x(), rect().y() );
- s += TQString("c%1;").tqarg( 2 ); // font
- s += TQString("h%1;").tqarg( 2 ); // vertical magnification ("height")
- s += TQString("w%1;").tqarg( 2 ); // horicontyl magnification ("width")
- s += TQString("d0,%1;").tqarg( data.length() ); // max length of data !
+ s += TQString("c%1;").arg( 2 ); // font
+ s += TQString("h%1;").arg( 2 ); // vertical magnification ("height")
+ s += TQString("w%1;").arg( 2 ); // horicontyl magnification ("width")
+ s += TQString("d0,%1;").arg( data.length() ); // max length of data !
*stream << utils->field( s );
utils->addValue( data );
@@ -129,9 +129,9 @@ void TextLineItem::drawEPcl( TQTextStream* stream )
TQStringList::Iterator line = lines.begin();
for( int i=0; line != lines.end(); ++line, ++i ){
- TQString s = TQString("T %1").tqarg( rect().x() + 1 );
- s += TQString(" %1 0 0 0 50 1").tqarg( rect().y()+50+1 + i*52 );
- s += TQString(" %1").tqarg( *line );
+ TQString s = TQString("T %1").arg( rect().x() + 1 );
+ s += TQString(" %1 0 0 0 50 1").arg( rect().y()+50+1 + i*52 );
+ s += TQString(" %1").arg( *line );
*stream << EPCLUtils::field( s );
}
}