b58e33b2a4
resolves #36
22 lines
404 B
C++
22 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
|