KDE/kdelibs/kdeui
Albert Astals Cid
aacid at kde.org
Sun Sep 14 16:36:04 BST 2008
A Diumenge 14 Setembre 2008, Michael Jansen va escriure:
> SVN commit 860728 by mjansen:
>
> Introducing KActionCategory. A class that is meant to bring order into
> KShortcutsDialog.
>
> Please have a look at the apidoc.
>
> I only implemented a minimal api. Please tell me if you need more to work
> with that class.
>
> TODO: React to removing actions from a collection. Remove it from the
> category too.
>
> CCMAIL: kde at michael-jansen.biz
> CCMAIL: kde-core-devel at kde.org
>
> M +6 -1 actions/kactioncategory.cpp
> M +54 -1 actions/kactioncategory.h
> M +34 -3 dialogs/kshortcutseditor.cpp
>
>
> --- trunk/KDE/kdelibs/kdeui/actions/kactioncategory.cpp #860727:860728
> @@ -18,7 +18,6 @@
>
> #include "kactioncategory.h"
>
> -#include <QtCore/QList>
> #include <QtGui/QAction>
>
> #include "kaction.h"
> @@ -58,6 +57,12 @@
> }
>
>
> +const QList<QAction*> KActionCategory::actions() const
> + {
> + return d->actions;
> + }
> +
> +
const QList<QAction*> KActionCategory::actions() const
seems not really KDE style to me, afair we do
QList<QAction*> KActionCategory::actions() const
but Michael says he copied it from KActionCollection, can someone show any
light?
Albert
More information about the kde-core-devel
mailing list