summaryrefslogtreecommitdiffstats
path: root/tools/testcon/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testcon/mainwindow.h')
-rw-r--r--tools/testcon/mainwindow.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/testcon/mainwindow.h b/tools/testcon/mainwindow.h
index 7e6575b..e980d06 100644
--- a/tools/testcon/mainwindow.h
+++ b/tools/testcon/mainwindow.h
@@ -29,6 +29,8 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+#include <ActiveQt/QAxSelect>
+
#include "ui_mainwindow.h"
QT_BEGIN_NAMESPACE
@@ -48,13 +50,18 @@ QT_USE_NAMESPACE
class MainWindow : public QMainWindow, public Ui::MainWindow
{
Q_OBJECT
+
+ Q_CLASSINFO("ClassID", "{5f5ce700-48a8-47b1-9b06-3b7f79e41d7c}")
+ Q_CLASSINFO("InterfaceID", "{3fc86f5f-8b15-4428-8f6b-482bae91f1ae}")
+ Q_CLASSINFO("EventsID", "{02a268cd-24b4-4fd9-88ff-b01b683ef39d}")
+
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
static MainWindow *instance() { return m_instance; }
- bool addControlFromClsid(const QString &clsid);
+ bool addControlFromClsid(const QString &clsid, QAxSelect::SandboxingLevel sandboxing);
bool addControlFromFile(const QString &fileName);
bool loadScript(const QString &file);