Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/abstracttasksmodel.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 51 | enum AdditionalRoles { | |||
---|---|---|---|---|---|
78 | IsShaded, /**< Task (i.e. window) is shaded. */ | 78 | IsShaded, /**< Task (i.e. window) is shaded. */ | ||
79 | IsVirtualDesktopChangeable, /**< requestVirtualDesktop (see below) available. */ | 79 | IsVirtualDesktopChangeable, /**< requestVirtualDesktop (see below) available. */ | ||
80 | VirtualDesktop, /**< Virtual desktop for the task (i.e. window). */ | 80 | VirtualDesktop, /**< Virtual desktop for the task (i.e. window). */ | ||
81 | IsOnAllVirtualDesktops, /**< Task is on all virtual desktops. */ | 81 | IsOnAllVirtualDesktops, /**< Task is on all virtual desktops. */ | ||
82 | Geometry, /**< The task's geometry (i.e. the window's). */ | 82 | Geometry, /**< The task's geometry (i.e. the window's). */ | ||
83 | ScreenGeometry, /**< Screen geometry for the task (i.e. the window's screen). */ | 83 | ScreenGeometry, /**< Screen geometry for the task (i.e. the window's screen). */ | ||
84 | Activities, /**< Activities for the task (i.e. window). */ | 84 | Activities, /**< Activities for the task (i.e. window). */ | ||
85 | IsDemandingAttention, /**< Task is demanding attention. */ | 85 | IsDemandingAttention, /**< Task is demanding attention. */ | ||
86 | SkipTaskbar /**< Task desires not to be shown in a user interface. */ | 86 | SkipTaskbar, /**< Task desires not to be shown in a 'task bar' user interface. */ | ||
87 | SkipPager, /**< Task desires not to be shown in a 'pager' user interface. */ | ||||
87 | }; | 88 | }; | ||
88 | 89 | | |||
89 | explicit AbstractTasksModel(QObject *parent = nullptr); | 90 | explicit AbstractTasksModel(QObject *parent = nullptr); | ||
90 | virtual ~AbstractTasksModel(); | 91 | virtual ~AbstractTasksModel(); | ||
91 | 92 | | |||
92 | QHash<int, QByteArray> roleNames() const override; | 93 | QHash<int, QByteArray> roleNames() const override; | ||
93 | 94 | | |||
94 | virtual QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const override; | 95 | virtual QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const override; | ||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |