[Digikam-devel] [Bug 291080] In settings, arrange ALL export options at ONE place
Gilles Caulier
caulier.gilles at gmail.com
Wed Aug 8 06:24:06 BST 2012
https://bugs.kde.org/show_bug.cgi?id=291080
--- Comment #21 from Gilles Caulier <caulier.gilles at gmail.com> ---
Victor,
1/ Instead to use a dedicated method to group KAction + Category :
void addAction(KAction* const action, Category cat);
... why not to store Category in Kaction Container as extra data :
http://qt-project.org/doc/qt-4.8/qaction.html#setData
http://qt-project.org/doc/qt-4.8/qaction.html#data
This will simplify code a lots...
2/ Your last changes include to change both code + desktop files to describe
Categories used in a plugin. Do you need that ?
3/ Instead to use code or/and desktop file to assign Categories in plugin,
what's about to use XML file as well to add extra data in XML Action definition
? It's possible ? If yes, no code need to be changed and recompiled to assign
or change Category, if libkipi is able to manage it...
Gilles
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list