[Kmymoney-devel] Some experimentd trying to move loading methods out of the GUI
Cristian Oneţ
onet.cristian at gmail.com
Tue Oct 20 08:00:33 CEST 2009
În data de Luni 19 Octombrie 2009 23:18:43 Michaël Lhomme a scris:
> Hi,
>
> here is my class file to load KMM data. (attachStorage is done in the
> caller class, before calling load methods)
>
> Regarding the dependencies, I take the whole readFile method to ensure I
> didn't forget something, and so it might have some unnecessary lines. The
> part causing linkage problem is when creating a new MyMoneyGncReader.
If you drop the MyMoneyGncReader part which implements the open of GNUCash
files I think that the UI dependecies will go away. Since a user can always
import such a file with kmymoney and save it as a kmymoney file I don't think
that anything is lost by removing the MyMoneyGncReader part.
Thomas what do you think about adding a MyMoneyDataLoader in the engine?
> On Mon, Oct 19, 2009 at 8:14 PM, Thomas Baumgart <thb at net-bembel.de> wrote:
> > Hi,
> >
> > on Monday 19 October 2009 Alvaro Soliverez wrote:
> > > Michaël,
> > > can you send the class to the list, so we have an example?
> > >
> > > All, this is somewhat related to the issue we had in the saveFile
> > > method. Moving those methods to the engine will have multiple benefits,
> > > as we can see.
> > > In my case, I'm interested on Akonadi for calendar and the FinanceStack
> >
> > and
> >
> > > a datasource for Plasma (a quick entry plasmoid, anyone?). And from an
> > > architecture point of view, it's best to keep the layers separate.
> > > So, with Michaël's help we could check which methods need to be
> > > changed, and then work on them to split GUI and engine tasks.
> > > What's your thought on this?
> >
> > Not sure how much of Akonadi we can really use in the FinanceStack. But
> > otherwise, count me in on it.
> >
> >
> > --
> >
> >
> > Regards
> >
> > Thomas Baumgart
> >
> > GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
> > -------------------------------------------------------------
> > 'Computers in the future may weigh no more than 1.5 tons.'
> > -Popular Mechanics, 1949
> > -------------------------------------------------------------
> >
> > _______________________________________________
> > KMyMoney-devel mailing list
> > KMyMoney-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
> Regards,
>
> Michaël Lhomme
>
--
Regards,
Cristian Oneţ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091020/3850e15e/attachment.sig
More information about the KMyMoney-devel
mailing list