<div dir="ltr"><div></div><div>Hi Thomas, </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="margin:0px;text-indent:0px">I found usage of this in the KService::trader calls in e.g.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">QString ibanBicData::iban2Bic(const QString& iban)</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">and other methods in this file:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><a href="https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/ibanbicdata/ibanbicdata.cpp#L99" target="_blank"><span style="text-decoration:underline;color:rgb(41,128,185)">https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/ibanbicdata/ibanbicdata.cpp#L99</span></a></p></div></blockquote><div> </div><div>Yes, that is where I found those properties being read for handling queries. I wanted to understand how they are set.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="margin:0px;text-indent:0px">To me it looks enough to install that descriptive file and KMyMoney will</p>
<p style="margin:0px;text-indent:0px">pick it up to access the database.</p></div></blockquote><div> </div><div>Okay, thanks. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>There may be differences when installing with KDE4 and KF5.</div></blockquote><div> </div><div>Can you explain a bit? Which dependency is required for KdeInstallDirs?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> <p style="margin:0px;text-indent:0px">I am not sure if you are referring to the part that is contained in KMyMoney.</p>
<p style="margin:0px;text-indent:0px"></p></div></blockquote><div><br></div><div>Yes, it's a plugin in the older version of KMyMoney in the link that I shared. Although It's not there in the</div><div>master branch.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="margin:0px;text-indent:0px">There it stores the iban and bic data for a payee. Your code should not have</p>
<p style="margin:0px;text-indent:0px">an impact or dependency on that at all (from what I see).</p></div></blockquote></div><div>Okay, thanks..</div><div><br></div><div>Regards.<br></div><div>Prasun<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 29 Aug 2020 at 22:32, Thomas Baumgart <<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>> 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"><u></u>
<div style="font-family:"Monospace";font-size:10pt;font-weight:400;font-style:normal">
<p style="margin:0px;text-indent:0px">Hi Prasun,</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">On Samstag, 29. August 2020 18:49:03 CEST Prasun Kumar wrote:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> Hi mentors,</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> > Seehttps://<a href="http://cgit.kde.org/kmymoney.git/tree/kmymoney/payeeidentifier/ibanandbic?h=4.8" target="_blank">cgit.kde.org/kmymoney.git/tree/kmymoney/payeeidentifier/ibanandbic?h=4.8</a>,</p>
<p style="margin:0px;text-indent:0px">> > which contains such an implementation. Adding this to ktoblzcheck needs</p>
<p style="margin:0px;text-indent:0px">> > some remapping..</p>
<p style="margin:0px;text-indent:0px">> ></p>
<p style="margin:0px;text-indent:0px">> > I looked through the implementation at</p>
<p style="margin:0px;text-indent:0px">> <a href="https://invent.kde.org/office/kmymoney/-/tree/4.8/kmymoney/payeeidentifier/ibanandbic" target="_blank">https://invent.kde.org/office/kmymoney/-/tree/4.8/kmymoney/payeeidentifier/ibanandbic</a></p>
<p style="margin:0px;text-indent:0px">> and I had some questions.</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> 1. How is the value of plugin variables like 'X-KMyMoney-CountryCodes' set?</p>
<p style="margin:0px;text-indent:0px">> I can see that for each country there is a .desktop file</p>
<p style="margin:0px;text-indent:0px">> in the plugins/ibanbic directory which is installed in the</p>
<p style="margin:0px;text-indent:0px">> ${SERVICES_INSTALL_DIR} directory which has this variable for every</p>
<p style="margin:0px;text-indent:0px">> country.</p>
<p style="margin:0px;text-indent:0px">> Is it sufficient for setting the value or is there some other code that I</p>
<p style="margin:0px;text-indent:0px">> am unaware of?</p>
<p style="margin:0px;text-indent:0px">> I looked through here:</p>
<p style="margin:0px;text-indent:0px">> <a href="https://techbase.kde.org/Development/Tutorials/Services/Plugins" target="_blank">https://techbase.kde.org/Development/Tutorials/Services/Plugins</a> but didn't</p>
<p style="margin:0px;text-indent:0px">> find self-defined properties.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">I found usage of this in the KService::trader calls in e.g.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">QString ibanBicData::iban2Bic(const QString& iban)</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">and other methods in this file:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><a href="https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/ibanbicdata/ibanbicdata.cpp#L99" target="_blank"><span style="text-decoration:underline;color:rgb(41,128,185)">https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/ibanbicdata/ibanbicdata.cpp#L99</span></a> </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">To me it looks enough to install that descriptive file and KMyMoney will</p>
<p style="margin:0px;text-indent:0px">pick it up to access the database.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> 2. ${SERVICES_INSTALL_DIR} is a part of KF5. So, should KF5 be added as a</p>
<p style="margin:0px;text-indent:0px">> required dependency to the library or</p>
<p style="margin:0px;text-indent:0px">> is there any smaller subset for this that can be used instead?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">There may be differences when installing with KDE4 and KF5.</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> 3. What exactly ibanbic-storageplugin does?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">I am not sure if you are referring to the part that is contained in KMyMoney.</p>
<p style="margin:0px;text-indent:0px">There it stores the iban and bic data for a payee. Your code should not have</p>
<p style="margin:0px;text-indent:0px">an impact or dependency on that at all (from what I see).</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">-- </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Regards</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Thomas Baumgart</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><a href="https://www.signal.org/" target="_blank">https://www.signal.org/</a>       Signal, the better WhatsApp</p>
<p style="margin:0px;text-indent:0px">-------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px">"I know, a 'real Linux geek' doesn't walk around the wall: He bangs</p>
<p style="margin:0px;text-indent:0px">his head against it until it tumbles down!" -- wobo on FLUG ml</p>
<p style="margin:0px;text-indent:0px">-------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px"> </p></div></blockquote></div>