[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-finance-apps
Subject:    Re: GSoC: KMyMoney - Replace functions related to widgets from alkimia
From:       Suraj Kumar Mahto <suraj.mahto49 () gmail ! com>
Date:       2021-06-13 22:30:26
Message-ID: CAEDvbQDcPt7byLbks+wQQfniXPC7KHAVOd_iOfJ2BFwvGBxmkQ () mail ! gmail ! com
[Download RAW message or body]

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@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.
> -------------------------------------------------------------
>

[Attachment #3 (text/html)]

<div dir="ltr"><span class="gmail-im">Hello,<br></span>&gt; In case you need to \
adjust code that lives in libalkimia, yes. Just fork it<br> &gt; as with KMyMoney and \
make the necessary adjustments on a branch that you&gt; <br><div> &gt; branch off of \
master.<span class="gmail-im"><br></span></div><div><br><span \
class="gmail-im"></span></div><div><span class="gmail-im">In file \
(ksettingskmymoney.cpp):<br></span></div><div><span class="gmail-im">const auto \
onlineQuotesPage = new AlkOnlineQuotesWidget;<br>addPage(onlineQuotesPage, \
i18n(&quot;Online Quotes&quot;), \
Icons::get(Icon::PreferencesNetwork).name());<br><br></span></div><div><span \
class="gmail-im">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.<br><br></span></div><div><span \
class="gmail-im">After replacing the ksettingsonlinequotes usage in \
ksettingskmymoney.cpp file, kmymoney crashes(</span><p \
style="margin:0px;text-indent:0px;white-space:pre-wrap">Segmentation fault<span \
class="gmail-im">). Currently trying to study the crash log in \
Kcrash.</span><br><span class="gmail-im"></span></p><span \
class="gmail-im"><br></span></div><div><span class="gmail-im">After this, I think I \
will have to look up the kmymoneyrc part as opposed to timeline since I don&#39;t \
have any quotes data to test after updating the above.<br></span></div><div><span \
class="gmail-im"><br> &gt; Now that the first week is over, do you blog about your \
work, obstacles,<br> &gt; challenges and progress? It would be nice to see.<span \
class="gmail-im"><br><br></span></span></div><div><span class="gmail-im"><span \
class="gmail-im">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. \
<br><br><font size="2"><span \
style="font-family:Inter,sans-serif;color:rgb(0,0,0);background-color:transparent;font \
-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap" \
id="gmail-m_-1018441997513253227gmail-m_4674377980173440133gmail-docs-internal-guid-d5e8f431-7fff-50d1-c72c-e959f708b599"><span \
style="font-family:monospace"><font face="arial,sans-serif">Regards<font \
color="#888888"><font color="#888888"><br>Suraj Kumar \
Mahto</font></font></font></span></span></font></span></span></div><div><span \
class="gmail-im"> </span></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sun, Jun 13, 2021 at 9:13 PM Thomas Baumgart &lt;<a \
href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On Samstag, 12. Juni 2021 21:29:01 CEST Suraj \
Kumar Mahto wrote:<br> <br>
&gt; Thank you, that works. So the page using AlkOnlineQuotesWidget class is<br>
&gt; added. Since the source code of this class is there in the alkimia lib. So<br>
&gt; in order to work further, I will have to work on the improvement of alkimia<br>
&gt; source code. Correct me if I&#39;m wrong.<br>
<br>
In case you need to adjust code that lives in libalkimia, yes. Just fork it<br>
as with KMyMoney and make the necessary adjustments on a branch that you<br>
branch off of master.<br>
<br>
&gt; Also, in order to import the previous kmymoneyrc configuration(as I \
can&#39;t<br> &gt; see the previous quotes data after modifying), I thought of using \
update<br> &gt; file. This is needed to be worked upon now or later?<br>
<br>
That depends on your schedule. It maybe a good idea to check what changes<br>
are necessary and adjust a single entry manually so that you can verify<br>
that your changes are working. Then one can check what is needed for the<br>
upd mechanism (maybe with a python script as companion depending on the<br>
changes needed).<br>
<br>
Now that the first week is over, do you blog about your work, obstacles,<br>
challenges and progress? It would be nice to see.<br>
<br>
<br>
-- <br>
<br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
<a href="https://www.signal.org/" rel="noreferrer" \
                target="_blank">https://www.signal.org/</a>           Signal, the \
                better WhatsApp<br>
-------------------------------------------------------------<br>
Early bird gets the worm, but the second mouse gets the cheese.<br>
-------------------------------------------------------------<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic