diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-03-10 11:30:07 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-03-10 11:30:07 (GMT) |
commit | 5746fb12c6e7353483cf130b83fb2ab88f0217a2 (patch) | |
tree | ffbc1a520933e74d5944e664fc7e305715d62295 /src/gui/text/qzipwriter_p.h | |
parent | 11859316dbe9a5745a7faf93fbe38a1aec9fbbe8 (diff) | |
download | Qt-5746fb12c6e7353483cf130b83fb2ab88f0217a2.zip Qt-5746fb12c6e7353483cf130b83fb2ab88f0217a2.tar.gz Qt-5746fb12c6e7353483cf130b83fb2ab88f0217a2.tar.bz2 |
Add `QIODevice* device() const` public method to QZip classes.
allows to fetch some extra info from the used device (errorString() for ex.)
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'src/gui/text/qzipwriter_p.h')
-rw-r--r-- | src/gui/text/qzipwriter_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qzipwriter_p.h b/src/gui/text/qzipwriter_p.h index 9322f4a..a50c172 100644 --- a/src/gui/text/qzipwriter_p.h +++ b/src/gui/text/qzipwriter_p.h @@ -69,6 +69,8 @@ public: explicit QZipWriter(QIODevice *device); ~QZipWriter(); + QIODevice* device() const; + bool isWritable() const; bool exists() const; |