File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/services/status_notifier Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,13 @@ class StatusNotifierItem: public QObject {
131
131
[[nodiscard]] dbus::dbusmenu::DBusMenuHandle* menuHandle ();
132
132
133
133
// / Primary activation action, generally triggered via a left click.
134
- void activate ();
134
+ Q_INVOKABLE void activate ();
135
135
// / Secondary activation action, generally triggered via a middle click.
136
- void secondaryActivate ();
136
+ Q_INVOKABLE void secondaryActivate ();
137
137
// / Scroll action, such as changing volume on a mixer.
138
- void scroll (qint32 delta, bool horizontal) const ;
138
+ Q_INVOKABLE void scroll (qint32 delta, bool horizontal) const ;
139
139
// / Display a platform menu at the given location relative to the parent window.
140
- void display (QObject* parentWindow, qint32 relativeX, qint32 relativeY);
140
+ Q_INVOKABLE void display (QObject* parentWindow, qint32 relativeX, qint32 relativeY);
141
141
142
142
QS_BINDABLE_GETTER (QString, bId, id, bindableId);
143
143
QS_BINDABLE_GETTER (QString, bTitle, title, bindableTitle);
Original file line number Diff line number Diff line change 1
1
name = "Quickshell.Services.SystemTray"
2
2
description = "Types for implementing a system tray"
3
- headers = [ "qml.hpp" ]
3
+ headers = [ "qml.hpp", "item.hpp" ]
4
4
-----
You can’t perform that action at this time.
0 commit comments