diff options
Diffstat (limited to 'src/qml/debugger/qqmldebug.h')
-rw-r--r-- | src/qml/debugger/qqmldebug.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qml/debugger/qqmldebug.h b/src/qml/debugger/qqmldebug.h index bb90c4f1b8..559c492dfd 100644 --- a/src/qml/debugger/qqmldebug.h +++ b/src/qml/debugger/qqmldebug.h @@ -42,8 +42,13 @@ QT_BEGIN_NAMESPACE struct Q_QML_EXPORT QQmlDebuggingEnabler { + enum StartMode { + DoNotWaitForClient, + WaitForClient + }; + QQmlDebuggingEnabler(bool printWarning = true); - static bool startTcpDebugServer(int port, bool block = false, + static bool startTcpDebugServer(int port, StartMode mode = DoNotWaitForClient, const QString &hostName = QString()); }; |