KEditListBox and KConfigDialogManager

Richard Lärkäng nouseforaname at home.se
Tue Sep 14 18:13:42 BST 2004


On Tuesday 14 September 2004 18.40, Waldo Bastian wrote:
> The silence means I missed your mail :-}

:-)

> Based on your description it sounds ok but could you send me the patches
> once more so that I can have a look?

Sure, patches are attached.

Richard

> Cheers,
> Waldo
>
> On Tuesday 14 September 2004 17:31, Richard Lärkäng wrote:
> > On Sunday 05 September 2004 19.02, Richard Lärkäng  wrote:
> > > Hi!
> >
> > Does the silence mean it's OK to commit?
> >
> > Richard
> >
> > > I added support for KConfigXT in the kcm for libkcddb, and ran into
> > > some problems.
> > >
> > > Now I have a QListBox with items where I need to store all of the
> > > items, which isn't possible with the properties there is now, it will
> > > only save the one which is selected.
> > >
> > > But then I realized that KEditListBox would be better suited for what I
> > > want to do, but it doesn't work very well with KConfigDialogManager,
> > > because it doesn't have any properties (although the default is set to
> > > "currentItem" in KApplication).
> > >
> > > So I'm wondering if I could set the default property to "items" in
> > > KApplication for KEditListBox and add that property to KEditListBox and
> > > also add a method setItems(). It won't break any applications because
> > > it didn't have any properties before, and also when looking through
> > > some places where KEditListBox is used, items() seems to be used a lot
> > > more than currentItem().
> > >
> > > The attached patches does that, can I commit?
> > >
> > > Btw, the example in KConfigDialogManager about adding a new widget to
> > > the propertymap crashed on me, and the attached patch seems more
> > > correct, can I commit that too?
> > >
> > > Richard Lärkäng
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keditlistbox-defaultproperty.patch
Type: text/x-diff
Size: 770 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040914/e2103fe1/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keditlistbox-items-property.patch
Type: text/x-diff
Size: 1354 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040914/e2103fe1/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfigdialogmanager-example.patch
Type: text/x-diff
Size: 745 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040914/e2103fe1/attachment-0002.patch>


More information about the kde-core-devel mailing list