path: root/src/gui/painting/qplatformbackingstore.h
diff options
authorLaszlo Agocs <>2015-06-01 15:23:19 +0200
committerLaszlo Agocs <>2015-06-01 13:38:18 +0000
commit0e1b4e896fba50ce6603bc323b2940e6859e7421 (patch)
treed55b089e795fa088374bb168de2d829911c0d6fb /src/gui/painting/qplatformbackingstore.h
parent78e335408303380310dd59fab421e495cf517ead (diff)
Avoid QWidget dependency in QtGui
It's not a real dependency as all we need is to store a pointer, but better not to use the name QWidget at all. Change-Id: I30ef1dd44ac7e42c1b9c84675f94088b8c516076 Reviewed-by: Jørgen Lind <>
Diffstat (limited to 'src/gui/painting/qplatformbackingstore.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qplatformbackingstore.h b/src/gui/painting/qplatformbackingstore.h
index 5fa7e6dac0..eac97e9cf6 100644
--- a/src/gui/painting/qplatformbackingstore.h
+++ b/src/gui/painting/qplatformbackingstore.h
@@ -83,12 +83,12 @@ public:
GLuint textureId(int index) const;
QRect geometry(int index) const;
QRect clipRect(int index) const;
- QWidget *widget(int index);
+ void *source(int index);
Flags flags(int index) const;
void lock(bool on);
bool isLocked() const;
- void appendTexture(QWidget *widget, GLuint textureId, const QRect &geometry,
+ void appendTexture(void *source, GLuint textureId, const QRect &geometry,
const QRect &clipRect = QRect(), Flags flags = 0);
void clear();