File: tzipper.h

package info (click to toggle)
tea 28.1.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,520 kB
  • ctags: 1,556
  • sloc: cpp: 10,148; ansic: 2,960; xml: 2,732; makefile: 7
file content (34 lines) | stat: -rw-r--r-- 573 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef TZIPPER_H
#define TZIPPER_H

#include <QtCore>

#include "quazip.h"
#include "quazipfile.h"


class CZipper: public QObject
{
  Q_OBJECT

public:

   QString string_data;
   QString archive_fullpath;
   QString archive_name;
  
   QStringList files_list;
   
   bool pack_prepared();
   bool zip_directory (const QString &archpath, const QString &dir2pack);
   bool read_as_utf8 (const QString &archname, const QString &fname);

signals:

   void new_iteration (const QFileInfo &fi);
};

QByteArray gzip_deflateFile (const QString &fileName);


#endif // TZIPPER_H