aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/virtualkeyboard/desktopinputselectioncontrol.h2
-rw-r--r--src/virtualkeyboard/inputselectionhandle.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/virtualkeyboard/desktopinputselectioncontrol.h b/src/virtualkeyboard/desktopinputselectioncontrol.h
index b138c937..9a5ec468 100644
--- a/src/virtualkeyboard/desktopinputselectioncontrol.h
+++ b/src/virtualkeyboard/desktopinputselectioncontrol.h
@@ -44,6 +44,8 @@ class InputSelectionHandle;
class DesktopInputSelectionControl : public QObject
{
+ Q_OBJECT
+
public:
DesktopInputSelectionControl(QObject *parent, InputContext *inputContext);
~DesktopInputSelectionControl() {}
diff --git a/src/virtualkeyboard/inputselectionhandle.h b/src/virtualkeyboard/inputselectionhandle.h
index fa2f1e13..e4c3e910 100644
--- a/src/virtualkeyboard/inputselectionhandle.h
+++ b/src/virtualkeyboard/inputselectionhandle.h
@@ -42,13 +42,15 @@ class DesktopInputSelectionControl;
class InputSelectionHandle : public QRasterWindow
{
+ Q_OBJECT
+
public:
InputSelectionHandle(DesktopInputSelectionControl *control, QWindow *eventWindow);
void applyImage(const QSize &windowSize);
protected:
void paintEvent(QPaintEvent *pe) Q_DECL_OVERRIDE;
- bool event(QEvent *event);
+ bool event(QEvent *event) Q_DECL_OVERRIDE;
private:
DesktopInputSelectionControl *m_control;