summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
commita65ca7af57feaf7a4ea73f7e071a72eb9b3a1e24 (patch)
tree6cf9fa3b8b57513b8eae030bdc6e1a18495d7e75 /plugingui/eventhandler.h
parent60109b8a737059058d2b0664c7ea88ec501490f7 (diff)
Refactored Painter.
Diffstat (limited to 'plugingui/eventhandler.h')
-rw-r--r--plugingui/eventhandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/eventhandler.h b/plugingui/eventhandler.h
index b865cbb..8fa42e4 100644
--- a/plugingui/eventhandler.h
+++ b/plugingui/eventhandler.h
@@ -36,7 +36,7 @@ class Window;
class EventHandler {
public:
- EventHandler(NativeWindow *nativeWindow, Window *window);
+ EventHandler(NativeWindow& nativeWindow, Window& window);
//! \brief Process all evebts currently in the event queue.
void processEvents();
@@ -51,8 +51,8 @@ public:
Notifier<> closeNotifier;
private:
- Window *window;
- NativeWindow *nativeWindow;
+ Window& window;
+ NativeWindow& nativeWindow;
// Used to ignore mouse button release after a double click.
bool lastWasDoubleClick;