summaryrefslogtreecommitdiffstats
path: root/kbarcode/textitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:56 -0600
commitabb955bc2a696c0283c1efd82c4edf4d06f314a7 (patch)
tree90639442ba9f4e06fccc0f4f7b7aed315423e6f1 /kbarcode/textitem.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/textitem.cpp')
-rw-r--r--kbarcode/textitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbarcode/textitem.cpp b/kbarcode/textitem.cpp
index 0b00e7a..61b792e 100644
--- a/kbarcode/textitem.cpp
+++ b/kbarcode/textitem.cpp
@@ -134,14 +134,14 @@ void TextItem::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 );
@@ -165,9 +165,9 @@ void TextItem::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 );
}
}