23 lines
404 B
C
23 lines
404 B
C
|
#ifndef PROCESSLAUNCHER_H
|
||
|
#define PROCESSLAUNCHER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QProcess>
|
||
|
#include <QStandardPaths>
|
||
|
#include <QDebug>
|
||
|
|
||
|
class ProcessLauncher : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit ProcessLauncher(QObject *parent = nullptr);
|
||
|
|
||
|
Q_INVOKABLE bool launchProgram(const QString &program, const QStringList &arguments);
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
};
|
||
|
|
||
|
#endif // PROCESSLAUNCHER_H
|