diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-10-17 14:18:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-18 10:26:39 +0200 |
commit | 0e341948ae6ab993f9d56f81809e71b8a9cc753d (patch) | |
tree | f9cb0a0d1bbc18c650c975e88eb2661a83acb6a6 /src/gui/painting | |
parent | 41b01096ccae8761bb5a0a761780ad48ce7e34ba (diff) |
Remove stale documentation.
Change-Id: I85139e0334b648bee0d18129cef9387dcc6c3222
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 34 | ||||
-rw-r--r-- | src/gui/painting/qbrush.cpp | 8 | ||||
-rw-r--r-- | src/gui/painting/qcolor.cpp | 33 | ||||
-rw-r--r-- | src/gui/painting/qmatrix.cpp | 20 | ||||
-rw-r--r-- | src/gui/painting/qplatformbackingstore_qpa.cpp | 32 |
5 files changed, 25 insertions, 102 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp index f69a2e4ff6..fa29589508 100644 --- a/src/gui/painting/qbackingstore.cpp +++ b/src/gui/painting/qbackingstore.cpp @@ -71,29 +71,7 @@ public: \brief The QBackingStore class provides the drawing area for top-level windows. */ - -/*! - \fn void QBackingStore::beginPaint(const QRegion ®ion) - - This function is called before painting onto the surface begins, - with the \a region in which the painting will occur. - - \sa endPaint(), paintDevice() -*/ - /*! - \fn void QBackingStore::endPaint(const QRegion ®ion) - - This function is called after painting onto the surface has ended, - with the \a region in which the painting was performed. - - \sa beginPaint(), paintDevice() -*/ - -/*! - \fn void QBackingStore::flush(QWindow *window, const QRegion ®ion, - const QPoint &offset) - Flushes the given \a region from the specified \a window onto the screen. @@ -142,11 +120,23 @@ QWindow* QBackingStore::window() const return d_ptr->window; } +/*! + This function is called before painting onto the surface begins, + with the \a region in which the painting will occur. + + \sa endPaint(), paintDevice() +*/ + void QBackingStore::beginPaint(const QRegion ®ion) { d_ptr->platformBackingStore->beginPaint(region); } +/*! + This function is called after painting onto the surface has ended. + + \sa beginPaint(), paintDevice() +*/ void QBackingStore::endPaint() { d_ptr->platformBackingStore->endPaint(); diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index 05f191dac6..d1130a8812 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -951,14 +951,6 @@ bool QBrush::operator==(const QBrush &b) const } } -/*! - \fn QBrush::operator const QColor&() const - - Returns the brush's color. - - Use color() instead. -*/ - #ifndef QT_NO_DEBUG_STREAM /*! \internal diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp index 8234fa19f6..df2aa1ffe8 100644 --- a/src/gui/painting/qcolor.cpp +++ b/src/gui/painting/qcolor.cpp @@ -863,13 +863,6 @@ void QColor::getRgb(int *r, int *g, int *b, int *a) const } /*! - \obsolete - \fn void QColor::getRgba(int *r, int *g, int *b, int *a) const - - Use getRgb() instead. -*/ - -/*! \fn void QColor::setRgbF(qreal r, qreal g, qreal b, qreal a) Sets the color channels of this color to \a r (red), \a g (green), @@ -922,13 +915,6 @@ void QColor::setRgb(int r, int g, int b, int a) } /*! - \obsolete - \fn void QColor::setRgba(int r, int g, int b, int a) - - Use setRgb() instead. -*/ - -/*! \fn QRgb QColor::rgba() const Returns the RGB value of the color, including its alpha. @@ -2597,25 +2583,6 @@ QDataStream &operator>>(QDataStream &stream, QColor &color) */ /*! - \fn QColor::QColor(int x, int y, int z, Spec colorSpec) - - Use one of the other QColor constructors, or one of the static convenience - functions, instead. -*/ - -/*! - \fn QColor::rgb(int *r, int *g, int *b) const - - Use getRgb() instead. -*/ - -/*! - \fn QColor::hsv(int *h, int *s, int *v) const - - Use getHsv() instead. -*/ - -/*! \fn QColor QColor::convertTo(Spec colorSpec) const Creates a copy of \e this color in the format specified by \a colorSpec. diff --git a/src/gui/painting/qmatrix.cpp b/src/gui/painting/qmatrix.cpp index 767706a5bc..41278920cb 100644 --- a/src/gui/painting/qmatrix.cpp +++ b/src/gui/painting/qmatrix.cpp @@ -939,14 +939,6 @@ QMatrix &QMatrix::rotate(qreal a) */ /*! - \fn QMatrix QMatrix::invert(bool *invertible) const - - Returns an inverted copy of this matrix. - - Use the inverted() function instead. -*/ - -/*! Returns an inverted copy of this matrix. If the matrix is singular (not invertible), the returned matrix is @@ -1166,18 +1158,6 @@ QDebug operator<<(QDebug dbg, const QMatrix &m) #endif /*! - \fn QRect QMatrix::map(const QRect &rect) const - \compat - - Creates and returns a QRect object that is a copy of the given - rectangle, mapped into the coordinate system defined by this - matrix. - - Use the mapRect() function instead. -*/ - - -/*! \fn bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) \relates QMatrix diff --git a/src/gui/painting/qplatformbackingstore_qpa.cpp b/src/gui/painting/qplatformbackingstore_qpa.cpp index fa85661f31..2c0053af86 100644 --- a/src/gui/painting/qplatformbackingstore_qpa.cpp +++ b/src/gui/painting/qplatformbackingstore_qpa.cpp @@ -69,25 +69,6 @@ public: windows. */ - -/*! - \fn void QPlatformBackingStore::beginPaint(const QRegion ®ion) - - This function is called before painting onto the surface begins, - with the \a region in which the painting will occur. - - \sa endPaint(), paintDevice() -*/ - -/*! - \fn void QPlatformBackingStore::endPaint(const QRegion ®ion) - - This function is called after painting onto the surface has ended, - with the \a region in which the painting was performed. - - \sa beginPaint(), paintDevice() -*/ - /*! \fn void QPlatformBackingStore::flush(QWindow *window, const QRegion ®ion, const QPoint &offset) @@ -129,10 +110,23 @@ QWindow* QPlatformBackingStore::window() const return d_ptr->window; } +/*! + This function is called before painting onto the surface begins, + with the \a region in which the painting will occur. + + \sa endPaint(), paintDevice() +*/ + void QPlatformBackingStore::beginPaint(const QRegion &) { } +/*! + This function is called after painting onto the surface has ended. + + \sa beginPaint(), paintDevice() +*/ + void QPlatformBackingStore::endPaint() { } |