summaryrefslogtreecommitdiff
path: root/plugingui/eventhandler.h
diff options
context:
space:
mode:
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;