D25010: [StatJob] Use A QFlag to specify the details returned by StatJob

Méven Car noreply at phabricator.kde.org
Mon Dec 23 15:41:28 GMT 2019


meven planned changes to this revision.
meven added a comment.


  I have tried adding unit tests.
  It showed that the old:
  ` *stat(const QUrl &url, KIO::StatJob::StatSide side, short int details, JobFlags flags = DefaultFlags);`
  Takes over the new :
  `KIO::stat(const QUrl &, KIO::StatSide, KIO::StatDetails int, JobFlags)")`
  Since KIO::StatDetails data type is int and enums are transparently converted to integer.
  I will need to find a workarount or rename/change the signature of the new `KIO::stat` to make them apart

REPOSITORY
  R241 KIO

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

To: meven, #frameworks, dfaure, kossebau
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/f07f6853/attachment.html>


More information about the Kde-frameworks-devel mailing list