[kwin_wayland] Fix enum arguments in Q_SIGNALS
Need to be fully specified and declared as a metatype.
This commit is contained in:
parent
0ed37fd859
commit
22ddac1582
2 changed files with 4 additions and 3 deletions
|
@ -61,7 +61,7 @@ public:
|
|||
|
||||
Q_SIGNALS:
|
||||
void keymapChanged(int fd, quint32 size);
|
||||
void keyChanged(quint32 key, KeyState state, quint32 time);
|
||||
void keyChanged(quint32 key, KWin::Wayland::Keyboard::KeyState state, quint32 time);
|
||||
void modifiersChanged(quint32 depressed, quint32 latched, quint32 locked, quint32 group);
|
||||
|
||||
private:
|
||||
|
|
|
@ -77,8 +77,8 @@ Q_SIGNALS:
|
|||
void entered(quint32 serial, const QPointF &relativeToSurface);
|
||||
void left(quint32 serial);
|
||||
void motion(const QPointF &relativeToSurface, quint32 time);
|
||||
void buttonStateChanged(quint32 serial, quint32 time, quint32 button, ButtonState state);
|
||||
void axisChanged(quint32 time, Axis axis, qreal delta);
|
||||
void buttonStateChanged(quint32 serial, quint32 time, quint32 button, KWin::Wayland::Pointer::ButtonState state);
|
||||
void axisChanged(quint32 time, KWin::Wayland::Pointer::Axis axis, qreal delta);
|
||||
|
||||
private:
|
||||
void enter(uint32_t serial, wl_surface *surface, const QPointF &relativeToSurface);
|
||||
|
@ -92,5 +92,6 @@ private:
|
|||
}
|
||||
|
||||
Q_DECLARE_METATYPE(KWin::Wayland::Pointer::ButtonState)
|
||||
Q_DECLARE_METATYPE(KWin::Wayland::Pointer::Axis)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue