forked from qt-creator/qt-creator
Process: Change signature of waitForXxx() functions
Change the arg to QDeadlineTimer type. Change-Id: Id3dee0717e44130c16baf7925e5b06346a1a1ad1 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <solutions/tasking/tasktree.h>
|
||||
|
||||
#include <QDeadlineTimer>
|
||||
#include <QProcess>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -73,10 +74,9 @@ public:
|
||||
QProcess::ProcessError error() const;
|
||||
QString errorString() const;
|
||||
|
||||
// TODO: Change to std::chrono::milliseconds.
|
||||
bool waitForStarted(int msecs = 30000);
|
||||
bool waitForReadyRead(int msecs = 30000);
|
||||
bool waitForFinished(int msecs = 30000);
|
||||
bool waitForStarted(QDeadlineTimer timeout = std::chrono::seconds(30));
|
||||
bool waitForReadyRead(QDeadlineTimer timeout = std::chrono::seconds(30));
|
||||
bool waitForFinished(QDeadlineTimer timeout = std::chrono::seconds(30));
|
||||
|
||||
// ProcessSetupData related
|
||||
|
||||
|
||||
Reference in New Issue
Block a user