From 3885a45e48b7fd680b6cb83e2d0d618fd04cf690 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 10 Oct 2011 15:24:17 +0200 Subject: Make foreground and backgroundColor proper functions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I93d4355a6c0b6edb1902df6399df7884b25ea744 Reviewed-by: Jan-Arve Sæther --- src/gui/accessible/qaccessible.cpp | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'src/gui/accessible/qaccessible.cpp') 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 > 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() -- cgit v1.2.3