diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-10-30 17:31:34 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-10-30 17:31:34 (GMT) |
commit | 2f76e87dba10d001ae7c3e445ef2fade9a255c2b (patch) | |
tree | 9d8d1ff2a1705ed0cb6f511e8358b48691fb7f66 /src/gui/painting/qgraphicssystem.cpp | |
parent | 1ac68040623df0ba1feaa96b5056c82e75b2faa9 (diff) | |
download | Qt-2f76e87dba10d001ae7c3e445ef2fade9a255c2b.zip Qt-2f76e87dba10d001ae7c3e445ef2fade9a255c2b.tar.gz Qt-2f76e87dba10d001ae7c3e445ef2fade9a255c2b.tar.bz2 |
Make QGraphicsSystemScreen a QObject
This has several advantages:
We already see the various screen drivers making QObject-based helper
classes for timers, socketNotifiers etc
Also, this gives us more introspection from applications that now can
query things from the screen.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/painting/qgraphicssystem.cpp')
-rw-r--r-- | src/gui/painting/qgraphicssystem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem.cpp b/src/gui/painting/qgraphicssystem.cpp index 777b93d..1565c45 100644 --- a/src/gui/painting/qgraphicssystem.cpp +++ b/src/gui/painting/qgraphicssystem.cpp @@ -89,6 +89,10 @@ QList<QGraphicsSystemScreen *> QGraphicsSystem::screens() const return QList<QGraphicsSystemScreen *>(); } +QGraphicsSystemScreen::QGraphicsSystemScreen(QObject *parent) + : QObject(parent) +{} + QGraphicsSystemScreen::~QGraphicsSystemScreen() { } |