|
|
|
|
@ -70,7 +70,7 @@ class WorkspaceWrapper : public QObject |
|
|
|
|
Q_PROPERTY(int displayHeight READ displayHeight) |
|
|
|
|
Q_PROPERTY(int activeScreen READ activeScreen) |
|
|
|
|
Q_PROPERTY(int numScreens READ numScreens NOTIFY numberScreensChanged) |
|
|
|
|
Q_PROPERTY(QString currentActivity READ currentActivity NOTIFY currentActivityChanged) |
|
|
|
|
Q_PROPERTY(QString currentActivity READ currentActivity WRITE setCurrentActivity NOTIFY currentActivityChanged) |
|
|
|
|
Q_PROPERTY(QStringList activities READ activityList NOTIFY activitiesChanged) |
|
|
|
|
/**
|
|
|
|
|
* The bounding size of all screens combined. Overlapping areas |
|
|
|
|
@ -208,6 +208,7 @@ rettype getter() const; \ |
|
|
|
|
void setter( rettype val ); |
|
|
|
|
GETTERSETTERDEF(int, numberOfDesktops, setNumberOfDesktops) |
|
|
|
|
GETTERSETTERDEF(int, currentDesktop, setCurrentDesktop) |
|
|
|
|
GETTERSETTERDEF(QString, currentActivity, setCurrentActivity) |
|
|
|
|
GETTERSETTERDEF(KWin::AbstractClient*, activeClient, setActiveClient) |
|
|
|
|
#undef GETTERSETTERDEF |
|
|
|
|
QSize desktopGridSize() const; |
|
|
|
|
@ -221,7 +222,6 @@ void setter( rettype val ); |
|
|
|
|
QSize displaySize() const; |
|
|
|
|
int activeScreen() const; |
|
|
|
|
int numScreens() const; |
|
|
|
|
QString currentActivity() const; |
|
|
|
|
QStringList activityList() const; |
|
|
|
|
QSize virtualScreenSize() const; |
|
|
|
|
QRect virtualScreenGeometry() const; |
|
|
|
|
|