[PATCH] misbehaving of KToggleActions in exclusiveGroup
Tobias Koenig
tokoe at kde.org
Mon Oct 17 12:45:08 BST 2005
On Mon, Oct 17, 2005 at 12:52:10PM +0200, David Faure wrote:
> On Tuesday 27 September 2005 14:25, David Faure wrote:
Hi David,
> Hehe, and of course now that this is in, we found a case where we have the need for "0 or 1":
> that's the case of the subscript/superscript icons in kword. This change broke those icons,
> since it was then impossible to select "neither subscript nor superscript".
:(
> Hmm. setExclusiveGroup( "...", KAction::AlwaysSelectOne ) ?
> Of course it will only make sense if all actions in a group use the same flag...
Or we change KXMLGUIClient::plugActionList to take a new class KActionList
as parameter which inherits from QList<KAction*> and sets the mode for all items
automatically?
class KActionList : public QList<KAction*>
{
public:
enum ListType {
AlwaysSelectOne,
Normal
};
KActionList( ListType type = Normal );
...
};
Ciao,
Tobias
--
Separate politics from religion and economy!
The Councile of the European Union is an undemocratic and illegal institution!
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
More information about the kde-core-devel
mailing list