summaryrefslogtreecommitdiffstats
path: root/lib/store
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-25 11:21:54 +0900
committerMichele Calgaro <[email protected]>2023-08-29 12:16:41 +0900
commit73836b4ca5f241d070dd34ac1d9bb828e05f9544 (patch)
tree001b3935b9362f17083be2a8225e6ff42afc2019 /lib/store
parent1607518b8c749b4195c5ab11b405f77001526a6a (diff)
downloadkoffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.tar.gz
koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e0df02598b8e19d8b6ddf07fdbca661489ab2e99)
Diffstat (limited to 'lib/store')
-rw-r--r--lib/store/KoStoreDevice.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/store/KoStoreDevice.h b/lib/store/KoStoreDevice.h
index 9d62b21c..1f257dc9 100644
--- a/lib/store/KoStoreDevice.h
+++ b/lib/store/KoStoreDevice.h
@@ -46,11 +46,7 @@ public:
void close() { }
void flush() { }
-#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
@@ -62,11 +58,6 @@ public:
// Not virtual, only to uncover shadow
TQ_LONG writeBlock( const TQByteArray& data ) { return TQIODevice::writeBlock( data ); }
-#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
-
int getch() {
char c[2];
if ( m_store->read(c, 1) == -1)