[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 <suraj.mahto49 () gmail ! com>
Date:       2021-07-09 19:19:36
Message-ID: CAEDvbQBEbRFe+OLw9iHp_9=aBxbnqjhHWfmAUmsa=jiYecmDRA () mail ! gmail ! com
[Download RAW message or body]

>
> While writing the getter and setter for m_idSelector which is of type enum
> and defined in alkonlinequotesource.cpp whereas the declarations of the
> getters and setters are in alkonlinequotesource.h therefore I can't declare
> the function of type idSelector (enum). What should I do for that case?
>

The solution I thought was to shift all the declarations to the header file
or shift the enum declaration to public in the header file or somewhere
else. Though, I am unsure about both.

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">While writing the \
getter and setter for m_idSelector which is of type enum and defined in \
alkonlinequotesource.cpp whereas the declarations of the getters and setters are in \
alkonlinequotesource.h therefore I can&#39;t declare the function of type idSelector \
(enum). What should I do for that case?<br></blockquote><br></div><div>The solution I \
thought was to shift all the declarations to the header file or shift the enum \
declaration to public in the header file or somewhere else. Though, I am unsure about \
both.<br></div><div dir="ltr"><br></div></div>



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

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