mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
23 lines
472 B
C++
23 lines
472 B
C++
#ifndef INSTALLDEB_H
|
|
#define INSTALLDEB_H
|
|
|
|
#include <QObject>
|
|
#include <qtermwidget5/qtermwidget.h>
|
|
#include <DMainWindow>
|
|
DWIDGET_USE_NAMESPACE
|
|
|
|
class InstallDEB
|
|
{
|
|
public:
|
|
InstallDEB(QTermWidget *terminal, DMainWindow *mainWindow = NULL);
|
|
void AddCommand(QString command);
|
|
void RunCommand(bool withRoot=false);
|
|
QStringList commandList;
|
|
private:
|
|
QTermWidget *terminal;
|
|
DMainWindow *mainWindow = NULL;
|
|
bool runStatus;
|
|
};
|
|
|
|
#endif // INSTALLDEB_H
|