summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-18 13:28:09 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-20 16:59:01 (GMT)
commit1ffed52434741aa31b1549a931f6b446b2aaabd0 (patch)
tree3b30ddb20e3d8b851f08c93028fcb1386ac28b9e /src/gui/kernel/qwidget.h
parent181c9774791b6f581598389337f9af0fa4658e6a (diff)
downloadQt-1ffed52434741aa31b1549a931f6b446b2aaabd0.zip
Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.tar.gz
Qt-1ffed52434741aa31b1549a931f6b446b2aaabd0.tar.bz2
Add support for graphics effects on QWidget.
Diffstat (limited to 'src/gui/kernel/qwidget.h')
-rw-r--r--src/gui/kernel/qwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h
index 6f30883..4f14a53 100644
--- a/src/gui/kernel/qwidget.h
+++ b/src/gui/kernel/qwidget.h
@@ -96,6 +96,7 @@ class QWindowSurface;
class QLocale;
class QGraphicsProxyWidget;
class QGestureManager;
+class QGraphicsEffect;
#if defined(Q_WS_X11)
class QX11Info;
#endif
@@ -352,6 +353,9 @@ public:
const QRegion &sourceRegion = QRegion(),
RenderFlags renderFlags = RenderFlags(DrawWindowBackground | DrawChildren));
+ QGraphicsEffect *graphicsEffect() const;
+ void setGraphicsEffect(QGraphicsEffect *effect);
+
public Q_SLOTS:
void setWindowTitle(const QString &);
#ifndef QT_NO_STYLE_STYLESHEET