|
|
@ -117,7 +117,7 @@ bool BarCode::createPixmap( TQPixmap* target, int resx, int resy )
|
|
|
|
<< "-b" << KShellProcess::quote( m_value ) << flag
|
|
|
|
<< "-b" << KShellProcess::quote( m_value ) << flag
|
|
|
|
<< "-e" << barcode.type << "-o" << output->name();
|
|
|
|
<< "-e" << barcode.type << "-o" << output->name();
|
|
|
|
|
|
|
|
|
|
|
|
proc.start( KProcess::Block, KProcess::NoCommunication );
|
|
|
|
proc.start( TDEProcess::Block, TDEProcess::NoCommunication );
|
|
|
|
proc.resume();
|
|
|
|
proc.resume();
|
|
|
|
|
|
|
|
|
|
|
|
if( proc.exitStatus() ) {
|
|
|
|
if( proc.exitStatus() ) {
|
|
|
@ -143,7 +143,7 @@ bool BarCode::createPixmap( TQPixmap* target, int resx, int resy )
|
|
|
|
<< "-sDEVICE=pbmraw" << "-sOutputFile=" + input->name() << "-sNOPAUSE"
|
|
|
|
<< "-sDEVICE=pbmraw" << "-sOutputFile=" + input->name() << "-sNOPAUSE"
|
|
|
|
<< "-q " + output->name() << "-c showpage" << "-c quit";
|
|
|
|
<< "-q " + output->name() << "-c showpage" << "-c quit";
|
|
|
|
|
|
|
|
|
|
|
|
proc2.start( KProcess::Block, KProcess::NoCommunication );
|
|
|
|
proc2.start( TDEProcess::Block, TDEProcess::NoCommunication );
|
|
|
|
proc2.resume();
|
|
|
|
proc2.resume();
|
|
|
|
|
|
|
|
|
|
|
|
if( proc2.exitStatus() ) {
|
|
|
|
if( proc2.exitStatus() ) {
|
|
|
@ -220,7 +220,7 @@ bool BarCode::createPdf417( KTempFile* output )
|
|
|
|
<< barcode.pdf417.col
|
|
|
|
<< barcode.pdf417.col
|
|
|
|
<< barcode.pdf417.err;
|
|
|
|
<< barcode.pdf417.err;
|
|
|
|
|
|
|
|
|
|
|
|
proc.start( KProcess::Block, KProcess::NoCommunication );
|
|
|
|
proc.start( TDEProcess::Block, TDEProcess::NoCommunication );
|
|
|
|
proc.resume();
|
|
|
|
proc.resume();
|
|
|
|
|
|
|
|
|
|
|
|
if( proc.exitStatus() ) {
|
|
|
|
if( proc.exitStatus() ) {
|
|
|
@ -257,7 +257,7 @@ bool BarCode::createTBarcode( KTempFile* output )
|
|
|
|
.arg( barcode.pdf417.err );
|
|
|
|
.arg( barcode.pdf417.err );
|
|
|
|
|
|
|
|
|
|
|
|
proc << barcode.type << "tPS" << TQString("c%1").arg( barcode.tbarcode.checksum ) << flag << "d" + KShellProcess::quote( m_value );
|
|
|
|
proc << barcode.type << "tPS" << TQString("c%1").arg( barcode.tbarcode.checksum ) << flag << "d" + KShellProcess::quote( m_value );
|
|
|
|
proc.start( KProcess::Block, KProcess::NoCommunication );
|
|
|
|
proc.start( TDEProcess::Block, TDEProcess::NoCommunication );
|
|
|
|
proc.resume();
|
|
|
|
proc.resume();
|
|
|
|
|
|
|
|
|
|
|
|
if( proc.exitStatus() )
|
|
|
|
if( proc.exitStatus() )
|
|
|
|