新增.h文件
This commit is contained in:
17
aptpkginfo.h
Normal file
17
aptpkginfo.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef APTPKGINFO_H
|
||||
#define APTPKGINFO_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QProcess>
|
||||
|
||||
class AptPkgInfo: QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AptPkgInfo(QString pkgName);
|
||||
|
||||
QStringList GetAptPackageList(QString name);
|
||||
QByteArray GetCommandResult(QString command, QStringList argv, QProcessEnvironment env = QProcessEnvironment::systemEnvironment());
|
||||
};
|
||||
|
||||
#endif // APTPKGINFO_H
|
||||
Reference in New Issue
Block a user