mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 11:02:04 +08:00
23 lines
479 B
C++
23 lines
479 B
C++
#ifndef INSTALLDEB_H
|
|
#define INSTALLDEB_H
|
|
|
|
#include <QObject>
|
|
#include <qtermwidget5/qtermwidget.h>
|
|
#include <DMainWindow>
|
|
using namespace Dtk::Widget;
|
|
|
|
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
|