Review Request 115932: Add declarative plugin for KWindowSystem

Martin Gräßlin mgraesslin at kde.org
Thu Feb 27 09:54:31 UTC 2014


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


I think the example app needs to be more complete as I doubt that everything here would just work (e.g. the States). If you are unsure about how that should work I can schedule some time for it.

Would it be possible to add some Q_PROPRERTIES to the class? E.g. numberOfDesktops or currentDesktop might make more sense with a property instead INVOKABLE.

- Martin Gräßlin


On Feb. 27, 2014, 10:23 a.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> 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.
> 
> 
> 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
> -----
> 
>   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/f905cf6c/attachment.html>


More information about the Kde-frameworks-devel mailing list