summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessible.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-10-10 15:24:17 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-20 11:40:29 +0200
commit3885a45e48b7fd680b6cb83e2d0d618fd04cf690 (patch)
treeb7fd1792eeacc983b16aa48bafd26cb76d0a6cfd /src/gui/accessible/qaccessible.cpp
parentc7f8213bc59691f35f44a42fa5df602e742673c4 (diff)
Make foreground and backgroundColor proper functions.
Change-Id: I93d4355a6c0b6edb1902df6399df7884b25ea744 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/gui/accessible/qaccessible.cpp')
-rw-r--r--src/gui/accessible/qaccessible.cpp21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp
index 172bd7f8e3..2de60e1bd4 100644
--- a/src/gui/accessible/qaccessible.cpp
+++ b/src/gui/accessible/qaccessible.cpp
@@ -1060,20 +1060,31 @@ QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > QAccessibleInterfa
\sa text(), role()
*/
+
/*!
- \fn QColor QAccessibleInterface::backgroundColor()
+ \fn QAccessibleEditableTextInterface *QAccessibleInterface::editableTextInterface()
\internal
*/
/*!
- \fn QAccessibleEditableTextInterface *QAccessibleInterface::editableTextInterface()
- \internal
+ Returns the accessible's foreground color if applicable or an invalid QColor.
+
+ \sa backgroundColor()
*/
+QColor QAccessibleInterface::foregroundColor() const
+{
+ return QColor();
+}
/*!
- \fn QColor QAccessibleInterface::foregroundColor()
- \internal
+ Returns the accessible's background color if applicable or an invalid QColor.
+
+ \sa foregroundColor()
*/
+QColor QAccessibleInterface::backgroundColor() const
+{
+ return QColor();
+}
/*!
\fn QAccessibleTextInterface *QAccessibleInterface::textInterface()