Expose internal id to declarative scripts
Summary: A declarative script may need to access internal id in order to create an instance of WindowThumbnailItem. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23671
This commit is contained in:
parent
4e9ee32895
commit
e8f8033dc8
1 changed files with 5 additions and 0 deletions
|
@ -252,6 +252,11 @@ class KWIN_EXPORT Toplevel
|
|||
*/
|
||||
Q_PROPERTY(bool outline READ isOutline)
|
||||
|
||||
/**
|
||||
* This property holds a UUID to uniquely identify this Toplevel.
|
||||
*/
|
||||
Q_PROPERTY(QUuid internalId READ internalId CONSTANT)
|
||||
|
||||
public:
|
||||
explicit Toplevel();
|
||||
virtual xcb_window_t frameId() const;
|
||||
|
|
Loading…
Reference in a new issue