X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=inline;f=src%2Fplugins%2FSdiWindow%2Fisdiwindow.h;h=28e774d1b5be7c262aaabbc761aa78b96b23e05c;hb=ad70660919cd7b0e821e35548b6d1f5efa181c4c;hp=8cd4343666db997ef1f1118a73fa637873029454;hpb=8e0779e2e5a9f947f79c28e2ff121f6ffdd78b3f;p=evaf
diff --git a/src/plugins/SdiWindow/isdiwindow.h b/src/plugins/SdiWindow/isdiwindow.h
index 8cd4343..28e774d 100644
--- a/src/plugins/SdiWindow/isdiwindow.h
+++ b/src/plugins/SdiWindow/isdiwindow.h
@@ -22,8 +22,8 @@
#include "libsdiwindow.h"
-#include
#include
+#include
class QWidget;
class QLayout;
@@ -37,18 +37,8 @@ namespace SdiWindow {
* The iSdiWindow interface provides access to the SDI main window. The SDI main window is
* an empty window that the application can fill with widgets.
*/
-class SDIWINDOW_EXPORT iSdiWindow : public QObject
+struct SDIWINDOW_EXPORT iSdiWindow
{
- Q_OBJECT
-
-public:
-
- /// Interface constructor
- iSdiWindow() : QObject() {}
-
- /// Empty virtual destructor
- virtual ~iSdiWindow() {}
-
/**
* Returns the iSdiWindow interface instance
* @return The iSdiWindow interface or zero if not available
@@ -80,4 +70,6 @@ public:
} // namespace eVaf::SdiWindow
} // namespace eVaf
+Q_DECLARE_INTERFACE(eVaf::SdiWindow::iSdiWindow, "eVaf.SdiWindow.iSdiWindow/1.0")
+
#endif // isdiwindow.h