Replaced various '#define' with actual strings - part 5

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/36/head
Michele Calgaro 12 months ago
parent 00a24ebc1b
commit b67830aae3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -57,7 +57,7 @@ public:
file = f; file = f;
file->open(IO_ReadOnly); file->open(IO_ReadOnly);
TQT_TQIODEVICE(internalBuffer)->flush(); internalBuffer->flush();
set_metadata_respond(FLAC__METADATA_TYPE_STREAMINFO); set_metadata_respond(FLAC__METADATA_TYPE_STREAMINFO);
set_metadata_respond(FLAC__METADATA_TYPE_VORBIS_COMMENT); set_metadata_respond(FLAC__METADATA_TYPE_VORBIS_COMMENT);

@ -69,7 +69,7 @@ KoStore* KoStore::createStore( const TQString& fileName, Mode mode, const TQCStr
{ {
TQFile file( fileName ); TQFile file( fileName );
if ( file.open( IO_ReadOnly ) ) if ( file.open( IO_ReadOnly ) )
backend = determineBackend( TQT_TQIODEVICE(&file) ); backend = determineBackend( &file );
else else
backend = DefaultFormat; // will create a "bad" store (bad()==true) backend = DefaultFormat; // will create a "bad" store (bad()==true)
} }
@ -143,7 +143,7 @@ KoStore* KoStore::createStore( TQWidget* window, const KURL& url, Mode mode, con
TQFile file( tmpFile ); TQFile file( tmpFile );
if ( file.open( IO_ReadOnly ) ) if ( file.open( IO_ReadOnly ) )
{ {
backend = determineBackend( TQT_TQIODEVICE(&file) ); backend = determineBackend( &file );
file.close(); file.close();
} }
} }

Loading…
Cancel
Save