Review Request 115932: Add declarative plugin for KWindowSystem

Martin Klapetek martin.klapetek at gmail.com
Thu Feb 27 09:23:39 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115932/
-----------------------------------------------------------

(Updated Feb. 27, 2014, 10:23 a.m.)


Review request for KDE Frameworks and Martin Gräßlin.


Changes
-------

I couldn't reasonably tell what would be useful and what not, so I added Q_INVOKABLE to about everything. Plus the example.


Repository: kwindowsystem


Description
-------

Adds a declarative plugin usable from QML. Usage is as easy as "KWindowSystem.workArea(0)" in QML. So far only the workArea is accessible, not sure which other methods should be. All of them?

I've made the import version to match the framework version, so you'd do "import org.kde.kwindowsystem 5.0"


Diffs (updated)
-----

  declarative/kwindowsystemplugin.h PRE-CREATION 
  CMakeLists.txt cbae838 
  declarative/CMakeLists.txt PRE-CREATION 
  declarative/kwindowsystemplugin.cpp PRE-CREATION 
  declarative/qmldir PRE-CREATION 
  src/kwindowsystem.h e10f7c1 
  tests/test.qml PRE-CREATION 

Diff: https://git.reviewboard.kde.org/r/115932/diff/


Testing
-------

Works


Thanks,

Martin Klapetek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140227/a65fb5f6/attachment.html>


More information about the Kde-frameworks-devel mailing list