D15102: Update deprecated QAbstractItemModel::reset() to use {begin, end}ResetModel() instead

Damien Caliste noreply at phabricator.kde.org
Mon Aug 27 15:47:50 BST 2018


dcaliste created this revision.
dcaliste added a reviewer: Calligra: 3.0.
dcaliste added a project: Calligra: 3.0.
Herald added a subscriber: Calligra-Devel-list.
dcaliste requested review of this revision.

REVISION SUMMARY
  Replace QAbstractItemModel::reset() with the more recent {begin,end}ResetModel() calls.
  
  Also remove the deprecated calls to setSupportedDragActions() and replace them by implementing supportedDragActions().

REPOSITORY
  R8 Calligra

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

AFFECTED FILES
  components/models/ContentsModel.cpp
  components/models/ContentsModel.h
  karbon/ui/dockers/KarbonLayerModel.cpp
  karbon/ui/dockers/KarbonLayerModel.h
  libs/pageapp/KoPADocumentModel.cpp
  libs/pageapp/KoPADocumentModel.h
  stage/part/KPrCustomSlideShowsModel.cpp
  stage/part/KPrSlidesSorterDocumentModel.cpp
  stage/part/KPrSlidesSorterDocumentModel.h
  stage/part/tools/animationtool/KPrCollectionItemModel.cpp
  stage/part/tools/animationtool/KPrCollectionItemModel.h

To: dcaliste, #calligra:_3.0
Cc: Calligra-Devel-list, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20180827/ad8f75e7/attachment.htm>


More information about the calligra-devel mailing list