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 4cba8db7f..98aa69e52 100644
--- a/tools/designer/designer/designerappiface.cpp
+++ b/tools/designer/designer/designerappiface.cpp
@@ -58,6 +58,10 @@ DesignerInterfaceImpl::DesignerInterfaceImpl( MainWindow *mw )
{
}
+DesignerInterfaceImpl::~DesignerInterfaceImpl()
+{
+}
+
TQRESULT DesignerInterfaceImpl::queryInterface( const TQUuid &uuid, TQUnknownInterface** iface )
{
*iface = 0;
diff --git a/tools/designer/designer/designerappiface.h b/tools/designer/designer/designerappiface.h
index 7f65f0e57..7b5719b45 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 e0f5952b1..31b750e95 100644
--- a/tools/designer/interfaces/designerinterface.h
+++ b/tools/designer/interfaces/designerinterface.h
@@ -108,6 +108,9 @@ struct DesignerInterface : public TQUnknownInterface
struct DesignerProject
{
+ DesignerProject() {}
+ virtual ~DesignerProject() {}
+
virtual TQPtrList<DesignerFormWindow> formList() const = 0;
virtual TQStringList formNames() const = 0;
virtual TQString formFileName( const TQString &form ) const = 0;
@@ -149,6 +152,9 @@ struct DesignerProject
struct DesignerDatabase
{
+ DesignerDatabase() {}
+ virtual ~DesignerDatabase() {}
+
virtual TQString name() const = 0;
virtual void setName( const TQString & ) = 0;
virtual TQString driver() const = 0;
@@ -173,12 +179,18 @@ struct DesignerDatabase
struct DesignerPixmapCollection
{
+ DesignerPixmapCollection() {}
+ virtual ~DesignerPixmapCollection() {}
+
virtual void addPixmap( const TQPixmap &p, const TQString &name, bool force ) = 0;
virtual TQPixmap pixmap( const TQString &name ) const = 0;
};
struct DesignerFormWindow
{
+ DesignerFormWindow() {}
+ virtual ~DesignerFormWindow() {}
+
virtual TQString name() const = 0;
virtual void setName( const TQString &n ) = 0;
virtual TQString fileName() const = 0;
@@ -248,16 +260,25 @@ struct DesignerFormWindow
struct DesignerSourceFile
{
+ DesignerSourceFile() {}
+ virtual ~DesignerSourceFile() {}
+
virtual TQString fileName() const = 0;
};
struct DesignerDock
{
+ DesignerDock() {}
+ virtual ~DesignerDock() {}
+
virtual TQDockWindow *dockWindow() const = 0;
};
struct DesignerOutputDock
{
+ DesignerOutputDock() {}
+ virtual ~DesignerOutputDock() {}
+
virtual TQWidget *addView( const TQString &pageName ) = 0;
virtual void appendDebug( const TQString & ) = 0;
virtual void clearDebug() = 0;