aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/qmlprofilerapplication.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-19 15:54:16 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-21 12:54:48 +0000
commit864b1c498c4257e8790ad8fe13c52c5b06c6a1ac (patch)
treeb8fdb34db30a73549a9c979754208850df9cb5eb /tools/qmlprofiler/qmlprofilerapplication.h
parent455e9153eb13399b1b1b711075d77b699aabfbef (diff)
qmlprofiler: Add non-interactive mode and make it the default.
If you just run a test application through the profiler without any further parameters, you want it to record the data the application generates and then terminate itself. [ChangeLog][QtQml][Behavior Change] Make qmlprofiler command line interface better suited for scripting. Task-number: QTBUG-43066 Change-Id: I831e714b9c7b4b984b6450ad5c78ba4fdae6b8f6 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools/qmlprofiler/qmlprofilerapplication.h')
-rw-r--r--tools/qmlprofiler/qmlprofilerapplication.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmlprofiler/qmlprofilerapplication.h b/tools/qmlprofiler/qmlprofilerapplication.h
index 1b1131e33e..d4af3b0c37 100644
--- a/tools/qmlprofiler/qmlprofilerapplication.h
+++ b/tools/qmlprofiler/qmlprofilerapplication.h
@@ -50,6 +50,7 @@ public:
void parseArguments();
int exec();
+ bool isInteractive() const;
public slots:
void userCommand(const QString &command);
@@ -95,6 +96,7 @@ private:
bool m_verbose;
bool m_quitAfterSave;
bool m_recording;
+ bool m_interactive;
QQmlDebugConnection m_connection;
QmlProfilerClient m_qmlProfilerClient;