summaryrefslogtreecommitdiffstats
path: root/tools/designer/interfaces/designerinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/interfaces/designerinterface.h')
-rw-r--r--tools/designer/interfaces/designerinterface.h21
1 files changed, 21 insertions, 0 deletions
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;