D19132: Update libs/widgets to c++11
Carl Schwan
noreply at phabricator.kde.org
Mon Feb 18 20:16:21 GMT 2019
ognarb created this revision.
Herald added a project: Calligra: 3.0.
Herald added a subscriber: Calligra-Devel-list.
ognarb requested review of this revision.
REVISION SUMMARY
Use clang-tidy to:
- Use default wenn possible for constructor and destructor
- Use nullptr instead of 0 or NULL
- Use for (type &element : list) when already using std iterator (.begin() .end() )
if this patch is acepted, if will do the same for the entire calligra codebase.
REPOSITORY
R8 Calligra
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D19132
AFFECTED FILES
CMakeLists.txt
libs/widgets/KoAspectButton.h
libs/widgets/KoColorPatch.h
libs/widgets/KoColorPopupAction.h
libs/widgets/KoColorPopupButton.cpp
libs/widgets/KoColorPopupButton.h
libs/widgets/KoColorSetWidget.h
libs/widgets/KoColorSlider.cpp
libs/widgets/KoColorSlider.h
libs/widgets/KoConfigAuthorPage.h
libs/widgets/KoContextBarButton.cpp
libs/widgets/KoContextBarButton.h
libs/widgets/KoCsvImportDialog.h
libs/widgets/KoDialog.h
libs/widgets/KoDialog_p.h
libs/widgets/KoDockWidgetTitleBar.cpp
libs/widgets/KoDockWidgetTitleBar.h
libs/widgets/KoDockWidgetTitleBarButton.h
libs/widgets/KoDocumentInfoDlg.cpp
libs/widgets/KoDocumentInfoDlg.h
libs/widgets/KoDocumentInfoPropsPage.cpp
libs/widgets/KoDocumentInfoPropsPage.h
libs/widgets/KoDpi.cpp
libs/widgets/KoDpi.h
libs/widgets/KoDualColorButton.h
libs/widgets/KoEditColorSetDialog.cpp
libs/widgets/KoEditColorSetDialog.h
libs/widgets/KoFillConfigWidget.cpp
libs/widgets/KoFillConfigWidget.h
libs/widgets/KoGenericRegistryModel.h
libs/widgets/KoGlobal.cpp
libs/widgets/KoGradientEditWidget.cpp
libs/widgets/KoGradientEditWidget.h
libs/widgets/KoIconToolTip.h
libs/widgets/KoItemToolTip.h
libs/widgets/KoLineStyleItemDelegate_p.h
libs/widgets/KoLineStyleModel_p.h
libs/widgets/KoLineStyleSelector.h
libs/widgets/KoMarkerItemDelegate.cpp
libs/widgets/KoMarkerItemDelegate.h
libs/widgets/KoMarkerModel.cpp
libs/widgets/KoMarkerModel.h
libs/widgets/KoMarkerSelector.cpp
libs/widgets/KoMarkerSelector.h
libs/widgets/KoModeBoxDocker.cpp
libs/widgets/KoModeBoxDocker_p.h
libs/widgets/KoModeBoxFactory.h
libs/widgets/KoModeBox_p.h
libs/widgets/KoPageLayoutWidget.h
libs/widgets/KoPagePreviewWidget.h
libs/widgets/KoPageWidgetItem.h
libs/widgets/KoPositionSelector.cpp
libs/widgets/KoPositionSelector.h
libs/widgets/KoResourceItemChooser.h
libs/widgets/KoResourceItemChooserContextMenu.cpp
libs/widgets/KoResourceItemChooserContextMenu.h
libs/widgets/KoResourceItemChooserSync.cpp
libs/widgets/KoResourceItemChooserSync.h
libs/widgets/KoResourceItemDelegate.h
libs/widgets/KoResourceItemView.h
libs/widgets/KoResourceModel.h
libs/widgets/KoResourceModelBase.h
libs/widgets/KoResourcePaths.cpp
libs/widgets/KoResourcePopupAction.cpp
libs/widgets/KoResourcePopupAction.h
libs/widgets/KoResourceSelector.h
libs/widgets/KoResourceServer.h
libs/widgets/KoResourceServerAdapter.cpp
libs/widgets/KoResourceServerAdapter.h
libs/widgets/KoResourceServerProvider.cpp
libs/widgets/KoResourceServerProvider.h
libs/widgets/KoResourceTaggingManager.h
libs/widgets/KoRuler.h
libs/widgets/KoRulerController_p.h
libs/widgets/KoRuler_p.h
libs/widgets/KoShadowConfigWidget.cpp
libs/widgets/KoSliderCombo.cpp
libs/widgets/KoSliderCombo.h
libs/widgets/KoSliderCombo_p.h
libs/widgets/KoStrokeConfigWidget.cpp
libs/widgets/KoStrokeConfigWidget.h
libs/widgets/KoTableView.h
libs/widgets/KoTagChooserWidget.h
libs/widgets/KoTagFilterWidget.h
libs/widgets/KoToolBox.cpp
libs/widgets/KoToolBoxButton.cpp
libs/widgets/KoToolBoxDocker_p.h
libs/widgets/KoToolBoxFactory.cpp
libs/widgets/KoToolBoxFactory.h
libs/widgets/KoToolBoxLayout_p.h
libs/widgets/KoToolBox_p.h
libs/widgets/KoToolDocker.cpp
libs/widgets/KoToolDocker.h
libs/widgets/KoTriangleColorSelector.h
libs/widgets/KoUnitDoubleSpinBox.h
libs/widgets/KoViewItemContextBar.cpp
libs/widgets/KoViewItemContextBar.h
libs/widgets/KoZoomAction.cpp
libs/widgets/KoZoomAction.h
libs/widgets/KoZoomController.h
libs/widgets/KoZoomController_p.h
libs/widgets/KoZoomHandler.cpp
libs/widgets/KoZoomHandler.h
libs/widgets/KoZoomInput.h
libs/widgets/KoZoomMode.cpp
libs/widgets/KoZoomWidget.cpp
libs/widgets/KoZoomWidget.h
To: ognarb
Cc: Calligra-Devel-list, dcaliste, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20190218/5fd70d89/attachment.htm>
More information about the calligra-devel
mailing list