<table><tr><td style="">alex marked 11 inline comments as done.<br />alex added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27166">View Revision</a></tr></table><br /><div><div><p>Hello,<br />
I have found no way to get the currency symbols, other that hard coded.<br />
If you have a look at <a href="https://phabricator.kde.org/source/kunitconversion/browse/master/src/currency.cpp$67" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/source/kunitconversion/browse/master/src/currency.cpp$67</a> you can see that the symbols are concatenated to the string.<br />
Because of this I don't know how to get just the symbols.</p>

<p>The i found the currently supported ones by executing:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">qInfo() << inputCategory.allUnits();</pre></div>

<p>and then manually copying the symbols.</p>

<p>And if you try to get the symbols using</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">for(const auto &s: inputCategory.allUnits()){
        qInfo() << inputCategory.unit(s).symbol();
    }</pre></div>

<p>You get results like:<br />
"PLN"<br />
"GBP"<br />
"JPY"<br />
"EUR"</p>

<p>And more symbols (that the already hard coded ones)  are currently not supported by the  KUnitConversion library.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27166">https://phabricator.kde.org/D27166</a></div></div><br /><div><strong>To: </strong>alex, broulik, ngraham, Plasma, sitter<br /><strong>Cc: </strong>sitter, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>