diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-11-20 13:34:09 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-11-24 15:50:02 +0000 |
commit | 1fc0866f4fc07b6ae503bdd24c6fe98d0714ed2a (patch) | |
tree | 4eceb2c7a653677325c06c972fd0bbf5d5ceda0f /tools/testcon/mainwindow.h | |
parent | 635f2a07bb33f1a28b0b3fc2d0d997f32e9dc7fc (diff) |
Testcon: Add command line options for loading CLSIDs, files and scripts.
Factor out load methods and add command line parser.
Task-number: QTBUG-49355
Change-Id: Ic7c15c19e0b51e666fc13d74751713ccdc97dd9d
Reviewed-by: Fredrik Orderud <forderud@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools/testcon/mainwindow.h')
-rw-r--r-- | tools/testcon/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testcon/mainwindow.h b/tools/testcon/mainwindow.h index 68b85b1..f88106f 100644 --- a/tools/testcon/mainwindow.h +++ b/tools/testcon/mainwindow.h @@ -57,6 +57,10 @@ public: MainWindow(QWidget *parent = 0); ~MainWindow(); + bool addControlFromClsid(const QString &clsid); + bool addControlFromFile(const QString &fileName); + bool loadScript(const QString &file); + protected slots: void on_actionFileNew_triggered(); void on_actionFileLoad_triggered(); |