summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2012-01-03 17:50:02 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-04 04:27:02 +0100
commitedbd3d6a9430391843385b2466461426e1623e78 (patch)
tree58e482c92f0452edb2e873ba5ecd9d137911c33d /src/gui
parentafd22f52f8b0e4d2d90ebbead2a1d40040bc44cd (diff)
Add virtual destructors to accessible interfaces.
Change-Id: I60a6033911757f86c70f06c2d8d4240d2332b4cf Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com> Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/accessible/qaccessible2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/accessible/qaccessible2.h b/src/gui/accessible/qaccessible2.h
index 93db869364..e83268c520 100644
--- a/src/gui/accessible/qaccessible2.h
+++ b/src/gui/accessible/qaccessible2.h
@@ -163,6 +163,8 @@ public:
class Q_GUI_EXPORT QAccessibleTableCellInterface
{
public:
+ virtual ~QAccessibleTableCellInterface() {}
+
// Returns the number of columns occupied by this cell accessible.
virtual int columnExtent() const = 0;
@@ -189,6 +191,7 @@ public:
class Q_GUI_EXPORT QAccessibleTableInterface
{
public:
+ virtual ~QAccessibleTableInterface() {}
// Returns the cell at the specified row and column in the table.
virtual QAccessibleInterface *cellAt (int row, int column) const = 0;
@@ -249,6 +252,7 @@ class Q_GUI_EXPORT QAccessibleActionInterface
{
Q_DECLARE_TR_FUNCTIONS(QAccessibleActionInterface)
public:
+ virtual ~QAccessibleActionInterface() {}
virtual QStringList actionNames() const = 0;
virtual QString localizedActionName(const QString &name) const;
@@ -268,6 +272,7 @@ public:
class Q_GUI_EXPORT QAccessibleImageInterface
{
public:
+ virtual ~QAccessibleImageInterface() {}
virtual QString imageDescription() = 0;
virtual QSize imageSize() = 0;