Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QZipStreamStrategy Class Reference
+ Inheritance diagram for QZipStreamStrategy:
+ Collaboration diagram for QZipStreamStrategy:

Public Member Functions

 QZipStreamStrategy (QIODevice *device)
 
 ~QZipStreamStrategy ()
 
virtual void addFile (const QString &fileName, const QString &mimeType, const QByteArray &bytes) override
 
- Public Member Functions inherited from QOutputStrategy
 QOutputStrategy ()
 
virtual ~QOutputStrategy ()
 
QString createUniqueImageName ()
 

Additional Inherited Members

- Public Attributes inherited from QOutputStrategy
QIODevicecontentStream
 
int counter
 

Detailed Description

Definition at line 71 of file qtextodfwriter.cpp.

Constructor & Destructor Documentation

◆ QZipStreamStrategy()

QZipStreamStrategy::QZipStreamStrategy ( QIODevice * device)
inline

Definition at line 73 of file qtextodfwriter.cpp.

References QZipWriter::addFile(), addFile(), QZipWriter::AutoCompress, QOutputStrategy::contentStream, QString::fromLatin1(), mime, QZipWriter::NeverCompress, QBuffer::open(), QZipWriter::setCompressionPolicy(), and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

◆ ~QZipStreamStrategy()

QZipStreamStrategy::~QZipStreamStrategy ( )
inline

Definition at line 98 of file qtextodfwriter.cpp.

References QZipWriter::addFile(), QZipWriter::close(), QBuffer::close(), and QString::fromLatin1().

+ Here is the call graph for this function:

Member Function Documentation

◆ addFile()

virtual void QZipStreamStrategy::addFile ( const QString & fileName,
const QString & mimeType,
const QByteArray & bytes )
inlineoverridevirtual

Implements QOutputStrategy.

Definition at line 108 of file qtextodfwriter.cpp.

References QZipWriter::addFile(), addFile(), fileName, and mimeType.

Referenced by QZipStreamStrategy(), and addFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: