|
|
@ -67,14 +67,14 @@ TQString tec452(const TQString &url, int count, const TQString &art, const TQStr
|
|
|
|
|
|
|
|
|
|
|
|
TQFile f( filename );
|
|
|
|
TQFile f( filename );
|
|
|
|
if ( !f.open( IO_ReadOnly ) )
|
|
|
|
if ( !f.open( IO_ReadOnly ) )
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
|
|
//clearLabel();
|
|
|
|
//clearLabel();
|
|
|
|
|
|
|
|
|
|
|
|
TQDomDocument doc( "KBarcodeLabel" );
|
|
|
|
TQDomDocument doc( "KBarcodeLabel" );
|
|
|
|
if ( !doc.setContent( &f ) ) {
|
|
|
|
if ( !doc.setContent( &f ) ) {
|
|
|
|
f.close();
|
|
|
|
f.close();
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
f.close();
|
|
|
|
f.close();
|
|
|
|
|
|
|
|
|
|
|
|