4#ifndef QPROCESSSCHEDULER_P_H
5#define QPROCESSSCHEDULER_P_H
18#include <QtCore/qobject.h>
19#include <QtCore/qprocess.h>
20#include <QtCore/qlist.h>
21#include <QtCore/qbytearray.h>
22#include <QtCore/qqueue.h>
40 return a.program == b.program && a.arguments == b.arguments
41 && a.customEnvironment == b.customEnvironment;
80 void onErrorOccurred(QProcess::ProcessError error);
83 QQueue<QueueElement> m_queue;
84 std::optional<Id> m_current;
86 bool m_isRunning =
false;
Runs multiple processes sequentially via a QProcess, and signals once they are done.
void cancel(const Id &id)
void started(const Id &id)
void cancelled(const Id &id)
Combined button and popup list for selecting options.
static bool isStartMarkerOf(const QProcessScheduler::QueueElement &e, const QProcessScheduler::Id &id)
static bool isEndMarkerOf(const QProcessScheduler::QueueElement &e, const QProcessScheduler::Id &id)
QProcessEnvironment customEnvironment
friend bool comparesEqual(const Command &a, const Command &b) noexcept
friend bool comparesEqual(const EndMarker &a, const EndMarker &b) noexcept
friend bool comparesEqual(const StartMarker &a, const StartMarker &b) noexcept