Added support for reading gzipped glabels files.

- Use zlib to uncompress input
This commit is contained in:
Jim Evins
2015-08-25 02:09:18 -04:00
parent 592aa32b90
commit 5dc773579b
4 changed files with 73 additions and 3 deletions
+1
View File
@@ -52,6 +52,7 @@ namespace glabels
static void writeBuffer( const LabelModel* label, QString& buffer );
private:
static void gunzip( const QByteArray& gzippedData, QByteArray& data );
static LabelModel* parseRootNode( const QDomElement &node );
static void parseObjectsNode( const QDomElement &node, LabelModel* label );
static void parseObjectBoxNode( const QDomElement &node, LabelModel* label );