summaryrefslogtreecommitdiffstats
path: root/kbarcode/textlineitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:05 -0600
commit64e14d1bc38e39001b5ec84a6e13198ef3c67315 (patch)
tree437361622d1cb449120e4eb6ca9265f3e838db8c /kbarcode/textlineitem.cpp
parentfb010b103703b3229758ce9cf1341979cc450204 (diff)
downloadkbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.tar.gz
kbarcode-64e14d1bc38e39001b5ec84a6e13198ef3c67315.zip
Rename a number of old tq methods that are no longer tq specific
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 );
}
}