From f5b03149e8e68e510efe9842d85a058b42a51264 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 21 Mar 2013 16:21:25 -0500 Subject: Automated update from Qt3 --- tools/designer/designer/designerappiface.cpp | 4 ++++ tools/designer/designer/designerappiface.h | 1 + tools/designer/interfaces/designerinterface.h | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+) (limited to 'tools/designer') 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 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; -- cgit v1.2.1