Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwintabbox/layoutpreview.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 70 | { | |||
---|---|---|---|---|---|
72 | Q_PROPERTY(QAbstractItemModel *model READ model NOTIFY modelChanged) | 72 | Q_PROPERTY(QAbstractItemModel *model READ model NOTIFY modelChanged) | ||
73 | Q_PROPERTY(QRect screenGeometry READ screenGeometry NOTIFY screenGeometryChanged) | 73 | Q_PROPERTY(QRect screenGeometry READ screenGeometry NOTIFY screenGeometryChanged) | ||
74 | Q_PROPERTY(bool visible READ isVisible NOTIFY visibleChanged) | 74 | Q_PROPERTY(bool visible READ isVisible NOTIFY visibleChanged) | ||
75 | Q_PROPERTY(bool allDesktops READ isAllDesktops NOTIFY allDesktopsChanged) | 75 | Q_PROPERTY(bool allDesktops READ isAllDesktops NOTIFY allDesktopsChanged) | ||
76 | Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged) | 76 | Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged) | ||
77 | 77 | | |||
78 | /** | 78 | /** | ||
79 | * The main QML item that will be displayed in the Dialog | 79 | * The main QML item that will be displayed in the Dialog | ||
80 | */ | 80 | **/ | ||
81 | Q_PROPERTY(QObject *item READ item WRITE setItem NOTIFY itemChanged) | 81 | Q_PROPERTY(QObject *item READ item WRITE setItem NOTIFY itemChanged) | ||
82 | 82 | | |||
83 | Q_CLASSINFO("DefaultProperty", "item") | 83 | Q_CLASSINFO("DefaultProperty", "item") | ||
84 | public: | 84 | public: | ||
85 | SwitcherItem(QObject *parent = nullptr); | 85 | SwitcherItem(QObject *parent = nullptr); | ||
86 | virtual ~SwitcherItem(); | 86 | virtual ~SwitcherItem(); | ||
87 | 87 | | |||
88 | QAbstractItemModel *model() const; | 88 | QAbstractItemModel *model() const; | ||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |