D10829: Use DocumentId class

Alexey Min noreply at phabricator.kde.org
Sun Feb 25 11:43:31 UTC 2018


alexeymin added a comment.


  To solve this warning you need to fix DocumentId class, add operator<<() for QDebug.
  
  In D10826 <https://phabricator.kde.org/D10826> add:
  `QDebug operator<<(QDebug stream, const Baloo::DocumentId &docId);` outside of baloo namespace, don't forget to `#include <QDebug>` in header
  
  Implement this operator in .cpp file, eg. `stream << docId.inode() << docId.deviceId(); return stream` or whatever, as it is done in `src/engine/document.h` line 103

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D10829

To: michaelh, adridg, #baloo, #frameworks
Cc: alexeymin, ashaposhnikov, michaelh, kmorwinski, spoorun, nicolasfella
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180225/29d99df1/attachment.html>


More information about the Kde-frameworks-devel mailing list