summaryrefslogtreecommitdiffstats
path: root/kbarcode/purepostscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/purepostscript.cpp')
-rw-r--r--kbarcode/purepostscript.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbarcode/purepostscript.cpp b/kbarcode/purepostscript.cpp
index cdbf1e9..43c7f84 100644
--- a/kbarcode/purepostscript.cpp
+++ b/kbarcode/purepostscript.cpp
@@ -190,8 +190,8 @@ void PurePostscriptBarcode::createProgram( TQString & prg )
prg = "%!PS-Adobe-2.0 EPSF-2.0\n%%EndComments\n%%EndProlog\n";
prg += m_program;
prg += TQString("20 20 moveto\n(%1) (%2) %3 barcode\n")
- .tqarg( barkode->parsedValue() )
- .tqarg( opt ).tqarg( type );
+ .arg( barkode->parsedValue() )
+ .arg( opt ).arg( type );
}
TQRect PurePostscriptBarcode::bbox( const char* postscript, long postscript_size )
@@ -206,7 +206,7 @@ TQRect PurePostscriptBarcode::bbox( const char* postscript, long postscript_size
psfile.file()->writeBlock( postscript, postscript_size );
psfile.file()->close();
- if( !readFromPipe( TQString( gs_bbox ).tqarg( psfile.file()->name() ).latin1(), &buffer, &len ) || !len )
+ if( !readFromPipe( TQString( gs_bbox ).arg( psfile.file()->name() ).latin1(), &buffer, &len ) || !len )
{
psfile.unlink();
return TQRect( 0, 0, 0, 0 );