summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-21 16:20:15 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-21 16:20:15 -0500
commitd09860faff8dac4c63db6e22eeb556a15c2ffaeb (patch)
treeab7c58168fe33d8af1b9c04284cf38cb6a346139 /tools/designer
parented9739fcff88bdf26974f4a80cd8df6de410d01a (diff)
downloadqt3-d09860faff8dac4c63db6e22eeb556a15c2ffaeb.tar.gz
qt3-d09860faff8dac4c63db6e22eeb556a15c2ffaeb.zip
Add unpaged memory mode to TQString and TQLineEdit
Fix designer build warnings
Diffstat (limited to 'tools/designer')
-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;