Stephan Kulow coolo at kde.org
Wed Jul 19 07:11:30 BST 2006

Am Dienstag, 18. Juli 2006 15:45 schrieb Clarence Dang:
> Does KSelectAction work for anyone?  I'm trying to get the KolourPaint zoom
> action working.
> I see 3 problems with KSelectAction:
> 1. While selecting one of the items in the menu representation initially
> emits "triggered(int)" and "currentItem()" reports the right value, after
> re-entering the event loop, the item is magically deselected.
> 2. The combobox representation is not synchronised with the action at all.
> QComboBox does not support QAction natively so some signals need to be
> connected.
> 3. currentText() returns "&MyString" (i.e. it adds the accelerator) instead
> of "MyString" (where "MyString" is passed to setItems()).  This is
> unexpected and a subtle change from KDE 3.
The accelerators are added most likely by kcheckaccelerator and this class 
needs more porting

Greetings, Stephan

More information about the kde-core-devel mailing list