<table><tr><td style="">nicolasfella added a comment.
</td></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/T7994#135277" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">T7994#135277</a>, <a href="https://phabricator.kde.org/p/drosca/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@drosca</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>Alright, would be great if you push only code that builds. I know that it is very very WIP, but still. Also please follow KDE code style (eg. <tt style="background: #ebebeb; font-size: 13px;">Pointer *d</tt>, not <tt style="background: #ebebeb; font-size: 13px;">Pointer* d</tt>) and fix your text editor to strip trailing whitespace (git will also highlight this in diff).</p></div>
</blockquote>
<p>Sorry for breaking the build. I've pushed more dpointer changes. Will fix the coding style next.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>As for the code, it looks fine. One thing to note though, we can't export anything in <tt style="background: #ebebeb; font-size: 13px;">maps.h</tt>, so there needs to be some other API to access these collections. Internally, we still want to use, but it needs special public API - something like <tt style="background: #ebebeb; font-size: 13px;">QMap<quint32, T></tt> with added/removed signals should be enough.</p></blockquote>
<p>I was trying to get rid of the maps.h by replacing it with a QMap, but it proved tough. Is there any reason for the API user to know the indices? If not, a QList should be sufficient. Should we create a new Type XMap that combines a QMap<quint32, X) with signals or just provide a QMap<quint32, X> and signals Xadded/Xremoved in context?</p></div></div><br /><div><strong>TASK DETAIL</strong><div><a href="https://phabricator.kde.org/T7994">https://phabricator.kde.org/T7994</a></div></div><br /><div><strong>To: </strong>nicolasfella<br /><strong>Cc: </strong>davidedmundson, michaelh, akrutzler, apol, sitter, drosca, KDE Connect, nicolasfella, ragreen, adeen-s, SemperPeritus, ahmedbesbes, daniel.z.tg, jeanv, ZrenBot, seebauer, ngraham, bugzy, MayeulC, menasshock, lesliezhai, ali-mohamed, jensreuterberg, ach, abetts, sebas, mart<br /></div>