[Kmymoney-devel] Porting KMyMoneyGeneralCombo

Thomas Baumgart thb at net-bembel.de
Mon Jan 11 17:09:31 CET 2010


On Monday 11 January 2010 13:56:46 Alvaro Soliverez wrote:
> Hello all,
> I'm in the process of porting KMyMoneyGeneralCombo to a full MVC model.
> For those not familiar with it, it's a general purpose combobox used
> throughout the whole application, instead of using KComboBox directly.
>
> The port is fairly straightforward, without counting the subclasses
> that depend on it. I only have one doubt, because the class implements
> a d Private class where it keeps a Map, to store values and ids. In
> fact, it's the same functionality now provided by the model stored
> within KComboBox.
> I'm tempted to delete the whole private class and use the model
> instead, unless someone comes up with a reason to do otherwise.

If it's only the map that is kept in the private class then go for it and 
delete it. This information indeed can now be stored in the model.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
morphir: so much confusion :S kmake, kdemake, qmake make cmake etc.
logixoul: you forgot cmakekde :)
morphir: and bakemeacake
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100111/219c2c70/attachment.sig 


More information about the KMyMoney-devel mailing list