Menu

[efa3d9]: / src / zip-agent.h  Maximize  Restore  History

Download this file

42 lines (31 with data), 713 Bytes

 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
35
36
37
38
39
40
41
#ifndef ZIPAGENT_H
#define ZIPAGENT_H
#include <QDir>
#include <QMessageBox>
#include <QProcess>
#include "file.h"
class ZipAgent : public QProcess {
Q_OBJECT
public:
ZipAgent(QDir zipDir, QString zipName);
~ZipAgent();
public:
static bool checkZipTool();
static bool checkUnzipTool();
void setBackgroundProcess(bool);
void startZip();
void startUnzip();
QDir zipDir();
QString zipName();
signals:
void zipFinished();
void zipError();
private slots:
void zipProcessFinished (int exitCode, QProcess::ExitStatus exitStatus);
private:
QDir zipDirInt;
QString zipNameInt;
bool isBackgroundProcessInt;
QStringList args;
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.