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

List:       kde-finance-apps
Subject:    Re: GSoC 21 KMyMoney: Replacing member functions of WebPriceQuote
From:       Suraj Kumar Mahto via Kde-finance-apps <kde-finance-apps () kde ! org>
Date:       2021-07-30 13:55:41
Message-ID: CAEDvbQDVHyD_HiEvvsfO63+3M9TdY1K7wOhXk2-784c6d3kb+g () mail ! gmail ! com
[Download RAW message or body]

Using the getter function idSelector() returns error undefined reference to
`AlkOnlineQuoteSource::idSelector() const' . To use my local libalkimia. I
have created a symlink in kmymoney build/lib/ from alkimia
build/bin/libalkimia5.so.8  and ldd kmmoney returns using the same shared
object file.

Regards
Suraj Kumar Mahto


On Fri, Jul 30, 2021 at 2:26 PM Suraj Kumar Mahto <suraj.mahto49@gmail.com>
wrote:

> On Fri, Jul 30, 2021 at 2:18 PM Ralf Habacker via Kde-finance-apps <
> kde-finance-apps@kde.org> wrote:
>
>> Private classes should only be usable by the "parent" class, in this
>> case AlkOnlineQuoteSource.
>>
>> To make members from the private class public to the client, you need to
>> add a wrapper similar to the one added for
>> AlkOnlinequoteSource::Private::m_name, see
>> (https://invent.kde.org/surajsloth/alkimia/-/blob/gsoc21
>> /src/alkonlinequotesource.cpp#L265
>>
>
> I have a similar getter added for m_idSelector(
> https://invent.kde.org/surajsloth/alkimia/-/blob/gsoc21/src/alkonlinequotesource.cpp#L312
> )
>
> Regards
> Suraj Kumar Mahto
>

[Attachment #3 (text/html)]

<div dir="ltr">Using the getter function idSelector() returns error <span \
style="font-family:monospace"><span \
style="color:rgb(0,0,0);background-color:rgb(255,255,255)">undefined refe</span>rence \
to `AlkOnlineQuoteSource::idSelector() const&#39; <font face="arial,sans-serif">. To \
use my local libalkimia. I have created a symlink in kmymoney build/lib/ from alkimia \
build/bin/libalkimia5.so.8   and ldd kmmoney returns using the same shared object \
file.</font><br><br> </span><div>Regards<font color="#888888"><font \
color="#888888"><br></font></font></div><font color="#888888"><font \
color="#888888">Suraj Kumar Mahto</font></font><span \
style="font-family:monospace"><br><br></span></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Fri, Jul 30, 2021 at 2:26 PM Suraj Kumar Mahto &lt;<a \
href="mailto:suraj.mahto49@gmail.com">suraj.mahto49@gmail.com</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"><div dir="ltr"><div \
dir="ltr" class="gmail_attr">On Fri, Jul 30, 2021 at 2:18 PM Ralf Habacker via \
Kde-finance-apps &lt;<a href="mailto:kde-finance-apps@kde.org" \
target="_blank">kde-finance-apps@kde.org</a>&gt; wrote:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> Private classes \
should only be usable by the &quot;parent&quot; class, in this<br> case \
AlkOnlineQuoteSource.<br> <br>
To make members from the private class public to the client, you need to<br>
add a wrapper similar to the one added for<br>
AlkOnlinequoteSource::Private::m_name, see<br>
(<a href="https://invent.kde.org/surajsloth/alkimia/-/blob/gsoc21" rel="noreferrer" \
                target="_blank">https://invent.kde.org/surajsloth/alkimia/-/blob/gsoc21</a><br>
                
/src/alkonlinequotesource.cpp#L265<br></div></blockquote><div>  <br>I have a similar \
getter added for m_idSelector( <a \
href="https://invent.kde.org/surajsloth/alkimia/-/blob/gsoc21/src/alkonlinequotesource.cpp#L312" \
target="_blank">https://invent.kde.org/surajsloth/alkimia/-/blob/gsoc21/src/alkonlinequotesource.cpp#L312</a>)<br><br><div>Regards<font \
color="#888888"><br></font></div><font color="#888888">Suraj Kumar \
Mahto</font></div></div></div> </blockquote></div>



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

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