summaryrefslogtreecommitdiffstats
path: root/tools/testcon/mainwindow.h
diff options
context:
space:
mode:
authorFredrik Orderud <fredrik.orderud@ge.com>2019-01-29 09:34:34 +0100
committerFredrik Orderud <forderud@gmail.com>2019-01-29 12:43:54 +0000
commit2d030a845ff7ebb9e14443fabfed2bd4c286303d (patch)
treee487c1144ca89a7091839334b68c4839f929954e /tools/testcon/mainwindow.h
parent9a2271e7b2b556888e9f7d73e162fd3269526958 (diff)
Convert testcon project to use QAXFACTORY_BEGIN/END for COM registration
Done to associate the ClassID, InterfaceID & EventsID values more directly against the MainWindow class. The code also becomes more descriptive. Task-number: QTBUG-73056 Change-Id: Ifd2a75aef23190bb19fe229c4e50329ab0dc9651 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tools/testcon/mainwindow.h')
-rw-r--r--tools/testcon/mainwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testcon/mainwindow.h b/tools/testcon/mainwindow.h
index 14dbff4..e980d06 100644
--- a/tools/testcon/mainwindow.h
+++ b/tools/testcon/mainwindow.h
@@ -50,6 +50,11 @@ 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();