diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-06 13:06:07 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-10 10:44:55 (GMT) |
commit | 2c7a0fef42993dbaeceab9a72de65591bbedd1c0 (patch) | |
tree | d0f87466f3a03618a4c7c9f179548f391b183061 /tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h | |
parent | ca1a8a7f4ad1fb249f47085e6ad0cf133122c0f0 (diff) | |
download | Qt-2c7a0fef42993dbaeceab9a72de65591bbedd1c0.zip Qt-2c7a0fef42993dbaeceab9a72de65591bbedd1c0.tar.gz Qt-2c7a0fef42993dbaeceab9a72de65591bbedd1c0.tar.bz2 |
Fixed compilation and API of meego graphics system helper.
Diffstat (limited to 'tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h')
-rw-r--r-- | tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h b/tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h index 1966648..069a27c 100644 --- a/tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h +++ b/tools/qmeegographicssystemhelper/qmeegographicssystemhelper.h @@ -12,12 +12,12 @@ ** ****************************************************************************/ -#ifndef MGRAPHICSSYSTEMHELPER_H -#define MGRAPHICSSYSTEMHELPER_H +#ifndef QMEEGOGRAPHICSSYSTEMHELPER_H +#define QMEEGOGRAPHICSSYSTEMHELPER_H #include <QPixmap> #include <QImage> -#include "mlivepixmap.h" +#include "qmeegolivepixmap.h" class QLibrary; @@ -33,8 +33,8 @@ class QLibrary; \code QPixmap p; - if (MGraphicsSystemHelper::isRunningMeeGo()) { - p = MGraphicsSystemHelper::pixmapWithGLTexture(64, 64); + if (QMeeGoGraphicsSystemHelper::isRunningMeeGo()) { + p = QMeeGoGraphicsSystemHelper::pixmapWithGLTexture(64, 64); } else { p = QPixmap(64, 64); } @@ -44,14 +44,14 @@ class QLibrary; give unpredictable results. The only functions safe to call at all times are: \code - MGraphicsSystemHelper::isRunningMeeGo(); - MGraphicsSystemHelper::runningGraphicsSystemName(); - MGraphicsSystemHelper::switchToMeeGo(); - MGraphicsSystemHelper::switchToRaster(); + QMeeGoGraphicsSystemHelper::isRunningMeeGo(); + QMeeGoGraphicsSystemHelper::runningGraphicsSystemName(); + QMeeGoGraphicsSystemHelper::switchToMeeGo(); + QMeeGoGraphicsSystemHelper::switchToRaster(); \endcode */ -class MGraphicsSystemHelper +class QMeeGoGraphicsSystemHelper { public: //! Returns true if running meego. |