<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 6, 2014 at 12:03 AM, Alvaro Soliverez <span dir="ltr"><<a href="mailto:asoliverez@kde.org" target="_blank">asoliverez@kde.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
I have a question about the currency features. In KLocale, you can get<br>
KCurrencyCode for the current locale, which is fine.<br>
Now, for KMyMoney we need to get the list of all currencies for all<br>
countries (since a user usually deals with multiple currencies).<br>
<br>
I haven't found an API for this, only the KLocale one for current<br>
locale. Is there any other way to access the list of currencies?<br>
<br>
Thanks!<br>
<br>
Regards,<br>
Alvaro<br>
</blockquote></div><br></div><div class="gmail_extra">I don't really know much about the issue, but after having gone through similar code I think that your best bet is on using KStandardDirs (or QStandardPaths) to find the currencies directory and use QDir to list them.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div><div class="gmail_extra"><br></div><div class="gmail_extra">PS: I think KCurrencyCode is being deprecated for KF5, you might want to see what's the alternatives too.</div>

</div>