Suggestion: create an own framework for KGlobalAccel
David Faure
faure at kde.org
Sun Dec 8 10:51:55 UTC 2013
On Sunday 08 December 2013 10:16:36 Martin Graesslin wrote:
> Hi,
>
> at the moment KGlobalAccel is part of XmlGui which I consider semantically
> wrong. Global shortcuts have nothing to do with XmlGui and there are quite
> some examples for applications which need global shortcuts but do not use
> xml gui (e.g. everything in the desktop shell).
>
> My suggestion is to move the following source files into an own framework:
> * kglobalaccel.cpp
> * kglobalaccel.h
> * kglobalaccel_p.h
> * kglobalshortcutinfo.cpp
> * kglobalshortcutinfo.h
> * kglobalshortcutinfo_dbus.cpp
> * kglobalshortcutinfo_p.h
> * org.kde.kglobalaccel.Component.xml
> * org.kde.KGlobalAccel.xml
Go for it, if you can make it compile ;)
I thought it depended on KActionCollection, but apparently it doesn't.
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5
More information about the Kde-frameworks-devel
mailing list