From 04086637d9bcdd8b39d1ae2c4025a92d248e7755 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 25 Aug 2023 10:22:42 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro (cherry picked from commit c19b14663d5ec4766ebd44c5daa8f1275077b0dd) --- src/projects/k3bmusicbrainzjob.h | 4 ---- src/projects/kostore/koStoreDevice.h | 9 --------- 2 files changed, 13 deletions(-) (limited to 'src/projects') diff --git a/src/projects/k3bmusicbrainzjob.h b/src/projects/k3bmusicbrainzjob.h index 6975680..f69266a 100644 --- a/src/projects/k3bmusicbrainzjob.h +++ b/src/projects/k3bmusicbrainzjob.h @@ -20,10 +20,6 @@ #include #endif -#ifdef Q_MOC_RUN -#define HAVE_MUSICBRAINZ -#endif // Q_MOC_RUN - #ifdef HAVE_MUSICBRAINZ #include diff --git a/src/projects/kostore/koStoreDevice.h b/src/projects/kostore/koStoreDevice.h index df8cebf..2684cb6 100644 --- a/src/projects/kostore/koStoreDevice.h +++ b/src/projects/kostore/koStoreDevice.h @@ -46,16 +46,7 @@ public: void close() { } void flush() { } -#ifdef USE_QT4 - inline qint64 readData ( char * data, qint64 maxSize ) { return readBlock(data, maxSize); } - inline qint64 writeData ( const char * data, qint64 maxSize ) { return writeBlock(data, maxSize); } -#endif // USE_QT4 - -#ifdef USE_QT4 - qint64 size() const { -#else // USE_QT4 Offset size() const { -#endif // USE_QT4 if ( m_store->mode() == KoStore::Read ) return m_store->size(); else -- cgit v1.2.1