File tree Expand file tree Collapse file tree 9 files changed +20
-5
lines changed Expand file tree Collapse file tree 9 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,10 @@ class ReloadPropagator: public Reloadable {
122
122
class PostReloadHook
123
123
: public QObject
124
124
, public QQmlParserStatus {
125
+ Q_OBJECT;
126
+ QML_ANONYMOUS;
127
+ Q_INTERFACES (QQmlParserStatus);
128
+
125
129
public:
126
130
PostReloadHook (QObject* parent = nullptr ): QObject(parent) {}
127
131
void classBegin () override {}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ qt_add_qml_module(quickshell-io
21
21
FileView.qml
22
22
)
23
23
24
+ qs_add_module_deps_light (quickshell-io Quickshell )
24
25
install_qml_module (quickshell-io )
25
26
26
27
target_link_libraries (quickshell-io PRIVATE Qt::Quick )
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ class JsonAdapter
91
91
, public QQmlParserStatus {
92
92
Q_OBJECT;
93
93
QML_ELEMENT;
94
+ Q_INTERFACES (QQmlParserStatus);
94
95
95
96
public:
96
97
void classBegin () override {}
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ qt_add_qml_module(quickshell-service-notifications
23
23
)
24
24
25
25
qs_add_module_deps_light (quickshell-service-notifications Quickshell )
26
-
27
26
install_qml_module (quickshell-service-notifications )
28
27
29
28
target_link_libraries (quickshell-service-notifications PRIVATE Qt::Quick Qt::DBus )
Original file line number Diff line number Diff line change @@ -171,7 +171,11 @@ class Notification
171
171
[[nodiscard]] QBindable<QString> bindableDesktopEntry () const { return &this ->bDesktopEntry ; };
172
172
[[nodiscard]] QBindable<QString> bindableImage () const { return &this ->bImage ; };
173
173
[[nodiscard]] QBindable<bool > bindableHasInlineReply () const { return &this ->bHasInlineReply ; };
174
- [[nodiscard]] QBindable<QString> bindableInlineReplyPlaceholder () const { return &this ->bInlineReplyPlaceholder ; };
174
+
175
+ [[nodiscard]] QBindable<QString> bindableInlineReplyPlaceholder () const {
176
+ return &this ->bInlineReplyPlaceholder ;
177
+ };
178
+
175
179
[[nodiscard]] QBindable<QVariantMap> bindableHints () const { return &this ->bHints ; };
176
180
177
181
[[nodiscard]] NotificationCloseReason::Enum closeReason () const ;
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ class PamContext
17
17
: public QObject
18
18
, public QQmlParserStatus {
19
19
Q_OBJECT;
20
+ QML_ELEMENT;
21
+ Q_INTERFACES (QQmlParserStatus);
22
+
20
23
// clang-format off
21
24
// / If the pam context is actively performing an authentication.
22
25
// /
@@ -49,7 +52,6 @@ class PamContext
49
52
// / If the user's response should be visible. Only valid when @@responseRequired is true.
50
53
Q_PROPERTY (bool responseVisible READ isResponseVisible NOTIFY responseVisibleChanged);
51
54
// clang-format on
52
- QML_ELEMENT;
53
55
54
56
public:
55
57
explicit PamContext (QObject* parent = nullptr ): QObject(parent) {}
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ qt_add_qml_module(quickshell-hyprland
30
30
IMPORTS ${HYPRLAND_MODULES}
31
31
)
32
32
33
+ qs_add_module_deps_light (quickshell-io Quickshell )
33
34
install_qml_module (quickshell-hyprland )
34
35
35
36
# intentionally no pch as the module is empty
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ class HyprlandFocusGrab
56
56
: public QObject
57
57
, public QQmlParserStatus {
58
58
Q_OBJECT;
59
+ QML_ELEMENT;
60
+ Q_INTERFACES (QQmlParserStatus);
59
61
// / If the focus grab is active. Defaults to false.
60
62
// /
61
63
// / When set to true, an input grab will be created for the listed windows.
@@ -66,7 +68,6 @@ class HyprlandFocusGrab
66
68
Q_PROPERTY (bool active READ isActive WRITE setActive NOTIFY activeChanged);
67
69
// / The list of windows to whitelist for input.
68
70
Q_PROPERTY (QList<QObject*> windows READ windows WRITE setWindows NOTIFY windowsChanged);
69
- QML_ELEMENT;
70
71
71
72
public:
72
73
explicit HyprlandFocusGrab (QObject* parent = nullptr ): QObject(parent) {}
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ class WrapperManager
85
85
: public QObject
86
86
, public QQmlParserStatus {
87
87
Q_OBJECT;
88
+ QML_ELEMENT;
89
+ Q_INTERFACES (QQmlParserStatus);
90
+
88
91
// clang-format off
89
92
// / The wrapper component's selected child.
90
93
// /
@@ -102,7 +105,6 @@ class WrapperManager
102
105
// / This property may not be changed after Component.onCompleted.
103
106
Q_PROPERTY (QQuickItem* wrapper READ wrapper WRITE setWrapper NOTIFY wrapperChanged FINAL);
104
107
// clang-format on
105
- QML_ELEMENT;
106
108
107
109
public:
108
110
explicit WrapperManager (QObject* parent = nullptr ): QObject(parent) {}
You can’t perform that action at this time.
0 commit comments