summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:35:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:07:40 +0900
commit386d824e48f9c050b839ba313234cf7fa1ba833f (patch)
tree2a85a0b9a22340e67e491592673bb7ad0f4d41eb
parentb591f1955f5e6de44330db8f0e3db1bc3a099e6b (diff)
downloadk3b-386d824e48f9c050b839ba313234cf7fa1ba833f.tar.gz
k3b-386d824e48f9c050b839ba313234cf7fa1ba833f.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b67830aae3b0bd8e8bfd2be1a7714dcb978ff59b)
-rw-r--r--plugins/decoder/flac/k3bflacdecoder.cpp2
-rw-r--r--src/projects/kostore/koStore.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/decoder/flac/k3bflacdecoder.cpp b/plugins/decoder/flac/k3bflacdecoder.cpp
index 9d2ab81..6a95854 100644
--- a/plugins/decoder/flac/k3bflacdecoder.cpp
+++ b/plugins/decoder/flac/k3bflacdecoder.cpp
@@ -57,7 +57,7 @@ public:
file = f;
file->open(IO_ReadOnly);
- TQT_TQIODEVICE(internalBuffer)->flush();
+ internalBuffer->flush();
set_metadata_respond(FLAC__METADATA_TYPE_STREAMINFO);
set_metadata_respond(FLAC__METADATA_TYPE_VORBIS_COMMENT);
diff --git a/src/projects/kostore/koStore.cpp b/src/projects/kostore/koStore.cpp
index 24fc737..c59ab0f 100644
--- a/src/projects/kostore/koStore.cpp
+++ b/src/projects/kostore/koStore.cpp
@@ -69,7 +69,7 @@ KoStore* KoStore::createStore( const TQString& fileName, Mode mode, const TQCStr
{
TQFile file( fileName );
if ( file.open( IO_ReadOnly ) )
- backend = determineBackend( TQT_TQIODEVICE(&file) );
+ backend = determineBackend( &file );
else
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 );
if ( file.open( IO_ReadOnly ) )
{
- backend = determineBackend( TQT_TQIODEVICE(&file) );
+ backend = determineBackend( &file );
file.close();
}
}