build: fix PostReloadHook resolution in LSP

This commit is contained in:
outfoxxed 2025-07-15 19:03:27 -07:00
parent a45fc03c7d
commit 4d8055f1cd
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 20 additions and 5 deletions

View file

@ -23,7 +23,6 @@ qt_add_qml_module(quickshell-service-notifications
)
qs_add_module_deps_light(quickshell-service-notifications Quickshell)
install_qml_module(quickshell-service-notifications)
target_link_libraries(quickshell-service-notifications PRIVATE Qt::Quick Qt::DBus)

View file

@ -171,7 +171,11 @@ public:
[[nodiscard]] QBindable<QString> bindableDesktopEntry() const { return &this->bDesktopEntry; };
[[nodiscard]] QBindable<QString> bindableImage() const { return &this->bImage; };
[[nodiscard]] QBindable<bool> bindableHasInlineReply() const { return &this->bHasInlineReply; };
[[nodiscard]] QBindable<QString> bindableInlineReplyPlaceholder() const { return &this->bInlineReplyPlaceholder; };
[[nodiscard]] QBindable<QString> bindableInlineReplyPlaceholder() const {
return &this->bInlineReplyPlaceholder;
};
[[nodiscard]] QBindable<QVariantMap> bindableHints() const { return &this->bHints; };
[[nodiscard]] NotificationCloseReason::Enum closeReason() const;

View file

@ -17,6 +17,9 @@ class PamContext
: public QObject
, public QQmlParserStatus {
Q_OBJECT;
QML_ELEMENT;
Q_INTERFACES(QQmlParserStatus);
// clang-format off
/// If the pam context is actively performing an authentication.
///
@ -49,7 +52,6 @@ class PamContext
/// If the user's response should be visible. Only valid when @@responseRequired is true.
Q_PROPERTY(bool responseVisible READ isResponseVisible NOTIFY responseVisibleChanged);
// clang-format on
QML_ELEMENT;
public:
explicit PamContext(QObject* parent = nullptr): QObject(parent) {}