[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/compression
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2007-05-31 14:12:00
Message-ID: 1180620720.551147.17389.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 670160 by rdale:
* Change the readData() and writeData() methods to protected so that they
have the same access as the corresponding pure virtual functions in
qiodevice.h
M +4 -3 kfilterdev.h
--- trunk/KDE/kdelibs/kdecore/compression/kfilterdev.h #670159:670160
@@ -74,9 +74,6 @@
virtual bool atEnd() const;
- virtual qint64 readData( char *data, qint64 maxlen );
- virtual qint64 writeData( const char *data, qint64 len );
-
/// Reimplemented to return true. KFilterDev is a sequential QIODevice.
/// Well, not really, since it supports seeking and KZip uses that.
//virtual bool isSequential() const { return true; }
@@ -136,6 +133,10 @@
*/
static QIODevice * device( QIODevice* inDevice, const QString & mimetype, bool \
autoDeleteInDevice = true );
+protected:
+ virtual qint64 readData( char *data, qint64 maxlen );
+ virtual qint64 writeData( const char *data, qint64 len );
+
private:
/**
* Constructs a KFilterDev for a given filter (e.g. gzip, bzip2 etc.).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic