We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b39763 commit 14ee523Copy full SHA for 14ee523
applets/workspaces/workspaces.cpp
@@ -0,0 +1,5 @@
1
+#include "workspaces.h"
2
+
3
+void Workspaces::setCurrentSpace(qint8 newSpace) {
4
+ KWindowSystem::setCurrentDesktop(newSpace);
5
+}
applets/workspaces/workspaces.h
@@ -0,0 +1,14 @@
+#ifndef WORKSPACES_H
+#define WORKSPACES_H
+#include <QtGlobal>
+#include <KWindowSystem>
6
7
8
+class Workspaces
9
+{
10
+public:
11
+ void setCurrentSpace(qint8 newSpace);
12
+};
13
14
+#endif // WORKSPACES_H
0 commit comments