summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/designer/designer/designerappiface.cpp4
-rw-r--r--tools/designer/designer/designerappiface.h1
-rw-r--r--tools/designer/interfaces/designerinterface.h21
3 files changed, 26 insertions, 0 deletions
diff --git a/tools/designer/designer/designerappiface.cpp b/tools/designer/designer/designerappiface.cpp
index 770d39d..722d33f 100644
--- a/tools/designer/designer/designerappiface.cpp
+++ b/tools/designer/designer/designerappiface.cpp
@@ -58,6 +58,10 @@ DesignerInterfaceImpl::DesignerInterfaceImpl( MainWindow *mw )
{
}
+DesignerInterfaceImpl::~DesignerInterfaceImpl()
+{
+}
+
QRESULT DesignerInterfaceImpl::queryInterface( const QUuid &uuid, QUnknownInterface** iface )
{
*iface = 0;
diff --git a/tools/designer/designer/designerappiface.h b/tools/designer/designer/designerappiface.h
index 91c29a5..24548f2 100644
--- a/tools/designer/designer/designerappiface.h
+++ b/tools/designer/designer/designerappiface.h
@@ -47,6 +47,7 @@ class DesignerInterfaceImpl : public DesignerInterface
{
public:
DesignerInterfaceImpl( MainWindow *mw );
+ virtual ~DesignerInterfaceImpl();
DesignerProject *currentProject() const;
DesignerFormWindow *currentForm() const;
diff --git a/tools/designer/interfaces/designerinterface.h b/tools/designer/interfaces/designerinterface.h
index 8988da0..8c89941 100644
--- a/tools/designer/interfaces/designerinterface.h
+++ b/tools/designer/interfaces/designerinterface.h
@@ -108,6 +108,9 @@ struct DesignerInterface : public QUnknownInterface
struct DesignerProject
{
+ DesignerProject() {}
+ virtual ~DesignerProject() {}
+
virtual QPtrList<DesignerFormWindow> formList() const = 0;
virtual QStringList formNames() const = 0;
virtual QString formFileName( const QString &form ) const = 0;
@@ -149,6 +152,9 @@ struct DesignerProject
struct DesignerDatabase
{
+ DesignerDatabase() {}
+ virtual ~DesignerDatabase() {}
+
virtual QString name() const = 0;
virtual void setName( const QString & ) = 0;
virtual QString driver() const = 0;
@@ -173,12 +179,18 @@ struct DesignerDatabase
struct DesignerPixmapCollection
{
+ DesignerPixmapCollection() {}
+ virtual ~DesignerPixmapCollection() {}
+
virtual void addPixmap( const QPixmap &p, const QString &name, bool force ) = 0;
virtual QPixmap pixmap( const QString &name ) const = 0;
};
struct DesignerFormWindow
{
+ DesignerFormWindow() {}
+ virtual ~DesignerFormWindow() {}
+
virtual QString name() const = 0;
virtual void setName( const QString &n ) = 0;
virtual QString fileName() const = 0;
@@ -248,16 +260,25 @@ struct DesignerFormWindow
struct DesignerSourceFile
{
+ DesignerSourceFile() {}
+ virtual ~DesignerSourceFile() {}
+
virtual QString fileName() const = 0;
};
struct DesignerDock
{
+ DesignerDock() {}
+ virtual ~DesignerDock() {}
+
virtual QDockWindow *dockWindow() const = 0;
};
struct DesignerOutputDock
{
+ DesignerOutputDock() {}
+ virtual ~DesignerOutputDock() {}
+
virtual QWidget *addView( const QString &pageName ) = 0;
virtual void appendDebug( const QString & ) = 0;
virtual void clearDebug() = 0;