summaryrefslogtreecommitdiffstats
path: root/kbarcode/textlineitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:55:56 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:55:56 -0600
commitabb955bc2a696c0283c1efd82c4edf4d06f314a7 (patch)
tree90639442ba9f4e06fccc0f4f7b7aed315423e6f1 /kbarcode/textlineitem.cpp
parent64e14d1bc38e39001b5ec84a6e13198ef3c67315 (diff)
downloadkbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.tar.gz
kbarcode-abb955bc2a696c0283c1efd82c4edf4d06f314a7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 64e14d1bc38e39001b5ec84a6e13198ef3c67315.
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 2beaabf..c387bc2 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;").arg( counter ); // field number
+ TQString s = TQString("H%1;").tqarg( counter ); // field number
s += utils->fieldOrigin( rect().x(), rect().y() );
- 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 !
+ 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 !
*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").arg( rect().x() + 1 );
- s += TQString(" %1 0 0 0 50 1").arg( rect().y()+50+1 + i*52 );
- s += TQString(" %1").arg( *line );
+ 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 );
*stream << EPCLUtils::field( s );
}
}