GSoC: KMyMoney - Replace functions related to widgets from alkimia

Suraj Kumar Mahto suraj.mahto49 at gmail.com
Sun Jun 13 23:18:26 BST 2021


Hello,
> In case you need to adjust code that lives in libalkimia, yes. Just fork
it
> as with KMyMoney and make the necessary adjustments on a branch that you>
> branch off of master.

In file (ksettingskmymoney.cpp):
const auto onlineQuotesPage = new AlkOnlineQuotesWidget;
addPage(onlineQuotesPage, i18n("Online Quotes"),
Icons::get(Icon::PreferencesNetwork).name());

This updates the online quotes page. Unlike planned in my proposal, where I
thought of modifying the ksettingsonlinequotes.cpp (.h)(.ui). Now the only
thing I am using is alkonlinequoteswidget.cpp(h)(ui) so it seems that I
need to work further in the alkimia library only.

After replacing the ksettingsonlinequotes usage in ksettingskmymoney.cpp
file, kmymoney crashes(

Segmentation fault). Currently trying to study the crash log in Kcrash.

After this, I think I will have to look up the kmymoneyrc part as opposed
to timeline since I don't have any quotes data to test after updating the
above.

> Now that the first week is over, do you blog about your work, obstacles,
> challenges and progress? It would be nice to see.

I planned for the blog in the intervals of 2 weeks as it is distributed in
my proposal. Ok, I wIll do that by today, that will be nice as well.

Regards
Suraj Kumar Mahto

On Sun, Jun 13, 2021 at 9:13 PM Thomas Baumgart <thb at net-bembel.de> wrote:

> On Samstag, 12. Juni 2021 21:29:01 CEST Suraj Kumar Mahto wrote:
>
> > Thank you, that works. So the page using AlkOnlineQuotesWidget class is
> > added. Since the source code of this class is there in the alkimia lib.
> So
> > in order to work further, I will have to work on the improvement of
> alkimia
> > source code. Correct me if I'm wrong.
>
> In case you need to adjust code that lives in libalkimia, yes. Just fork it
> as with KMyMoney and make the necessary adjustments on a branch that you
> branch off of master.
>
> > Also, in order to import the previous kmymoneyrc configuration(as I can't
> > see the previous quotes data after modifying), I thought of using update
> > file. This is needed to be worked upon now or later?
>
> That depends on your schedule. It maybe a good idea to check what changes
> are necessary and adjust a single entry manually so that you can verify
> that your changes are working. Then one can check what is needed for the
> upd mechanism (maybe with a python script as companion depending on the
> changes needed).
>
> Now that the first week is over, do you blog about your work, obstacles,
> challenges and progress? It would be nice to see.
>
>
> --
>
> Regards
>
> Thomas Baumgart
>
> https://www.signal.org/       Signal, the better WhatsApp
> -------------------------------------------------------------
> Early bird gets the worm, but the second mouse gets the cheese.
> -------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20210614/68f7d943/attachment.htm>


More information about the Kde-finance-apps mailing list