<table><tr><td style="">barchiesi created this revision.<br />barchiesi added a reviewer: dvratil.<br />barchiesi added a project: LibKGAPI.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />barchiesi requested review of this revision.
</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/D19490">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>As discussed in <a href="https://phabricator.kde.org/T10521#177460" class="remarkup-link" target="_blank" rel="noreferrer">T10521</a>, it is useful to refactor out the generic query building logic in FileSearchQuery and create the base class SearchQuery. This would allow us to create other domain specific queries without having to reimplement all the building logic, as will be the case with TeamdriveSearchQuery.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>All tests defined in filesearchquerytest should remain valid as as of this patch passing.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R477 KGAPI Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19490">https://phabricator.kde.org/D19490</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/drive/CMakeLists.txt<br />
src/drive/filesearchquery.cpp<br />
src/drive/filesearchquery.h<br />
src/drive/searchquery.cpp<br />
src/drive/searchquery.h</div></div></div><br /><div><strong>To: </strong>barchiesi, dvratil<br /><strong>Cc: </strong>kde-pim, LibKGAPI, barchiesi, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>