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 {
122122class PostReloadHook
123123 : public QObject
124124 , public QQmlParserStatus {
125+ Q_OBJECT;
126+ QML_ANONYMOUS;
127+ Q_INTERFACES (QQmlParserStatus);
128+
125129public:
126130 PostReloadHook (QObject* parent = nullptr ): QObject(parent) {}
127131 void classBegin () override {}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ qt_add_qml_module(quickshell-io
2121 FileView.qml
2222)
2323
24+ qs_add_module_deps_light(quickshell-io Quickshell)
2425install_qml_module(quickshell-io)
2526
2627target_link_libraries (quickshell-io PRIVATE Qt::Quick)
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ class JsonAdapter
9191 , public QQmlParserStatus {
9292 Q_OBJECT;
9393 QML_ELEMENT;
94+ Q_INTERFACES (QQmlParserStatus);
9495
9596public:
9697 void classBegin () override {}
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ qt_add_qml_module(quickshell-service-notifications
2323)
2424
2525qs_add_module_deps_light(quickshell-service-notifications Quickshell)
26-
2726install_qml_module(quickshell-service-notifications)
2827
2928target_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
171171 [[nodiscard]] QBindable<QString> bindableDesktopEntry () const { return &this ->bDesktopEntry ; };
172172 [[nodiscard]] QBindable<QString> bindableImage () const { return &this ->bImage ; };
173173 [[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+
175179 [[nodiscard]] QBindable<QVariantMap> bindableHints () const { return &this ->bHints ; };
176180
177181 [[nodiscard]] NotificationCloseReason::Enum closeReason () const ;
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ class PamContext
1717 : public QObject
1818 , public QQmlParserStatus {
1919 Q_OBJECT;
20+ QML_ELEMENT;
21+ Q_INTERFACES (QQmlParserStatus);
22+
2023 // clang-format off
2124 // / If the pam context is actively performing an authentication.
2225 // /
@@ -49,7 +52,6 @@ class PamContext
4952 // / If the user's response should be visible. Only valid when @@responseRequired is true.
5053 Q_PROPERTY (bool responseVisible READ isResponseVisible NOTIFY responseVisibleChanged);
5154 // clang-format on
52- QML_ELEMENT;
5355
5456public:
5557 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
3030 IMPORTS ${HYPRLAND_MODULES}
3131)
3232
33+ qs_add_module_deps_light(quickshell-io Quickshell)
3334install_qml_module(quickshell-hyprland)
3435
3536# intentionally no pch as the module is empty
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ class HyprlandFocusGrab
5656 : public QObject
5757 , public QQmlParserStatus {
5858 Q_OBJECT;
59+ QML_ELEMENT;
60+ Q_INTERFACES (QQmlParserStatus);
5961 // / If the focus grab is active. Defaults to false.
6062 // /
6163 // / When set to true, an input grab will be created for the listed windows.
@@ -66,7 +68,6 @@ class HyprlandFocusGrab
6668 Q_PROPERTY (bool active READ isActive WRITE setActive NOTIFY activeChanged);
6769 // / The list of windows to whitelist for input.
6870 Q_PROPERTY (QList<QObject*> windows READ windows WRITE setWindows NOTIFY windowsChanged);
69- QML_ELEMENT;
7071
7172public:
7273 explicit HyprlandFocusGrab (QObject* parent = nullptr ): QObject(parent) {}
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ class WrapperManager
8585 : public QObject
8686 , public QQmlParserStatus {
8787 Q_OBJECT;
88+ QML_ELEMENT;
89+ Q_INTERFACES (QQmlParserStatus);
90+
8891 // clang-format off
8992 // / The wrapper component's selected child.
9093 // /
@@ -102,7 +105,6 @@ class WrapperManager
102105 // / This property may not be changed after Component.onCompleted.
103106 Q_PROPERTY (QQuickItem* wrapper READ wrapper WRITE setWrapper NOTIFY wrapperChanged FINAL);
104107 // clang-format on
105- QML_ELEMENT;
106108
107109public:
108110 explicit WrapperManager (QObject* parent = nullptr ): QObject(parent) {}
You can’t perform that action at this time.
0 commit comments