<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 20.03.20 um 19:28 schrieb Prasun
      Kumar:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAM9Dqs+j+_rh_3rSSG=zMOcUeM7Vq6EO3Vjs-TbPV3rxog2Cbw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Dear Sir,</div>
        <div>I am drafting a project proposal for GSoC and I have a few
          questions regarding the project</div>
      </div>
    </blockquote>
    Nice to hear.<br>
    <blockquote type="cite"
cite="mid:CAM9Dqs+j+_rh_3rSSG=zMOcUeM7Vq6EO3Vjs-TbPV3rxog2Cbw@mail.gmail.com">
      <div dir="ltr">
        <div>.Also, can you please explain the last part mentioned on
          the ideas page, regarding the requirement of an API to
          integrate the database into other applications?  Specifically,
          I did not understand how the support of
          KServiceTypeTrader::query() should be implemented.</div>
      </div>
    </blockquote>
    See
<a class="moz-txt-link-freetext" href="https://cgit.kde.org/kmymoney.git/tree/kmymoney/payeeidentifier/ibanandbic?h=4.8">https://cgit.kde.org/kmymoney.git/tree/kmymoney/payeeidentifier/ibanandbic?h=4.8</a>,
    which contains such an implementation. Adding this to ktoblzcheck
    needs some remapping.  At
<a class="moz-txt-link-freetext" href="https://cgit.kde.org/kmymoney.git/tree/kmymoney/payeeidentifier/ibanandbic/ibanbicdata.cpp?h=4.8#n76">https://cgit.kde.org/kmymoney.git/tree/kmymoney/payeeidentifier/ibanandbic/ibanbicdata.cpp?h=4.8#n76</a>
    for example this lines <br>
    <pre><code><pre> <span class="n">KService</span><span class="o">::</span><span class="n">List</span> <span class="n">services</span> <span class="o">=</span> <span class="n">KServiceTypeTrader</span><span class="o">::</span><span class="n">self</span><span class="p">()</span><span class="o">-></span><span class="n">query</span><span class="p">(</span><span class="s">"KMyMoney/IbanBicData"</span><span class="p">,</span>
                            <span class="n">QString</span><span class="p">(</span><span class="s">"(</span><span class="se">\'</span><span class="s">%1' ~in [X-KMyMoney-CountryCodes] or '*' in [X-KMyMoney-CountryCodes]) and true == [X-KMyMoney-IBAN-2-BIC-supported] and exist [X-KMyMoney-Bankdata-Database]"</span><span class="p">).</span><span class="n">arg</span><span class="p">(</span><span class="n">countryCode</span><span class="p">)</span>

need to be changed to 
<code><pre> <span class="n">KService</span><span class="o">::</span><span class="n">List</span> <span class="n">services</span> <span class="o">=</span> <span class="n">KServiceTypeTrader</span><span class="o">::</span><span class="n">self</span><span class="p">()</span><span class="o">-></span><span class="n">query</span><span class="p">(</span><span class="s">"KtoBlzCheck/IbanBicData"</span><span class="p">,</span>
                            <span class="n">QString</span><span class="p">(</span><span class="s">"(</span><span class="se">\'</span><span class="s">%1' ~in [X-KtoBlzCheck-CountryCodes] or '*' in [X-KtoBlzCheck-CountryCodes]) and true == [X-KtoBlzCheck-IBAN-2-BIC-supported] and exist [X-KtoBlzCheck-Bankdata-Database]"</span><span class="p">).</span><span class="n">arg</span><span class="p">(</span><span class="n">countryCode</span><span class="p">)</span>

Regards
Ralf</pre></code></pre></code></pre>
  </body>
</html>