forked from quickshell/quickshell
build: fix PostReloadHook resolution in LSP
This commit is contained in:
parent
a45fc03c7d
commit
4d8055f1cd
9 changed files with 20 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue