aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/constants.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-21 17:13:03 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-06-06 21:13:25 +0000
commitcd0b001ec8153515b4af549e4b111bada14ebce7 (patch)
treec0a38bc233eff945670dca2d43d1575458493d3a /tools/qmlprofiler/constants.h
parentc402f593595f2705f8d0f73a13a08cb8bbda9421 (diff)
qmlprofiler: Improve options for trace output
* Remove the auto-generation of file names. * Accept file names as parameters or from interactive commands * Output to stdout by default for better scripting and quick preview * Decouple output from clearing of data so that you can write the same data multiple times. Task-number: QTBUG-43066 Change-Id: Ia4cc3701cbac7c6f8948b11307130a5d6a2ff44c Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools/qmlprofiler/constants.h')
-rw-r--r--tools/qmlprofiler/constants.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/qmlprofiler/constants.h b/tools/qmlprofiler/constants.h
index b925ba00e8..5b4b52515f 100644
--- a/tools/qmlprofiler/constants.h
+++ b/tools/qmlprofiler/constants.h
@@ -39,9 +39,24 @@ namespace Constants {
const char CMD_RECORD[] ="record";
const char CMD_RECORD2[] ="r";
+const char CMD_OUTPUT[] = "output";
+const char CMD_OUTPUT2[] = "o";
+
+const char CMD_FLUSH[] = "flush";
+const char CMD_FLUSH2[] = "f";
+
+const char CMD_CLEAR[] = "clear";
+const char CMD_CLEAR2[] = "c";
+
const char CMD_QUIT[] ="quit";
const char CMD_QUIT2[] = "q";
+const char CMD_YES[] = "yes";
+const char CMD_YES2[] = "y";
+
+const char CMD_NO[] = "no";
+const char CMD_NO2[] = "n";
+
} // Constants
#endif // CONSTANTS_H