summaryrefslogtreecommitdiffstats
path: root/examples/qpa/windows/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qpa/windows/window.h')
-rw-r--r--examples/qpa/windows/window.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/qpa/windows/window.h b/examples/qpa/windows/window.h
index 546cf67bce..bf664d148e 100644
--- a/examples/qpa/windows/window.h
+++ b/examples/qpa/windows/window.h
@@ -5,6 +5,7 @@ class Window : public QWindow
{
public:
Window(QWindow *parent = 0);
+ Window(QScreen *screen);
protected:
void mousePressEvent(QMouseEvent *);
@@ -16,12 +17,17 @@ protected:
void exposeEvent(QExposeEvent *);
void resizeEvent(QResizeEvent *);
+ void timerEvent(QTimerEvent *);
+
private:
void render();
+ void scheduleRender();
+ void initialize();
QString m_text;
QImage m_image;
QPoint m_lastPos;
int m_backgroundColorIndex;
QBackingStore *m_backingStore;
+ int m_renderTimer;
};