mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-16 15:19:58 +00:00
implement #51 for upgrade and scripts
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#define EXTSCRIPT_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QProcess>
|
||||
|
||||
|
||||
namespace Ui {
|
||||
@ -83,10 +84,14 @@ public slots:
|
||||
bool tryDelete();
|
||||
void writeConfiguration();
|
||||
|
||||
private slots:
|
||||
void updateValue();
|
||||
|
||||
private:
|
||||
QString m_fileName;
|
||||
QStringList m_dirs;
|
||||
bool debug;
|
||||
QProcess *process = nullptr;
|
||||
Ui::ExtScript *ui;
|
||||
// properties
|
||||
int m_apiVersion = 0;
|
||||
@ -99,6 +104,7 @@ private:
|
||||
bool m_output = true;
|
||||
QString m_prefix = QString("");
|
||||
Redirect m_redirect = nothing;
|
||||
Q_PID childProcess = 0;
|
||||
int times = 0;
|
||||
QString value = QString();
|
||||
};
|
||||
|
Reference in New Issue
Block a user