mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
taskswitcher: add QML type registration to taskmodel
This commit is contained in:
parent
78a7e641e2
commit
0d2e15cea4
1 changed files with 4 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <QHash>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QVariant>
|
||||
#include <qqmlregistration.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
@ -17,6 +18,8 @@ namespace KWin
|
|||
class TaskModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
QML_ELEMENT
|
||||
QML_UNCREATABLE("")
|
||||
|
||||
public:
|
||||
enum Roles {
|
||||
|
|
|
|||
Loading…
Reference in a new issue