summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qzipwriter_p.h
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2010-03-10 11:30:07 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-03-10 11:30:07 (GMT)
commit5746fb12c6e7353483cf130b83fb2ab88f0217a2 (patch)
treeffbc1a520933e74d5944e664fc7e305715d62295 /src/gui/text/qzipwriter_p.h
parent11859316dbe9a5745a7faf93fbe38a1aec9fbbe8 (diff)
downloadQt-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.h2
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;