diff options
author | Bjoern Breitmeyer <bjoern.breitmeyer@kdab.com> | 2013-01-30 14:02:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-13 09:50:28 +0100 |
commit | ad05af534dc61b0c07b2c676d8f1ff040d9fbf7b (patch) | |
tree | 1a8c57dd7e7b2c44cdae364de389da0ece0eff85 /src/widgets/styles/qstylehelper_p.h | |
parent | e95a758236cf2c68e33da4ddb62bff4fe8d9dd8b (diff) |
Fixed QT_NO_ACCESSIBILITY build.
Change-Id: I14229753fc2e3b54da8a285ae9d27201b73e24be
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/widgets/styles/qstylehelper_p.h')
-rw-r--r-- | src/widgets/styles/qstylehelper_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/styles/qstylehelper_p.h b/src/widgets/styles/qstylehelper_p.h index 41f823def7..01772e765c 100644 --- a/src/widgets/styles/qstylehelper_p.h +++ b/src/widgets/styles/qstylehelper_p.h @@ -82,8 +82,10 @@ namespace QStyleHelper void drawBorderPixmap(const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left = 0, int top = 0, int right = 0, int bottom = 0); +#ifndef QT_NO_ACCESSIBILITY bool isInstanceOf(QObject *obj, QAccessible::Role role); bool hasAncestor(QObject *obj, QAccessible::Role role); +#endif } |