<table><tr><td style="">sitter accepted this revision.<br />sitter added a comment.<br />This revision is now accepted and ready to land.
</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/D21780">View Revision</a></tr></table><br /><div><div><p>LGTM.</p>

<p>I do not actually know why we need the type definition to begin with though, it occurs to me sycoca could/should just contain all keys it found in the desktop file since they get parsed on the KService side later anyway. So, limiting the sycoca to defined properties seems a bit cumbersome.</p>

<p>Specifically from an application developer POV I would totally expect that I could install a desktop file in some service path and then access arbitrary properties via <tt style="background: #ebebeb; font-size: 13px;">service->property("X-Foo", QVariant::Int)</tt> which should not require any type definitions; until the property() call it doesn't matter what the type is. Having to define X-* keys for them to get put in the sycoca seems to partially defeat the purpose of X-* entries.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R309 KService</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21780">https://phabricator.kde.org/D21780</a></div></div><br /><div><strong>To: </strong>broulik, Frameworks, dfaure, sitter<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>