diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-05-30 18:35:11 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-31 09:13:01 +0200 |
commit | ce7b3c972038636d8026dce949f1bd58e0bdd610 (patch) | |
tree | 4778336dbe7b7690d7daa14142ef56dd7ebafd1c | |
parent | 7a2f63feb637030dda8179f6447c9b5f32b6b90e (diff) |
Remove QRegion::handle
This function is unavailable in QPA land (it currently returns
the QRegionPrivate as the handle()).
Change-Id: I4e81e29d4546a4737c1aaab4ee1fb97e28a473f5
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
-rw-r--r-- | src/gui/painting/qregion.cpp | 10 | ||||
-rw-r--r-- | src/gui/painting/qregion.h | 7 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index db20d10e5a..d13389e602 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -167,16 +167,6 @@ QT_BEGIN_NAMESPACE Translates to the given \a point. */ -/*! - \fn Handle QRegion::handle() const - - Returns a platform-specific region handle. The \c Handle type is - \c HRGN on Windows, \c Region on X11, and \c RgnHandle on Mac OS - X. On \l{Qt for Embedded Linux} it is \c {void *}. - - \warning This function is not portable. -*/ - /***************************************************************************** QRegion member functions *****************************************************************************/ diff --git a/src/gui/painting/qregion.h b/src/gui/painting/qregion.h index aa8b21b624..1a82f33545 100644 --- a/src/gui/painting/qregion.h +++ b/src/gui/painting/qregion.h @@ -134,13 +134,6 @@ public: inline bool operator!=(const QRegion &r) const { return !(operator==(r)); } operator QVariant() const; -#ifdef qdoc - Handle handle() const; -#endif -#ifndef qdoc - inline void *handle() const { return d->qt_rgn; } -#endif - #ifndef QT_NO_DATASTREAM friend Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QRegion &); friend Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QRegion &); |