summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessible.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2012-03-12 15:36:31 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-18 21:42:38 +0100
commit36513264daaa0748d32326421732b9e5f212c2b5 (patch)
treef9c5afb27ec580869088cc2f937dc2b12c23347c /src/gui/accessible/qaccessible.h
parent73b42378e7798046adbc2a508855b52462f406fe (diff)
Make copy and assign private for QAccessibleEvent.
Also make the handling of events in the test pointer based since mac-g++ doesn't seem to like const references the way they were before. Change-Id: I7fe39978d4729b8e586be30978b74aa51ca7cfe6 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/gui/accessible/qaccessible.h')
-rw-r--r--src/gui/accessible/qaccessible.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h
index ffdd3fe7ce..4d79fe78ee 100644
--- a/src/gui/accessible/qaccessible.h
+++ b/src/gui/accessible/qaccessible.h
@@ -430,6 +430,7 @@ private:
class Q_GUI_EXPORT QAccessibleEvent
{
+ Q_DISABLE_COPY(QAccessibleEvent)
public:
inline QAccessibleEvent(QAccessible::Event typ, QObject *obj, int chld = -1)
: m_type(typ), m_object(obj), m_child(chld)
@@ -446,7 +447,8 @@ public:
QAccessibleInterface *accessibleInterface() const;
-private:
+protected:
+
QAccessible::Event m_type;
QObject *m_object;
int m_child;
@@ -463,7 +465,7 @@ public:
return m_changedStates;
}
-private:
+protected:
QAccessible::State m_changedStates;
};