summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-09-07 11:49:34 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2010-09-10 12:44:56 +0200
commitb2ef75097e608afc717604884c4b6e4b22e78dee (patch)
tree40f9148eba79cfe7e82c9b771b465e953a3ea2ff /src/plugins
parent0d9c5bc460c66a96edc9416e5d7e5a56983562a4 (diff)
downloadqt4-tools-b2ef75097e608afc717604884c4b6e4b22e78dee.tar.gz
Use QFactoryLoader to ensure we get the correct graphics system plugin.
Also, this prevents hard-coding the path to the meego plugin.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/graphicssystems/meego/qmeegographicssystem.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/graphicssystems/meego/qmeegographicssystem.h b/src/plugins/graphicssystems/meego/qmeegographicssystem.h
index 59392ada26..905f0c381f 100644
--- a/src/plugins/graphicssystems/meego/qmeegographicssystem.h
+++ b/src/plugins/graphicssystems/meego/qmeegographicssystem.h
@@ -72,14 +72,14 @@ private:
/* C api */
extern "C" {
- int qt_meego_image_to_egl_shared_image(const QImage &image);
- QPixmapData* qt_meego_pixmapdata_from_egl_shared_image(Qt::HANDLE handle, const QImage &softImage);
- QPixmapData* qt_meego_pixmapdata_with_gl_texture(int w, int h);
- void qt_meego_update_egl_shared_image_pixmap(QPixmap *pixmap);
- bool qt_meego_destroy_egl_shared_image(Qt::HANDLE handle);
- void qt_meego_set_surface_fixed_size(int width, int height);
- void qt_meego_set_surface_scaling(int x, int y, int width, int height);
- void qt_meego_set_translucent(bool translucent);
+ Q_DECL_EXPORT int qt_meego_image_to_egl_shared_image(const QImage &image);
+ Q_DECL_EXPORT QPixmapData* qt_meego_pixmapdata_from_egl_shared_image(Qt::HANDLE handle, const QImage &softImage);
+ Q_DECL_EXPORT QPixmapData* qt_meego_pixmapdata_with_gl_texture(int w, int h);
+ Q_DECL_EXPORT void qt_meego_update_egl_shared_image_pixmap(QPixmap *pixmap);
+ Q_DECL_EXPORT bool qt_meego_destroy_egl_shared_image(Qt::HANDLE handle);
+ Q_DECL_EXPORT void qt_meego_set_surface_fixed_size(int width, int height);
+ Q_DECL_EXPORT void qt_meego_set_surface_scaling(int x, int y, int width, int height);
+ Q_DECL_EXPORT void qt_meego_set_translucent(bool translucent);
}
#endif