callDBus in KWin QML script

Is it possible to use the callDBus method from JavaScript KWin scripts in a QML KWin script? There is no online documentation on using this, and I cannot find any projects that attempt to do so.

Found the solution, there is a class imported with org.kde.kwin called DBusCall that works fine. I also observed that the class was not documented anywhere except for in the header file of the C++ source code that created the QML class. Very fun

1 Like