summaryrefslogtreecommitdiffstats
path: root/kbarcode/barcodeitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/barcodeitem.cpp')
-rw-r--r--kbarcode/barcodeitem.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kbarcode/barcodeitem.cpp b/kbarcode/barcodeitem.cpp
index 39af930..2b34aaa 100644
--- a/kbarcode/barcodeitem.cpp
+++ b/kbarcode/barcodeitem.cpp
@@ -213,13 +213,13 @@ void BarcodeItem::drawIpl( TQTextStream* stream, IPLUtils* utils )
}
int counter = utils->counter();
- TQString s = TQString("B%1;").tqarg( counter ); // field number
+ TQString s = TQString("B%1;").arg( counter ); // field number
s += utils->fieldOrigin( rect().x(), rect().y() );
- s += TQString("c%1;").tqarg( encoding ); // encoding type
- s += TQString("h%1;").tqarg( rect().height() ); // height of barcode
- s += TQString("w%1;").tqarg( 3 ); // width of barcode (per line)
- s += TQString("d0,%1;").tqarg( value().length() ); // max length of data
+ s += TQString("c%1;").arg( encoding ); // encoding type
+ s += TQString("h%1;").arg( rect().height() ); // height of barcode
+ s += TQString("w%1;").arg( 3 ); // width of barcode (per line)
+ s += TQString("d0,%1;").arg( value().length() ); // max length of data
*stream << utils->field( s );
utils->addValue( value() );
@@ -235,11 +235,11 @@ void BarcodeItem::drawEPcl( TQTextStream* stream )
}
// Coordinates cannot start at zero
- TQString s = TQString("B %1").tqarg( rect().x()+1 );
- s += TQString(" %1 0").tqarg( rect().y() + rect().height() );
- s += TQString(" %1 1 4").tqarg( encoding );
- s += TQString(" %1 1").tqarg( rect().height() );
- s += TQString(" %1").tqarg( value() );
+ TQString s = TQString("B %1").arg( rect().x()+1 );
+ s += TQString(" %1 0").arg( rect().y() + rect().height() );
+ s += TQString(" %1 1 4").arg( encoding );
+ s += TQString(" %1 1").arg( rect().height() );
+ s += TQString(" %1").arg( value() );
*stream << EPCLUtils::field( s );
}