diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-03 21:51:54 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-03 21:51:54 +0200 |
commit | 52352c6c572f15c10c4c3de641db81723aada468 (patch) | |
tree | c87f2be7179e2d7a203719aa4eed9480dc7d9748 /src/gui/painting/qbrush.cpp | |
parent | 34f712e79e97b757b4426e1ffa09e065c9e379a1 (diff) |
remove obsolete stuff
everything inside QT3_SUPPORT is gone in
gui/painting
Diffstat (limited to 'src/gui/painting/qbrush.cpp')
-rw-r--r-- | src/gui/painting/qbrush.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index 538128c402..aec03bc544 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -712,36 +712,6 @@ void QBrush::setColor(const QColor &c) Sets the brush color to the given \a color. */ - -#ifdef QT3_SUPPORT - -/*! - \fn void QBrush::setPixmap(const QPixmap &pixmap) - - \compat - - Sets a custom pattern for this brush. - - Use setTexture() instead. -*/ - -/*! - \fn QPixmap *QBrush::pixmap() const - - Returns a pointer to the custom brush pattern. - - Use texture() instead. -*/ -QPixmap *QBrush::pixmap() const -{ - if (d->style != Qt::TexturePattern) - return 0; - QTexturedBrushData *data = static_cast<QTexturedBrushData*>(d.data()); - QPixmap &pixmap = data->pixmap(); - return pixmap.isNull() ? 0 : &pixmap; -} -#endif - /*! \fn QPixmap QBrush::texture() const |