21 #ifndef __PINENTRY_QT_CAPSLOCK_H__
22 #define __PINENTRY_QT_CAPSLOCK_H__
27 enum class LockState { Unknown = -1, Off, On };
29 LockState capsLockState();
31 #ifdef PINENTRY_QT_WAYLAND
47 void stateChanged(
bool locked);
51 std::unique_ptr<Private> d;
57 #ifdef PINENTRY_QT_WAYLAND
62 #ifdef PINENTRY_QT_WAYLAND
63 void registry_seatAnnounced(quint32, quint32);
64 void seat_hasKeyboardChanged(
bool);
65 void keyboard_modifiersChanged(quint32);
71 #ifdef PINENTRY_QT_WAYLAND
72 KWayland::Client::Registry *registry =
nullptr;
73 KWayland::Client::Seat *seat =
nullptr;
Definition: capslock.h:54
Definition: capslock.h:40