D19942: Make attribute getters truly const (and non-const)

Daniel Vrátil noreply at phabricator.kde.org
Thu Mar 21 14:59:02 GMT 2019


dvratil created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
dvratil requested review of this revision.

REVISION SUMMARY
  Also cleans up the code a little.
  
  This change requires const fixes basically everywhere where the API
  is used, please do NOT merge this until everything else has been
  adjusted.

REPOSITORY
  R165 Akonadi

BRANCH
  attribute-const-fix

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

AFFECTED FILES
  src/core/attributestorage.cpp
  src/core/attributestorage_p.h
  src/core/collection.cpp
  src/core/collection.h
  src/core/collectionsync.cpp
  src/core/item.cpp
  src/core/item.h
  src/core/itemchangelog.cpp
  src/core/itemchangelog_p.h
  src/core/models/entitytreemodel.cpp
  src/core/models/statisticsproxymodel.cpp
  src/core/models/tagmodel.cpp
  src/core/tag.cpp
  src/core/tag.h
  src/widgets/collectionmaintenancepage.cpp
  src/xml/autotests/collectiontest.cpp

To: dvratil
Cc: dfaure, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190321/5c88a319/attachment.html>


More information about the kde-pim mailing list