<86>Aug 8 05:36:15 userdel[10405]: delete user 'rooter' <86>Aug 8 05:36:15 userdel[10405]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 8 05:36:15 groupadd[10416]: group added to /etc/group: name=rooter, GID=525 <86>Aug 8 05:36:15 groupadd[10416]: group added to /etc/gshadow: name=rooter <86>Aug 8 05:36:15 groupadd[10416]: new group: name=rooter, GID=525 <86>Aug 8 05:36:15 useradd[10420]: new user: name=rooter, UID=525, GID=525, home=/root, shell=/bin/bash <86>Aug 8 05:36:15 userdel[10429]: delete user 'builder' <86>Aug 8 05:36:15 userdel[10429]: removed group 'builder' owned by 'builder' <86>Aug 8 05:36:15 userdel[10429]: removed shadow group 'builder' owned by 'builder' <86>Aug 8 05:36:15 groupadd[10437]: group added to /etc/group: name=builder, GID=526 <86>Aug 8 05:36:15 groupadd[10437]: group added to /etc/gshadow: name=builder <86>Aug 8 05:36:15 groupadd[10437]: new group: name=builder, GID=526 <86>Aug 8 05:36:15 useradd[10441]: new user: name=builder, UID=526, GID=526, home=/usr/src, shell=/bin/bash <13>Aug 8 05:36:18 rpmi: libxkbcommon-0.8.4-alt1 sisyphus+222759.100.1.1 1551009797 installed <13>Aug 8 05:36:18 rpmi: qt5-base-common-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:18 rpmi: qt5-declarative-common-5.12.4-alt2 sisyphus+233301.100.1.3 1561741306 installed <13>Aug 8 05:36:18 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Aug 8 05:36:18 rpmi: libmtdev-1.1.5-alt1 sisyphus+220715.100.1.1 1549364508 installed <13>Aug 8 05:36:18 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Aug 8 05:36:18 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Aug 8 05:36:18 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:18 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Aug 8 05:36:18 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Aug 8 05:36:18 rpmi: rpm-macros-qt5-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:18 rpmi: rpm-macros-ubt-0.3-alt1 sisyphus+231357.100.1.1 1559550805 installed <13>Aug 8 05:36:18 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Aug 8 05:36:18 rpmi: libsqlite3-3.28.0-alt1 sisyphus+231334.100.1.1 1559488286 installed <13>Aug 8 05:36:18 rpmi: libts-1.0-alt1.qa1 1366249318 installed <13>Aug 8 05:36:18 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818596 installed <13>Aug 8 05:36:19 rpmi: libpcre2-10.33-alt1.1 sisyphus+227856.100.1.2 1555786372 installed <13>Aug 8 05:36:19 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Aug 8 05:36:19 rpmi: libwacom-data-0.33-alt1 sisyphus+227101.2200.2.2 1555198848 installed <13>Aug 8 05:36:19 rpmi: udev-rules-1:242-alt10 sisyphus+234731.100.1.1 1563376198 installed <13>Aug 8 05:36:20 rpmi: libicu64-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Aug 8 05:36:20 rpmi: libqt5-core-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:20 rpmi: libqt5-sql-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:20 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855269 installed <13>Aug 8 05:36:20 rpmi: libwacom-0.33-alt1 sisyphus+227101.2200.2.2 1555198848 installed <13>Aug 8 05:36:20 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Aug 8 05:36:20 rpmi: libharfbuzz-2.5.3-alt1 sisyphus+233337.100.1.1 1561643295 installed <13>Aug 8 05:36:20 rpmi: libfreetype-2.10.0-alt2 sisyphus+226881.100.2.1 1555676284 installed <13>Aug 8 05:36:20 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Aug 8 05:36:21 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Aug 8 05:36:21 rpmi: libevdev-1.7.0-alt1 sisyphus+231525.100.1.1 1559718158 installed <13>Aug 8 05:36:21 rpmi: libinput-1.13.4-alt1 sisyphus+233366.100.1.3 1561727422 installed <13>Aug 8 05:36:21 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059262 installed <13>Aug 8 05:36:21 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Aug 8 05:36:21 rpmi: libgcrypt20-1.8.4-alt3 sisyphus+232944.100.1.1 1561281796 installed <13>Aug 8 05:36:21 rpmi: libsystemd-1:242-alt10 sisyphus+234731.100.1.1 1563376198 installed <13>Aug 8 05:36:21 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Aug 8 05:36:22 rpmi: libqt5-dbus-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:22 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Aug 8 05:36:22 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Aug 8 05:36:22 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Aug 8 05:36:22 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Aug 8 05:36:22 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Aug 8 05:36:22 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Aug 8 05:36:22 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Aug 8 05:36:22 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Aug 8 05:36:22 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Aug 8 05:36:22 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Aug 8 05:36:22 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Aug 8 05:36:22 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+229000.100.1.1 1557152218 installed <13>Aug 8 05:36:22 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Aug 8 05:36:22 rpmi: libxcbutil-image-0.4.0-alt1 1446204177 installed <13>Aug 8 05:36:22 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204121 installed <13>Aug 8 05:36:22 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+222674.100.1.1 1550989885 installed <13>Aug 8 05:36:22 rpmi: libxkbcommon-x11-0.8.4-alt1 sisyphus+222759.100.1.1 1551009797 installed <13>Aug 8 05:36:22 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Aug 8 05:36:22 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Aug 8 05:36:22 rpmi: libdrm-1:2.4.99-alt1 sisyphus+234110.100.1.1 1562593655 installed <13>Aug 8 05:36:22 rpmi: libGLX-mesa-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564525416 installed <13>Aug 8 05:36:22 rpmi: libgbm-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564525416 installed <13>Aug 8 05:36:22 rpmi: libEGL-mesa-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564525416 installed <13>Aug 8 05:36:22 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:22 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:22 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:22 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Aug 8 05:36:22 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Aug 8 05:36:22 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 8 05:36:22 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 8 05:36:22 rpmi: ca-certificates-2019.07.11-alt1 sisyphus+234280.200.1.1 1562839906 installed <13>Aug 8 05:36:22 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Aug 8 05:36:22 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Aug 8 05:36:22 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Aug 8 05:36:22 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>Aug 8 05:36:22 rpmi: libqt5-network-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:22 rpmi: libqt5-xcbqpa-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:22 rpmi: libqt5-eglfskmssupport-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:22 rpmi: libqt5-eglfsdeviceintegration-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:23 rpmi: libqt5-gui-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:23 rpmi: libqt5-quickshapes-5.12.4-alt2 sisyphus+233301.100.1.3 1561741306 installed <13>Aug 8 05:36:23 rpmi: libqt5-quick-5.12.4-alt2 sisyphus+233301.100.1.3 1561741306 installed <13>Aug 8 05:36:23 rpmi: libqt5-qml-5.12.4-alt2 sisyphus+233301.100.1.3 1561741306 installed <13>Aug 8 05:36:23 rpmi: rpm-build-qml-5.12.4-alt2 sisyphus+233301.100.1.3 1561741306 installed <13>Aug 8 05:36:23 rpmi: rpm-build-kf5-5.12.0-alt2 sisyphus+226903.100.1.1 1554799142 installed <13>Aug 8 05:36:23 rpmi: rpm-build-ubt-0.3.1-alt3 sisyphus+226718.100.2.1 1554584225 installed <13>Aug 8 05:36:29 rpmi: libqt5-widgets-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:29 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Aug 8 05:36:29 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Aug 8 05:36:29 rpmi: libwebp7-1.0.3-alt1 sisyphus+234493.100.1.1 1563090161 installed <13>Aug 8 05:36:29 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Aug 8 05:36:29 rpmi: libraw1394-11-2.1.2-alt1 sisyphus+225496.100.2.1 1553244591 installed <13>Aug 8 05:36:29 rpmi: libtheora-2:1.1.1-alt6 sisyphus+223372.100.2.1 1551525759 installed <13>Aug 8 05:36:29 rpmi: libv4l-1.16.6-alt1 sisyphus+229727.200.2.1 1558443347 installed <13>Aug 8 05:36:29 rpmi: libusb-1.0.22-alt1 1525452011 installed <13>Aug 8 05:36:29 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Aug 8 05:36:29 rpmi: liborc-0.4.29-alt1 sisyphus+227450.100.3.3 1555765925 installed <13>Aug 8 05:36:29 rpmi: libfribidi-1.0.5-alt1 1532424343 installed <13>Aug 8 05:36:29 rpmi: libopus-1.2.1-alt1.1 1504605235 installed <13>Aug 8 05:36:29 rpmi: libqt5-opengl-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:29 rpmi: libva-2.4.0-alt2 sisyphus+232953.100.1.1 1561283131 installed <13>Aug 8 05:36:29 rpmi: libopenjpeg2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284336 installed <13>Aug 8 05:36:29 rpmi: libserd-0.30.0-alt1_1 sisyphus+221097.100.1.1 1549718399 installed <13>Aug 8 05:36:29 rpmi: libdvdread-5.0.0-alt1 1414228692 installed <13>Aug 8 05:36:29 rpmi: libvpx6-1.8.1-alt1 sisyphus+235215.200.3.2 1564545755 installed <13>Aug 8 05:36:29 rpmi: libspeex-1.2-alt1 1528115225 installed <13>Aug 8 05:36:29 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Aug 8 05:36:29 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Aug 8 05:36:29 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Aug 8 05:36:29 rpmi: libqt5-xml-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:29 rpmi: libidn2-2.2.0-alt1 sisyphus+229970.100.1.1 1558625623 installed <13>Aug 8 05:36:29 rpmi: libnettle6-3.4.1-alt1 sisyphus+226533.100.2.1 1554512181 installed <13>Aug 8 05:36:29 rpmi: libgomp1-8.3.1-alt5 sisyphus+235477.100.1.1 1565021552 installed <13>Aug 8 05:36:29 rpmi: libsord-0.16.2-alt1_3 sisyphus+221690.100.1.1 1550344141 installed <13>Aug 8 05:36:29 rpmi: libass9-0.14.0-alt1 sisyphus+220287.100.1.1 1548927393 installed <13>Aug 8 05:36:29 rpmi: libdc1394-22-2.2.5-alt1 1529659237 installed <13>Aug 8 05:36:29 rpmi: libunicap-0.9.12-alt1 sisyphus+225152.100.1.1 1552760621 installed <13>Aug 8 05:36:29 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551972983 installed <13>Aug 8 05:36:29 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Aug 8 05:36:29 rpmi: libqt5-quickwidgets-5.12.4-alt2 sisyphus+233301.100.1.3 1561741306 installed <13>Aug 8 05:36:29 rpmi: libnspr-1:4.21-alt2 sisyphus+229341.100.2.1 1558539168 installed <13>Aug 8 05:36:29 rpmi: libqt5-test-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:29 rpmi: libvdpau-1:1.2-alt1 sisyphus+224833.100.1.1 1552376728 installed <13>Aug 8 05:36:29 rpmi: libavutil56-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:29 rpmi: libswscale5-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:29 rpmi: libx265-160-2.8-alt1 1529659165 installed <13>Aug 8 05:36:29 rpmi: libx264-148-alt2 1496163823 installed <13>Aug 8 05:36:29 rpmi: libsnappy-1.1.7-alt1 sisyphus+227320.100.1.3 1555618688 installed <13>Aug 8 05:36:29 rpmi: libopencore-amrwb0-0.1.5-alt1 1529659318 installed <13>Aug 8 05:36:29 rpmi: libopencore-amrnb0-0.1.5-alt1 1529659318 installed <13>Aug 8 05:36:29 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820927 installed <13>Aug 8 05:36:29 rpmi: libbs2b-3.1.0-alt1.3 1327614911 installed <13>Aug 8 05:36:29 rpmi: ilmbase12-common-2.2.0-alt1.1 1434451064 installed <13>Aug 8 05:36:29 rpmi: libiex12-2.2.0-alt1.1 1434451064 installed <13>Aug 8 05:36:29 rpmi: libhalf12-2.2.0-alt1.1 1434451064 installed <13>Aug 8 05:36:29 rpmi: libwavpack-5.1.0-alt1 1486754494 installed <13>Aug 8 05:36:29 rpmi: liblame-3.100-alt1 1527082573 installed <13>Aug 8 05:36:29 rpmi: libjack-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043815 installed <13>Aug 8 05:36:29 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>Aug 8 05:36:29 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Aug 8 05:36:29 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Aug 8 05:36:29 rpmi: perl-Compress-Raw-Zlib-2.086-alt1 sisyphus+226395.100.1.2 1554269783 installed <13>Aug 8 05:36:29 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Aug 8 05:36:29 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Aug 8 05:36:29 rpmi: libdv-1.0.0-alt5.7 sisyphus+220898.5400.11.1 1551973252 installed <13>Aug 8 05:36:29 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Aug 8 05:36:29 rpmi: libXv-1.0.11-alt1 1527685497 installed <13>Aug 8 05:36:29 rpmi: qt5-location-common-5.12.4-alt1 sisyphus+233177.1000.3.4 1561675566 installed <13>Aug 8 05:36:29 rpmi: qt5-tools-common-5.12.4-alt2 sisyphus+235718.100.1.1 1565190568 installed <13>Aug 8 05:36:29 rpmi: qt5-connectivity-common-5.12.4-alt1 sisyphus+233177.2100.3.4 1561677342 installed <13>Aug 8 05:36:29 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Aug 8 05:36:29 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Aug 8 05:36:29 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Aug 8 05:36:30 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>Aug 8 05:36:30 rpmi: libglog-0.3.4-alt4 sisyphus+235324.300.2.1 1564663103 installed <13>Aug 8 05:36:30 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920443 installed <13>Aug 8 05:36:30 rpmi: libat-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818549 installed <13>Aug 8 05:36:30 rpmi: python3-module-sip-4.19.13-alt1 sisyphus+225625.16200.91.1 1555293783 installed <13>Aug 8 05:36:30 rpmi: python3-module-PyQt5-sip-4.19.13-alt1 sisyphus+225625.16200.91.1 1555293783 installed <13>Aug 8 05:36:30 rpmi: libqt5-bluetooth-5.12.4-alt1 sisyphus+233177.2100.3.4 1561677342 installed <13>Aug 8 05:36:30 rpmi: libqt5-nfc-5.12.4-alt1 sisyphus+233177.2100.3.4 1561677342 installed <13>Aug 8 05:36:30 rpmi: libqt5-designer-5.12.4-alt2 sisyphus+235718.100.1.1 1565190568 installed <13>Aug 8 05:36:30 rpmi: libqt5-help-5.12.4-alt2 sisyphus+235718.100.1.1 1565190568 installed <13>Aug 8 05:36:30 rpmi: libzbar-0.10-alt10 sisyphus+233613.200.3.1 1565018971 installed <13>Aug 8 05:36:30 rpmi: libilmthread12-2.2.0-alt1.1 1434451064 installed <13>Aug 8 05:36:30 rpmi: libpostproc55-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:30 rpmi: libavresample4-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:31 rpmi: libnss-3.45.0-alt1 sisyphus+234280.100.1.1 1562839663 installed <13>Aug 8 05:36:31 rpmi: libsamplerate-0.1.9-alt2 1487790080 installed <13>Aug 8 05:36:31 rpmi: libsratom-0.6.2-alt1_3 sisyphus+221691.100.1.1 1550345184 installed <13>Aug 8 05:36:31 rpmi: liblilv-0.24.4-alt1_5 sisyphus+221689.100.1.1 1550343708 installed <13>Aug 8 05:36:31 rpmi: libvidstab-1.1.0-alt2 sisyphus+222665.100.1.1 1550985428 installed <13>Aug 8 05:36:31 rpmi: libarchive13-3.3.1-alt2 sisyphus.219343.100 1547461968 installed <13>Aug 8 05:36:31 rpmi: libhogweed4-3.4.1-alt1 sisyphus+226533.100.2.1 1554512181 installed <13>Aug 8 05:36:31 rpmi: libgnutls30-3.6.8-alt1 sisyphus+231079.100.1.1 1559063519 installed <13>Aug 8 05:36:31 rpmi: libshout2-2.2.2-alt3 1303374846 installed <13>Aug 8 05:36:31 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Aug 8 05:36:31 rpmi: libavc1394-0.5.4-alt1.qa1 1460816780 installed <13>Aug 8 05:36:31 rpmi: libiec61883-1.2.0-alt1.qa1 1460815903 installed <13>Aug 8 05:36:32 rpmi: flite-2.1-alt1 sisyphus+222718.100.1.1 1551026078 installed <13>Aug 8 05:36:32 rpmi: qt5-quickcontrols-5.12.4-alt2 sisyphus+233303.100.1.2 1561737244 installed <86>Aug 8 05:36:32 groupadd[25089]: group added to /etc/group: name=messagebus, GID=499 <86>Aug 8 05:36:32 groupadd[25089]: group added to /etc/gshadow: name=messagebus <86>Aug 8 05:36:32 groupadd[25089]: new group: name=messagebus, GID=499 <86>Aug 8 05:36:32 useradd[25095]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Aug 8 05:36:32 rpmi: dbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Aug 8 05:36:32 rpmi: dbus-tools-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Aug 8 05:36:32 rpmi: dbus-tools-gui-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Aug 8 05:36:32 rpmi: xxd-4:8.1.1517-alt1 sisyphus+231911.100.2.1 1560276990 installed <13>Aug 8 05:36:32 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:32 rpmi: libqt5-concurrent-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:32 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Aug 8 05:36:33 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Aug 8 05:36:33 rpmi: libX11-devel-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Aug 8 05:36:33 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:33 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:33 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Aug 8 05:36:33 rpmi: libEGL-devel-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564525416 installed <13>Aug 8 05:36:33 rpmi: libGL-devel-4:19.1.3-alt1 sisyphus+235105.100.1.2 1564525416 installed <13>Aug 8 05:36:33 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Aug 8 05:36:34 rpmi: libstdc++8-devel-8.3.1-alt5 sisyphus+235477.100.1.1 1565021552 installed <13>Aug 8 05:36:34 rpmi: gcc8-c++-8.3.1-alt5 sisyphus+235477.100.1.1 1565021552 installed <13>Aug 8 05:36:34 rpmi: gcc-c++-8-alt2 sisyphus+235723.100.1.1 1565191484 installed <13>Aug 8 05:36:34 rpmi: qt5-xmlpatterns-common-5.12.4-alt1 sisyphus+233177.300.3.4 1561673654 installed <13>Aug 8 05:36:34 rpmi: libqt5-xmlpatterns-5.12.4-alt1 sisyphus+233177.300.3.4 1561673654 installed <13>Aug 8 05:36:34 rpmi: qt5-x11extras-common-5.12.4-alt1 sisyphus+233177.1500.3.4 1561676527 installed <13>Aug 8 05:36:34 rpmi: libqt5-x11extras-5.12.4-alt1 sisyphus+233177.1500.3.4 1561676527 installed <13>Aug 8 05:36:34 rpmi: qt5-websockets-common-5.12.4-alt1 sisyphus+233177.500.3.4 1561674710 installed <13>Aug 8 05:36:34 rpmi: libqt5-websockets-5.12.4-alt1 sisyphus+233177.500.3.4 1561674710 installed <13>Aug 8 05:36:34 rpmi: qt5-webkit-common-5.212.0-alt11 sisyphus+233177.4200.3.4 1561687553 installed <13>Aug 8 05:36:35 rpmi: qt5-webengine-common-5.12.4-alt2 sisyphus+233222.400.7.1 1561794725 installed <13>Aug 8 05:36:35 rpmi: libre2-20190601-alt1 sisyphus+233222.100.5.1 1561738143 installed <13>Aug 8 05:36:35 rpmi: libminizip-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Aug 8 05:36:35 rpmi: libevent2.1-2.1.8-alt2 sisyphus+225805.100.1.1 1553739559 installed <13>Aug 8 05:36:35 rpmi: libXScrnSaver-1.2.3-alt1 sisyphus+223149.500.2.1 1551268370 installed <13>Aug 8 05:36:35 rpmi: qt5-quickcontrols2-common-5.12.4-alt1 sisyphus+233177.2000.3.4 1561677014 installed <13>Aug 8 05:36:35 rpmi: libqt5-quicktemplates2-5.12.4-alt1 sisyphus+233177.2000.3.4 1561677014 installed <13>Aug 8 05:36:35 rpmi: libqt5-quickcontrols2-5.12.4-alt1 sisyphus+233177.2000.3.4 1561677014 installed <13>Aug 8 05:36:35 rpmi: qt5-quickcontrols2-5.12.4-alt1 sisyphus+233177.2000.3.4 1561677014 installed <13>Aug 8 05:36:35 rpmi: qt5-webchannel-common-5.12.4-alt1 sisyphus+233177.1200.3.4 1561675985 installed <13>Aug 8 05:36:35 rpmi: libqt5-webchannel-5.12.4-alt1 sisyphus+233177.1200.3.4 1561675985 installed <13>Aug 8 05:36:36 rpmi: libqt5-webkit-5.212.0-alt11 sisyphus+233177.4200.3.4 1561687553 installed <13>Aug 8 05:36:36 rpmi: qt5-svg-common-5.12.4-alt1 sisyphus+233177.1700.3.4 1561676733 installed <13>Aug 8 05:36:36 rpmi: libqt5-svg-5.12.4-alt1 sisyphus+233177.1700.3.4 1561676733 installed <13>Aug 8 05:36:36 rpmi: qt5-sensors-common-5.12.4-alt1 sisyphus+233177.1100.3.4 1561675856 installed <13>Aug 8 05:36:36 rpmi: libqt5-sensors-5.12.4-alt1 sisyphus+233177.1100.3.4 1561675856 installed <13>Aug 8 05:36:36 rpmi: qt5-multimedia-common-5.12.4-alt1 sisyphus+233177.600.3.4 1561675044 installed <13>Aug 8 05:36:36 rpmi: libopenal1-1.19.1-alt1 sisyphus+222956.100.1.1 1551298513 installed <13>Aug 8 05:36:36 rpmi: libzeromq-4.2.3-alt1 1513846882 installed <13>Aug 8 05:36:36 rpmi: libmpeg2-0.5.1-alt3.svn20120718 1410845586 installed <13>Aug 8 05:36:36 rpmi: libcdio-2.0.0-alt1.1 1516233232 installed <13>Aug 8 05:36:36 rpmi: liba52-0.7.4-alt9 1528303350 installed <13>Aug 8 05:36:36 rpmi: libwebrtc-0.3-alt2 sisyphus+229377.100.1.1 1557873868 installed <13>Aug 8 05:36:36 rpmi: vulkan-filesystem-1.1.107-alt1 sisyphus+228875.1200.5.1 1557178290 installed <13>Aug 8 05:36:36 rpmi: libvulkan1-1.1.107-alt1 sisyphus+228875.1200.5.1 1557178290 installed <13>Aug 8 05:36:36 rpmi: libvo-amrwbenc-0.1.3-alt1 1465493713 installed <13>Aug 8 05:36:36 rpmi: libvo-aacenc-0.1.3-alt1 1393497439 installed <13>Aug 8 05:36:36 rpmi: libsbc-1.2-alt1.1 1501780340 installed <13>Aug 8 05:36:36 rpmi: libopenh264-1.8.0-alt1 sisyphus+228851.200.2.1 1556714933 installed <13>Aug 8 05:36:36 rpmi: libtbb-2019-alt1.u8 sisyphus+235076.100.2.1 1563979139 installed <13>Aug 8 05:36:36 rpmi: libprotobuf17-3.6.1.3-alt2 sisyphus+227259.100.1.1 1555610513 installed <13>Aug 8 05:36:36 rpmi: libgflags-2.2.2-alt1 sisyphus+235324.400.2.1 1564663143 installed <13>Aug 8 05:36:36 rpmi: libjson-c4-0.13.1-alt1 sisyphus+226468.100.8.1 1554723265 installed <13>Aug 8 05:36:36 rpmi: libCharLS-1.0-alt2 1389518018 installed <13>Aug 8 05:36:36 rpmi: gdcm-2.8.4-alt3_11 sisyphus+233446.100.1.1 1561835954 installed <13>Aug 8 05:36:36 rpmi: libgme-0.6.1-alt1 1521318053 installed <13>Aug 8 05:36:36 rpmi: libudfread-1.0.0-alt3 1528906336 installed <13>Aug 8 05:36:36 rpmi: libbluray-1.0.2-alt1 1529659810 installed <13>Aug 8 05:36:36 rpmi: libsoxr-0.1.2-alt4 sisyphus+222649.100.1.1 1550964841 installed <13>Aug 8 05:36:36 rpmi: libswresample3-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:37 rpmi: libzvbi-0.2.35-alt1 sisyphus+223374.100.1.1 1551507904 installed <13>Aug 8 05:36:37 rpmi: libxvid-1.3.4-alt1 1507033988 installed <13>Aug 8 05:36:37 rpmi: libtwolame-0.3.13-alt1 1486717192 installed <13>Aug 8 05:36:37 rpmi: libcodec2-0.8.1-alt1 1533802521 installed <13>Aug 8 05:36:37 rpmi: libaom-1.0.0-alt1 sisyphus+223275.100.2.1 1551424406 installed <13>Aug 8 05:36:37 rpmi: tinyxml-2.6.2-alt1.2 1465754828 installed <13>Aug 8 05:36:37 rpmi: openni-1.5.7.10-alt2_13 1525876438 installed <13>Aug 8 05:36:37 rpmi: libfftw3-common-3.3.8-alt1 sisyphus+226899.100.1.1 1554782385 installed <13>Aug 8 05:36:37 rpmi: libfftw3-3.3.8-alt1 sisyphus+226899.100.1.1 1554782385 installed <13>Aug 8 05:36:37 rpmi: libofa-0.9.3-alt4.1.qa3 1506957670 installed <13>Aug 8 05:36:37 rpmi: librubberband-1.8.1-alt1.hg20140905.1 1434271009 installed <13>Aug 8 05:36:37 rpmi: libmodplug-0.8.9.0-alt1 sisyphus+224334.100.1.1 1552243564 installed <13>Aug 8 05:36:37 rpmi: libmms-0.6.4-alt1 1409679936 installed <13>Aug 8 05:36:37 rpmi: libyajl-2.1.0-alt1 1399891593 installed <13>Aug 8 05:36:37 rpmi: libkate-0.4.1-alt1.4 sisyphus+223368.100.1.1 1551503981 installed <13>Aug 8 05:36:37 rpmi: liblash-1:0.5.4-alt1_35 sisyphus+226080.100.1.1 1554104907 installed <13>Aug 8 05:36:37 rpmi: libfaad2-2.7-alt6 sisyphus+220898.4600.11.1 1551973073 installed <13>Aug 8 05:36:37 rpmi: libdvdcss-1.3.0-alt1 1414269645 installed <13>Aug 8 05:36:37 rpmi: libdvdnav-5.0.1-alt1 1414229734 installed <13>Aug 8 05:36:37 rpmi: libdca0-0.0.5-alt4.qa1 sisyphus+222535.100.1.1 1550881650 installed <13>Aug 8 05:36:37 rpmi: libsoundtouch-2.1.2-alt1 sisyphus+222705.100.1.1 1551002622 installed <13>Aug 8 05:36:37 rpmi: openexr22-common-2.2.0-alt3 sisyphus+221267.100.1.2 1549944980 installed <13>Aug 8 05:36:37 rpmi: libilmimf22-2.2.0-alt3 sisyphus+221267.100.1.2 1549944980 installed <13>Aug 8 05:36:37 rpmi: libtag-1.11.1-alt1 1479892949 installed <13>Aug 8 05:36:37 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Aug 8 05:36:37 rpmi: libpulseaudio-12.2-alt3 sisyphus+233325.100.1.1 1561640571 installed <13>Aug 8 05:36:37 rpmi: libfluidsynth-2.0.5-alt1 sisyphus+227606.100.1.2 1555785563 installed <13>Aug 8 05:36:37 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879158 installed <13>Aug 8 05:36:37 rpmi: libmjpegtools2.1-2.1.0-alt3 sisyphus+227903.100.1.1 1555879017 installed <13>Aug 8 05:36:37 rpmi: libmpg123-1.25.11-alt1 sisyphus+234853.100.1.1 1563471075 installed <13>Aug 8 05:36:37 rpmi: libwayland-cursor-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Aug 8 05:36:37 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Aug 8 05:36:37 rpmi: libtiff5-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed <13>Aug 8 05:36:37 rpmi: libgdk-pixbuf-locales-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed <13>Aug 8 05:36:37 rpmi: libepoxy-1.5.3-alt1 sisyphus+226740.100.2.3 1554619014 installed <13>Aug 8 05:36:37 rpmi: libavahi-0.6.32-alt1 1500485694 installed <13>Aug 8 05:36:37 rpmi: libcups-2.2.11-alt1 sisyphus+225793.100.1.1 1553701171 installed <13>Aug 8 05:36:37 rpmi: libqt5-printsupport-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <13>Aug 8 05:36:37 rpmi: libqt5-webkitwidgets-5.212.0-alt11 sisyphus+233177.4200.3.4 1561687553 installed <13>Aug 8 05:36:37 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Aug 8 05:36:37 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Aug 8 05:36:37 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Aug 8 05:36:37 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Aug 8 05:36:37 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Aug 8 05:36:37 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Aug 8 05:36:37 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Aug 8 05:36:37 rpmi: perl-Compress-Raw-Bzip2-2.086-alt1 sisyphus+226394.100.1.2 1554269409 installed <13>Aug 8 05:36:37 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Aug 8 05:36:37 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Aug 8 05:36:37 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Aug 8 05:36:37 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Aug 8 05:36:37 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474113 installed <13>Aug 8 05:36:37 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Aug 8 05:36:37 rpmi: perl-IO-Compress-2.086-alt1 sisyphus+226399.100.2.1 1554270186 installed <13>Aug 8 05:36:37 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Aug 8 05:36:37 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed <13>Aug 8 05:36:37 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Aug 8 05:36:37 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Aug 8 05:36:37 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Aug 8 05:36:37 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Aug 8 05:36:37 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Aug 8 05:36:37 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Aug 8 05:36:37 rpmi: perl-libwww-6.39-alt1 sisyphus+229237.100.1.1 1557650051 installed <13>Aug 8 05:36:37 rpmi: perl-XML-LibXML-2.0201-alt1 sisyphus+231120.200.1.1 1559144562 installed <13>Aug 8 05:36:37 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Aug 8 05:36:37 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Aug 8 05:36:37 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Aug 8 05:36:38 rpmi: icon-theme-adwaita-3.32.0-alt1 sisyphus+225063.1600.1.1 1552933594 installed <13>Aug 8 05:36:38 rpmi: libvisual0.4-0.4.0-alt3 1301290263 installed <13>Aug 8 05:36:38 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Aug 8 05:36:38 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Aug 8 05:36:38 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Aug 8 05:36:38 rpmi: libgraphene-1.9.4-alt1 sisyphus+232671.100.1.1 1560974140 installed <13>Aug 8 05:36:38 rpmi: libcdparanoia-1:10.2-alt6 1501248110 installed <13>Aug 8 05:36:38 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Aug 8 05:36:38 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Aug 8 05:36:38 rpmi: libpango-1.42.4-alt1 1534787249 installed <13>Aug 8 05:36:38 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Aug 8 05:36:38 rpmi: libucil2-0.9.10-alt3_12 sisyphus+233445.100.1.1 1561809430 installed <13>Aug 8 05:36:38 rpmi: qt5-serialport-common-5.12.4-alt1 sisyphus+233177.700.3.4 1561675246 installed <13>Aug 8 05:36:38 rpmi: libqt5-serialport-5.12.4-alt1 sisyphus+233177.700.3.4 1561675246 installed <13>Aug 8 05:36:38 rpmi: libqt5-positioning-5.12.4-alt1 sisyphus+233177.1000.3.4 1561675566 installed <13>Aug 8 05:36:38 rpmi: libqt5-positioningquick-5.12.4-alt1 sisyphus+233177.1000.3.4 1561675566 installed <13>Aug 8 05:36:38 rpmi: libqt5-location-5.12.4-alt1 sisyphus+233177.1000.3.4 1561675566 installed <13>Aug 8 05:36:38 rpmi: rpm-macros-cmake-3.13.4-alt3 sisyphus+229386.100.1.1 1557907621 installed <13>Aug 8 05:36:38 rpmi: cmake-modules-3.13.4-alt3 sisyphus+229386.100.1.1 1557907621 installed <13>Aug 8 05:36:38 rpmi: libuv-1.28.0-alt1 sisyphus+231674.100.1.1 1559848900 installed <13>Aug 8 05:36:38 rpmi: librhash-1.3.5-alt2 1505156277 installed <13>Aug 8 05:36:38 rpmi: libjsoncpp19-1.8.4-alt4 sisyphus+232904.100.1.1 1561247384 installed <13>Aug 8 05:36:38 rpmi: publicsuffix-list-dafsa-20190329-alt1 sisyphus+226347.100.1.2 1554127434 installed <13>Aug 8 05:36:38 rpmi: libpsl-0.21.0-alt1 sisyphus+227314.100.1.2 1555618432 installed <13>Aug 8 05:36:38 rpmi: libnghttp2-1.34.0-alt1 sisyphus+222625.100.1.1 1550947249 installed <13>Aug 8 05:36:38 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Aug 8 05:36:38 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Aug 8 05:36:39 rpmi: llvm7.0-libs-7.0.1-alt4.rel sisyphus+229878.100.2.1 1558604478 installed <13>Aug 8 05:36:40 rpmi: clang7.0-libs-7.0.1-alt4.rel sisyphus+229878.100.2.1 1558604478 installed <13>Aug 8 05:36:40 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Aug 8 05:36:40 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Aug 8 05:36:40 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Aug 8 05:36:40 groupadd[29969]: group added to /etc/group: name=_keytab, GID=498 <86>Aug 8 05:36:40 groupadd[29969]: group added to /etc/gshadow: name=_keytab <86>Aug 8 05:36:40 groupadd[29969]: new group: name=_keytab, GID=498 <13>Aug 8 05:36:40 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Aug 8 05:36:40 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Aug 8 05:36:40 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Aug 8 05:36:40 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:40 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:40 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:40 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:40 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:40 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:43 rpmi: clang7.0-7.0.1-alt4.rel sisyphus+229878.100.2.1 1558604478 installed <13>Aug 8 05:36:43 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:43 rpmi: clang7.0-devel-7.0.1-alt4.rel sisyphus+229878.100.2.1 1558604478 installed <13>Aug 8 05:36:43 rpmi: python3-module-clang-5.0-alt1 sisyphus+228352.1100.3.1 1556555939 installed <13>Aug 8 05:36:43 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:43 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:43 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:44 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:44 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:44 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:44 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:44 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Aug 8 05:36:44 rpmi: qt5-base-devel-5.12.4-alt3 sisyphus+235483.100.1.1 1565011625 installed <86>Aug 8 05:36:44 groupadd[31566]: group added to /etc/group: name=sasl, GID=497 <86>Aug 8 05:36:44 groupadd[31566]: group added to /etc/gshadow: name=sasl <86>Aug 8 05:36:44 groupadd[31566]: new group: name=sasl, GID=497 <13>Aug 8 05:36:44 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139861 installed <13>Aug 8 05:36:44 rpmi: libldap-2.4.47-alt2 sisyphus+232098.100.1.1 1560524395 installed <13>Aug 8 05:36:44 rpmi: libcurl-7.65.3-alt1 sisyphus+235033.100.1.1 1563886216 installed <13>Aug 8 05:36:44 rpmi: cmake-3.13.4-alt3 sisyphus+229386.100.1.1 1557907621 installed <13>Aug 8 05:36:44 rpmi: libraptor2-2.0.15-alt1 1417013328 installed <13>Aug 8 05:36:44 rpmi: liblrdf-0.6.1-alt1 1493047569 installed <13>Aug 8 05:36:44 rpmi: libneon-0.30.2-alt1 sisyphus+226834.100.1.1 1554686299 installed <13>Aug 8 05:36:44 rpmi: libssh-0.8.7-alt1 sisyphus+223596.100.1.1 1551707803 installed <13>Aug 8 05:36:44 rpmi: libmetis-5.1.0-alt1.1 1465290044 installed <13>Aug 8 05:36:44 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>Aug 8 05:36:44 rpmi: libquadmath0-8.3.1-alt5 sisyphus+235477.100.1.1 1565021552 installed <13>Aug 8 05:36:44 rpmi: libgfortran5-8.3.1-alt5 sisyphus+235477.100.1.1 1565021552 installed <13>Aug 8 05:36:45 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>Aug 8 05:36:45 rpmi: libsuitesparse-5.4.0-alt1 sisyphus+231121.400.4.1 1559650159 installed <13>Aug 8 05:36:45 rpmi: ceres-solver-1.13.0-alt1_8 sisyphus+226018.100.1.1 1554036847 installed <13>Aug 8 05:36:45 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Aug 8 05:36:45 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Aug 8 05:36:45 rpmi: shared-mime-info-1.12-alt1 sisyphus+219597.100.2.2 1548056998 installed <13>Aug 8 05:36:45 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Aug 8 05:36:45 rpmi: libgio-2.60.6-alt1 sisyphus+235075.100.1.1 1563971175 installed <13>Aug 8 05:36:45 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Aug 8 05:36:45 rpmi: libgstreamer1.0-1.16.0-alt1 sisyphus+227450.200.3.3 1555766462 installed <13>Aug 8 05:36:45 rpmi: libgst-plugins1.0-1.16.0-alt1.1 sisyphus+229346.400.1.1 1557838166 installed <13>Aug 8 05:36:45 rpmi: libgdk-pixbuf-2.38.1-alt1.1 sisyphus+226643.100.1.1 1554470431 installed <13>Aug 8 05:36:45 rpmi: gstreamer1.0-1.16.0-alt1 sisyphus+227450.200.3.3 1555766462 installed <13>Aug 8 05:36:45 rpmi: librsvg-1:2.44.14-alt1 sisyphus+229312.100.1.1 1557813698 installed <13>Aug 8 05:36:46 rpmi: libavcodec58-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:46 rpmi: libavformat58-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:49 rpmi: libqt5-webenginecore-5.12.4-alt2 sisyphus+233222.400.7.1 1561794725 installed <13>Aug 8 05:36:49 rpmi: libgusb-0.3.0-alt1 1518891733 installed <13>Aug 8 05:36:49 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Aug 8 05:36:49 rpmi: gobject-introspection-1.60.2-alt1 sisyphus+232270.100.1.1 1560627627 installed <13>Aug 8 05:36:49 rpmi: libgstreamer1.0-gir-1.16.0-alt1 sisyphus+227450.200.3.3 1555766462 installed <13>Aug 8 05:36:49 rpmi: libgst-plugins1.0-gir-1.16.0-alt1.1 sisyphus+229346.400.1.1 1557838166 installed <13>Aug 8 05:36:49 rpmi: libqt5-webengine-5.12.4-alt2 sisyphus+233222.400.7.1 1561794725 installed <13>Aug 8 05:36:49 rpmi: libqt5-webenginewidgets-5.12.4-alt2 sisyphus+233222.400.7.1 1561794725 installed <13>Aug 8 05:36:49 rpmi: libavfilter7-2:4.1.4-alt2 sisyphus+235261.100.1.1 1564576681 installed <13>Aug 8 05:36:49 rpmi: gst-libav-1.16.0-alt1 sisyphus+227450.1000.3.3 1555767650 installed <13>Aug 8 05:36:49 rpmi: gst-plugins-base1.0-1.16.0-alt1.1 sisyphus+229346.400.1.1 1557838166 installed <13>Aug 8 05:36:49 rpmi: gst-plugins-ugly1.0-1.16.0-alt1 sisyphus+227450.600.3.3 1555767443 installed <13>Aug 8 05:36:49 rpmi: gtk-update-icon-cache-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Aug 8 05:36:49 rpmi: glib-networking-2.60.3-alt1 sisyphus+231797.100.1.1 1560108255 installed <13>Aug 8 05:36:49 rpmi: libsoup-2.66.2-alt1 sisyphus+229994.200.1.1 1558678426 installed <13>Aug 8 05:36:49 rpmi: libgssdp-1.0.3-alt1 sisyphus+219951.100.1.1 1548401419 installed <13>Aug 8 05:36:49 rpmi: libgupnp-1.0.4-alt1 sisyphus+231343.100.1.1 1559502080 installed <13>Aug 8 05:36:49 rpmi: libgupnp-igd-0.2.5-alt2 sisyphus+226525.100.2.3 1554592980 installed <13>Aug 8 05:36:49 rpmi: libnice-0.1.16-alt1 sisyphus+229216.100.1.1 1557584949 installed <13>Aug 8 05:36:49 rpmi: libsoup-gnome-2.66.2-alt1 sisyphus+229994.200.1.1 1558678426 installed <13>Aug 8 05:36:49 rpmi: librest-0.8.1-alt1 1508266396 installed <13>Aug 8 05:36:49 rpmi: libdconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552845910 installed <13>Aug 8 05:36:49 rpmi: dconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552845910 installed <13>Aug 8 05:36:49 rpmi: libgtk+3-schemas-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Aug 8 05:36:49 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128960 installed <86>Aug 8 05:36:49 groupadd[33165]: group added to /etc/group: name=colord, GID=496 <86>Aug 8 05:36:49 groupadd[33165]: group added to /etc/gshadow: name=colord <86>Aug 8 05:36:49 groupadd[33165]: new group: name=colord, GID=496 <86>Aug 8 05:36:49 useradd[33169]: new user: name=colord, UID=498, GID=496, home=/var/colord, shell=/dev/null <13>Aug 8 05:36:49 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Aug 8 05:36:49 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249583 installed <13>Aug 8 05:36:49 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Aug 8 05:36:49 rpmi: at-spi2-core-2.32.1-alt1.1 sisyphus+227877.100.1.2 1555818549 installed <13>Aug 8 05:36:49 rpmi: at-spi2-atk-2.32.0-alt1 sisyphus+225059.700.3.2 1552845269 installed <13>Aug 8 05:36:50 rpmi: libgtk+3-3.24.10-alt1 sisyphus+233719.100.1.1 1562221461 installed <13>Aug 8 05:36:50 rpmi: gst-plugins-good1.0-1.16.0-alt1.1 sisyphus+227894.200.1.2 1555855512 installed <13>Aug 8 05:36:51 rpmi: libopencv3.4-1:3.4.6-alt1 sisyphus+233908.200.1.1 1562316750 installed <13>Aug 8 05:36:51 rpmi: gst-plugins-bad1.0-1.16.0-alt1.2 sisyphus+228851.300.3.1 1556821486 installed <13>Aug 8 05:36:51 rpmi: libqt5-multimedia-5.12.4-alt1 sisyphus+233177.600.3.4 1561675044 installed <13>Aug 8 05:36:52 rpmi: python3-module-PyQt5-5.11.3-alt3 sisyphus+233011.100.1.1 1561324675 installed <13>Aug 8 05:36:52 rpmi: extra-cmake-modules-5.60.0-alt1 sisyphus+234636.100.1.2 1563314245 installed <13>Aug 8 05:36:52 rpmi: qt5-svg-devel-5.12.4-alt1 sisyphus+233177.1700.3.4 1561676733 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/kf5-kdiagram-2.6.0-alt2.nosrc.rpm Installing kf5-kdiagram-2.6.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.54637 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf kdiagram-2.6.0 + echo 'Source #0 (kdiagram-2.6.0.tar):' Source #0 (kdiagram-2.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/kdiagram-2.6.0.tar + cd kdiagram-2.6.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.54637 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd kdiagram-2.6.0 + __kf5_build -DKDE_INSTALL_INCLUDEDIR=/usr/include/KF5 + mkdir -p BUILD + __kf5_cmake -DKDE_INSTALL_INCLUDEDIR=/usr/include/KF5 + export PATH=/usr/lib/kf5/bin:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + PATH=/usr/lib/kf5/bin:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + export QTDIR=/usr/share/qt5 + QTDIR=/usr/share/qt5 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + pushd BUILD ~/RPM/BUILD/kdiagram-2.6.0/BUILD ~/RPM/BUILD/kdiagram-2.6.0 + cmake .. -DCMAKE_USE_RELATIVE_PATHS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_TESTING:BOOL=FALSE -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON -DCMAKE_BUILD_TYPE=Release '-DCMAKE_EXE_LINKER_FLAGS:STRING=-L/usr/lib64 -L/usr/lib64/kf5/devel' '-DCMAKE_MODULE_LINKER_FLAGS:STRING=-L/usr/lib64 -L/usr/lib64/kf5/devel' '-DCMAKE_SHARED_LINKER_FLAGS:STRING=-L/usr/lib64 -L/usr/lib64/kf5/devel' '-DCMAKE_LIBRARY_PATH=/usr/lib64/kf5/devel;/usr/lib64;/lib64' '-DCMAKE_INCLUDE_PATH=/usr/include/KF5;/usr/include' -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_BINDIR=/usr/lib/kf5/bin -DCMAKE_INSTALL_FULL_BINDIR=/usr/lib/kf5/bin -DBIN_INSTALL_DIR:PATH=/usr/lib/kf5/bin -DCMAKE_INSTALL_SBINDIR=/usr/lib/kf5/sbin -DCMAKE_INSTALL_FULL_SBINDIR=/usr/lib/kf5/sbin -DSBIN_INSTALL_DIR:PATH=/usr/lib/kf5/sbin -DLIBEXEC_INSTALL_DIR:PATH=/usr/libexec -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DCMAKE_INSTALL_INCLUDEDIR_KF5=/usr/include/KF5 -DDATA_INSTALL_DIR:PATH=/usr/share -DCONFIG_INSTALL_DIR:PATH=/etc/kf5/xdg -DSERVICES_INSTALL_DIR:PATH=/usr/share/kservices5 -DSERVICETYPES_INSTALL_DIR:PATH=/usr/share/kservicetypes5 -DKNOTIFYRC_INSTALL_DIR:PATH=/usr/share/knotifications5 -DKXMLGUI_INSTALL_DIR:PATH=/usr/share/kxmlgui5 -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DLIB_DESTINATION=lib64 -DLIB_SUFFIX=64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DAUTOSTART_INSTALL_DIR=/etc/kf5/xdg/autostart -DHTML_INSTALL_DIR=/usr/share/kf5/doc/HTML -DICON_INSTALL_DIR=/usr/share/kf5/icons -DXDG_MIME_INSTALL_DIR=/usr/share/mime/packages -DXDG_APPS_INSTALL_DIR=/usr/share/kf5/applications/kf5 -DECM_MKSPECS_INSTALL_DIR:PATH=/usr/lib64/qt5/mkspecs/modules -DKCFG_INSTALL_DIR:PATH=/usr/share/kf5/config.kcfg -DPLUGIN_INSTALL_DIR:PATH=/usr/lib64/qt5/plugins -DQT_PLUGIN_INSTALL_DIR:PATH=/usr/lib64/qt5/plugins -DQML_INSTALL_DIR:PATH=/usr/lib64/qt5/qml -DIMPORTS_INSTALL_DIR:PATH=/usr/lib64/qt5/imports -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/kf5/dbus-1/interfaces -DDBUS_SERVICES_INSTALL_DIR=/usr/share/kf5/dbus-1/services -DDBUS_SYSTEM_SERVICES_INSTALL_DIR=/lib/dbus-1/system-services -DKDE_INSTALL_INCLUDEDIR=/usr/include/KF5 -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): BIN_INSTALL_DIR is deprecated, use KDE_INSTALL_BINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:435 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): SBIN_INSTALL_DIR is deprecated, use KDE_INSTALL_SBINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:438 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): LIB_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:441 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): LIBEXEC_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBEXECDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:451 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): QT_PLUGIN_INSTALL_DIR is deprecated, use KDE_INSTALL_QTPLUGINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:402 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:479 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): IMPORTS_INSTALL_DIR is deprecated, use KDE_INSTALL_QTQUICKIMPORTSDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:402 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:485 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): QML_INSTALL_DIR is deprecated, use KDE_INSTALL_QMLDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:402 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:491 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): PLUGIN_INSTALL_DIR is deprecated, use KDE_INSTALL_PLUGINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:513 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): DATA_INSTALL_DIR is deprecated, use KDE_INSTALL_DATADIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:543 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): HTML_INSTALL_DIR is deprecated, use KDE_INSTALL_DOCBUNDLEDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:564 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): KCFG_INSTALL_DIR is deprecated, use KDE_INSTALL_KCFGDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:567 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): SERVICES_INSTALL_DIR is deprecated, use KDE_INSTALL_KSERVICES5DIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:573 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): SERVICETYPES_INSTALL_DIR is deprecated, use KDE_INSTALL_KSERVICETYPES5DIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:576 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): KNOTIFYRC_INSTALL_DIR is deprecated, use KDE_INSTALL_KNOTIFY5RCDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:579 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): KXMLGUI_INSTALL_DIR is deprecated, use KDE_INSTALL_KXMLGUI5DIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:582 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): ICON_INSTALL_DIR is deprecated, use KDE_INSTALL_ICONDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:591 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): XDG_APPS_INSTALL_DIR is deprecated, use KDE_INSTALL_APPDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:606 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): XDG_MIME_INSTALL_DIR is deprecated, use KDE_INSTALL_MIMEDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:612 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): DBUS_INTERFACES_INSTALL_DIR is deprecated, use KDE_INSTALL_DBUSINTERFACEDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:626 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): DBUS_SERVICES_INSTALL_DIR is deprecated, use KDE_INSTALL_DBUSSERVICEDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:629 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): DBUS_SYSTEM_SERVICES_INSTALL_DIR is deprecated, use KDE_INSTALL_DBUSSYSTEMSERVICEDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:632 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): SYSCONF_INSTALL_DIR is deprecated, use KDE_INSTALL_SYSCONFDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:402 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:645 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): CONFIG_INSTALL_DIR is deprecated, use KDE_INSTALL_CONFDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:648 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:347 (message): AUTOSTART_INSTALL_DIR is deprecated, use KDE_INSTALL_AUTOSTARTDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:651 (_define_relative) CMakeLists.txt:9 (include) -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- The following OPTIONAL packages have been found: * Qt5Core * Qt5Sql -- The following REQUIRED packages have been found: * ECM (required version >= 1.4.0) * Qt5Gui (required version >= 5.12.4) * Qt5PrintSupport * Qt5Svg * Qt5Widgets * Qt5 (required version >= 5.2.0) -- Configuring done CMake Warning (dev) in src/KChart/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility, CMake is excluding the GENERATED source file(s): "/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartEnums.cxx" from processing by AUTOMOC. If any of the files should be processed, set CMP0071 to NEW. If any of the files should not be processed, explicitly exclude them by setting the source file property SKIP_AUTOMOC: set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_LIBRARY_PATH CMAKE_USE_RELATIVE_PATHS LIB_DESTINATION LIB_SUFFIX -- Build files have been written to: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD + popd ~/RPM/BUILD/kdiagram-2.6.0 + __kf5_make + pushd BUILD ~/RPM/BUILD/kdiagram-2.6.0/BUILD ~/RPM/BUILD/kdiagram-2.6.0 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' /usr/bin/cmake -S/usr/src/RPM/BUILD/kdiagram-2.6.0 -B/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/CMakeFiles /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/CMakeFiles/progress.marks make: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f CMakeFiles/Makefile2 all make -f src/KChart/CMakeFiles/KChart_autogen.dir/build.make src/KChart/CMakeFiles/KChart_autogen.dir/depend make -f src/KGantt/CMakeFiles/KGantt_autogen.dir/build.make src/KGantt/CMakeFiles/KGantt_autogen.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/CMakeFiles/KGantt_autogen.dir/DependInfo.cmake --color= Scanning dependencies of target KGantt_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/CMakeFiles/KChart_autogen.dir/DependInfo.cmake --color= Scanning dependencies of target KChart_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt_autogen.dir/build.make src/KGantt/CMakeFiles/KGantt_autogen.dir/build make -f src/KChart/CMakeFiles/KChart_autogen.dir/build.make src/KChart/CMakeFiles/KChart_autogen.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 1%] Automatic MOC for target KGantt cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/cmake -E cmake_autogen /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/CMakeFiles/KGantt_autogen.dir/AutogenInfo.cmake Release make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 2%] Built target KGantt_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt.dir/build.make src/KGantt/CMakeFiles/KGantt.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/CMakeFiles/KGantt.dir/DependInfo.cmake --color= Scanning dependencies of target KGantt make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt.dir/build.make src/KGantt/CMakeFiles/KGantt.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 2%] Automatic MOC for target KChart cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/cmake -E cmake_autogen /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/CMakeFiles/KChart_autogen.dir/AutogenInfo.cmake Release make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 7%] Built target KChart_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart.dir/build.make src/KChart/CMakeFiles/KChart.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 8%] Qt Wrapped File cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/share/qt5/bin/moc -o /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartEnums.cxx /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartEnums.h make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 8%] Generating ui_KChartDatasetSelector.h cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/share/qt5/bin/uic -o /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/ui_KChartDatasetSelector.h /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.ui make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 9%] Generating qrc_KChart_LeveyJennings_resources.cpp cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/share/qt5/bin/rcc --name KChart_LeveyJennings_resources --output /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/qrc_KChart_LeveyJennings_resources.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChart_LeveyJennings_resources.qrc make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/CMakeFiles/KChart.dir/DependInfo.cmake --color= Scanning dependencies of target KChart make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart.dir/build.make src/KChart/CMakeFiles/KChart.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 6%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttabstractrowcontroller.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttabstractrowcontroller.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractrowcontroller.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 2%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttglobal.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttglobal.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttglobal.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 7%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kgantttreeviewrowcontroller.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kgantttreeviewrowcontroller.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:37:23: warning: 'virtual int KGantt::TreeViewRowController::headerHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int headerHeight() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:38:23: warning: 'virtual int KGantt::TreeViewRowController::maximumItemHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int maximumItemHeight() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:39:23: warning: 'virtual int KGantt::TreeViewRowController::totalHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int totalHeight() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:40:24: warning: 'virtual bool KGantt::TreeViewRowController::isRowVisible(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowVisible( const QModelIndex& idx ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:41:24: warning: 'virtual bool KGantt::TreeViewRowController::isRowExpanded(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowExpanded( const QModelIndex& idx ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:42:24: warning: 'virtual KGantt::Span KGantt::TreeViewRowController::rowGeometry(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span rowGeometry( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:43:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexAt(int) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAt( int height ) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:44:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexAbove(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAbove( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:45:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexBelow(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexBelow( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.cpp: In destructor 'virtual KGantt::TreeViewRowController::~TreeViewRowController()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.cpp:46:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d=0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 5%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttgraphicsview.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttgraphicsview.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h:124:23: warning: 'virtual void KGantt::GraphicsView::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /*reimp*/void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h:65:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsView( QWidget* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:114:24: warning: 'virtual void KGantt::GraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void helpEvent( QGraphicsSceneHelpEvent *helpEvent ); ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:115:24: warning: 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawBackground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:116:24: warning: 'virtual void KGantt::GraphicsScene::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawForeground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:49:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsScene( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:81:24: warning: 'virtual KGantt::Span KGantt::DateTimeGrid::mapToChart(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span mapToChart( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:82:24: warning: 'virtual bool KGantt::DateTimeGrid::mapFromChart(const KGantt::Span&, const QModelIndex&, const QList&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool mapFromChart( const Span& span, const QModelIndex& idx, ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:84:25: warning: 'virtual qreal KGantt::DateTimeGrid::mapToChart(const QVariant&) const' can be marked override [-Wsuggest-override] /*reimp*/ qreal mapToChart( const QVariant& value ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:85:28: warning: 'virtual QVariant KGantt::DateTimeGrid::mapFromChart(qreal) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant mapFromChart( qreal x ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:86:24: warning: 'virtual void KGantt::DateTimeGrid::paintGrid(QPainter*, const QRectF&, const QRectF&, KGantt::AbstractRowController*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintGrid( QPainter* painter, ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:90:24: warning: 'virtual void KGantt::DateTimeGrid::paintHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintHeader( QPainter* painter, ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:119:26: warning: 'virtual void KGantt::DateTimeGrid::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawBackground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:120:26: warning: 'virtual void KGantt::DateTimeGrid::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawForeground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:88:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:89:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:92:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:97:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:100:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:103:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:106:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:111:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:41:24: warning: 'virtual bool KGantt::HeaderWidget::event(QEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ bool event( QEvent* ev ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:42:24: warning: 'virtual void KGantt::HeaderWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintEvent( QPaintEvent* ev ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview_p.h:43:24: warning: 'virtual void KGantt::HeaderWidget::contextMenuEvent(QContextMenuEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void contextMenuEvent( QContextMenuEvent* ev ); ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:47:22: warning: 'virtual int KGantt::GraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:76:26: warning: 'virtual QRectF KGantt::GraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:77:24: warning: 'virtual void KGantt::GraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:80:28: warning: 'virtual QVariant KGantt::GraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)' can be marked override [-Wsuggest-override] /*reimp*/ QVariant itemChange( GraphicsItemChange, const QVariant& value ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:82:24: warning: 'virtual void KGantt::GraphicsItem::focusInEvent(QFocusEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void focusInEvent( QFocusEvent* event ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:83:24: warning: 'virtual void KGantt::GraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverMoveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:84:24: warning: 'virtual void KGantt::GraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverLeaveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:85:24: warning: 'virtual void KGantt::GraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mousePressEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:86:24: warning: 'virtual void KGantt::GraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseReleaseEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:87:24: warning: 'virtual void KGantt::GraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseDoubleClickEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:88:24: warning: 'virtual void KGantt::GraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseMoveEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:78:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp: In member function 'virtual void KGantt::HeaderWidget::contextMenuEvent(QContextMenuEvent*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:88:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionScaleAuto = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:89:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionScaleMonth = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:90:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionScaleWeek = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:91:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionScaleDay = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:92:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionScaleHour = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:93:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionZoomIn = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:94:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAction* actionZoomOut = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:95:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( grid != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:149:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( action == 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp: In constructor 'KGantt::GraphicsView::Private::Private(KGantt::GraphicsView*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:191:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : q( _q ), rowcontroller(0), headerwidget( _q ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp: In member function 'void KGantt::GraphicsView::Private::slotItemClicked(const QModelIndex&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:299:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if (q->style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick, 0, q)) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp: In member function 'void KGantt::GraphicsView::Private::slotItemDoubleClicked(const QModelIndex&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:307:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if (!q->style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick, 0, q)) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 4%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttview.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttview.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.h:103:24: warning: 'virtual void KGantt::View::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void resizeEvent(QResizeEvent*); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.h:55:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit View(QWidget* parent=0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:114:24: warning: 'virtual void KGantt::GraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void helpEvent( QGraphicsSceneHelpEvent *helpEvent ); ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:115:24: warning: 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawBackground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:116:24: warning: 'virtual void KGantt::GraphicsScene::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawForeground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:49:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsScene( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:37:23: warning: 'virtual int KGantt::TreeViewRowController::headerHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int headerHeight() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:38:23: warning: 'virtual int KGantt::TreeViewRowController::maximumItemHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int maximumItemHeight() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:39:23: warning: 'virtual int KGantt::TreeViewRowController::totalHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int totalHeight() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:40:24: warning: 'virtual bool KGantt::TreeViewRowController::isRowVisible(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowVisible( const QModelIndex& idx ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:41:24: warning: 'virtual bool KGantt::TreeViewRowController::isRowExpanded(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowExpanded( const QModelIndex& idx ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:42:24: warning: 'virtual KGantt::Span KGantt::TreeViewRowController::rowGeometry(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span rowGeometry( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:43:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexAt(int) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAt( int height ) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:44:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexAbove(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAbove( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.h:45:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexBelow(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexBelow( const QModelIndex& idx ) const; ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintproxy.h:38:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintProxy( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h:124:23: warning: 'virtual void KGantt::GraphicsView::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /*reimp*/void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h:65:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsView( QWidget* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:30, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:30, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:81:24: warning: 'virtual KGantt::Span KGantt::DateTimeGrid::mapToChart(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span mapToChart( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:82:24: warning: 'virtual bool KGantt::DateTimeGrid::mapFromChart(const KGantt::Span&, const QModelIndex&, const QList&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool mapFromChart( const Span& span, const QModelIndex& idx, ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:84:25: warning: 'virtual qreal KGantt::DateTimeGrid::mapToChart(const QVariant&) const' can be marked override [-Wsuggest-override] /*reimp*/ qreal mapToChart( const QVariant& value ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:85:28: warning: 'virtual QVariant KGantt::DateTimeGrid::mapFromChart(qreal) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant mapFromChart( qreal x ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:86:24: warning: 'virtual void KGantt::DateTimeGrid::paintGrid(QPainter*, const QRectF&, const QRectF&, KGantt::AbstractRowController*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintGrid( QPainter* painter, ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:90:24: warning: 'virtual void KGantt::DateTimeGrid::paintHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintHeader( QPainter* painter, ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:119:26: warning: 'virtual void KGantt::DateTimeGrid::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawBackground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:120:26: warning: 'virtual void KGantt::DateTimeGrid::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawForeground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:88:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:89:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:92:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:97:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:100:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:103:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:106:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:111:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:47:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource( const QModelIndex& idx) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:48:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource( const QModelIndex& proxyIdx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:50:23: warning: 'virtual int KGantt::ProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:51:23: warning: 'virtual int KGantt::ProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:53:28: warning: 'virtual QVariant KGantt::ProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& idx, int role = Qt::DisplayRole ) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:54:24: warning: 'virtual bool KGantt::ProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& idx, const QVariant& value, int role=Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:31:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview_p.h:55:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KGanttTreeView( QAbstractProxyModel* proxy, QWidget* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.h:45:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ItemDelegate( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:47:22: warning: 'virtual int KGantt::GraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:76:26: warning: 'virtual QRectF KGantt::GraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:77:24: warning: 'virtual void KGantt::GraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:80:28: warning: 'virtual QVariant KGantt::GraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)' can be marked override [-Wsuggest-override] /*reimp*/ QVariant itemChange( GraphicsItemChange, const QVariant& value ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:82:24: warning: 'virtual void KGantt::GraphicsItem::focusInEvent(QFocusEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void focusInEvent( QFocusEvent* event ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:83:24: warning: 'virtual void KGantt::GraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverMoveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:84:24: warning: 'virtual void KGantt::GraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverLeaveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:85:24: warning: 'virtual void KGantt::GraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mousePressEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:86:24: warning: 'virtual void KGantt::GraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseReleaseEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:87:24: warning: 'virtual void KGantt::GraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseDoubleClickEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:88:24: warning: 'virtual void KGantt::GraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseMoveEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:78:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:33:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:35:28: warning: 'virtual QVariant KGantt::SummaryHandlingProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:36:24: warning: 'virtual bool KGantt::SummaryHandlingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:38:33: warning: 'virtual Qt::ItemFlags KGantt::SummaryHandlingProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::ItemFlags flags( const QModelIndex& idx ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:41:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceModelReset()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceModelReset(); ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:42:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceLayoutChanged()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceLayoutChanged(); ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:43:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceDataChanged(const QModelIndex&, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceDataChanged( const QModelIndex& from, const QModelIndex& to ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:44:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:45:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeRemoved( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:46:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:47:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeRemoved( const QModelIndex&, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:30:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit SummaryHandlingProxyModel( QObject* parent=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:51:15: warning: 'virtual QSize {anonymous}::HeaderView::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const { QSize s = QHeaderView::sizeHint(); s.rheight() *= 2; return s; } ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:48:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit HeaderView( QWidget* parent=0 ) : QHeaderView( Qt::Horizontal, parent ) { ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp: In constructor 'KGantt::View::Private::Private(KGantt::View*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:95:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] model(0) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttview.cpp:95:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 4%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttstyleoptionganttitem.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttstyleoptionganttitem.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttstyleoptionganttitem.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttstyleoptionganttitem.cpp: In constructor 'KGantt::StyleOptionGanttItem::StyleOptionGanttItem()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttstyleoptionganttitem.cpp:35:15: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] grid( 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 6%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttlistviewrowcontroller.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttlistviewrowcontroller.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:37:23: warning: 'virtual int KGantt::ListViewRowController::headerHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int headerHeight() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:38:23: warning: 'virtual int KGantt::ListViewRowController::maximumItemHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int maximumItemHeight() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:39:23: warning: 'virtual int KGantt::ListViewRowController::totalHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int totalHeight() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:40:24: warning: 'virtual bool KGantt::ListViewRowController::isRowVisible(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowVisible( const QModelIndex& idx ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:41:24: warning: 'virtual bool KGantt::ListViewRowController::isRowExpanded(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowExpanded( const QModelIndex& idx ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:42:24: warning: 'virtual KGantt::Span KGantt::ListViewRowController::rowGeometry(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span rowGeometry( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:43:31: warning: 'virtual QModelIndex KGantt::ListViewRowController::indexAt(int) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAt( int height ) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:44:31: warning: 'virtual QModelIndex KGantt::ListViewRowController::indexAbove(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAbove( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.h:45:31: warning: 'virtual QModelIndex KGantt::ListViewRowController::indexBelow(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexBelow( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.cpp: In destructor 'virtual KGantt::ListViewRowController::~ListViewRowController()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlistviewrowcontroller.cpp:44:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 9%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartMeasure.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartMeasure.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp: In constructor 'KChart::Measure::Measure()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:38:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mOrientation( KChartEnums::MeasureOrientationAuto ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp: In constructor 'KChart::Measure::Measure(qreal, KChartEnums::MeasureCalculationMode, KChartEnums::MeasureOrientation)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:49:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mOrientation( orientation ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp: In constructor 'KChart::GlobalMeasureScaling::GlobalMeasureScaling()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMeasure.cpp:184:22: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_paintDevice( 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 14%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttforwardingproxymodel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttforwardingproxymodel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 10%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttgraphicsitem.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttgraphicsitem.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:47:22: warning: 'virtual int KGantt::GraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:76:26: warning: 'virtual QRectF KGantt::GraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:77:24: warning: 'virtual void KGantt::GraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:80:28: warning: 'virtual QVariant KGantt::GraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)' can be marked override [-Wsuggest-override] /*reimp*/ QVariant itemChange( GraphicsItemChange, const QVariant& value ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:82:24: warning: 'virtual void KGantt::GraphicsItem::focusInEvent(QFocusEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void focusInEvent( QFocusEvent* event ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:83:24: warning: 'virtual void KGantt::GraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverMoveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:84:24: warning: 'virtual void KGantt::GraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverLeaveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:85:24: warning: 'virtual void KGantt::GraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mousePressEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:86:24: warning: 'virtual void KGantt::GraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseReleaseEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:87:24: warning: 'virtual void KGantt::GraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseDoubleClickEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:88:24: warning: 'virtual void KGantt::GraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseMoveEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:78:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:114:24: warning: 'virtual void KGantt::GraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void helpEvent( QGraphicsSceneHelpEvent *helpEvent ); ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:115:24: warning: 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawBackground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:116:24: warning: 'virtual void KGantt::GraphicsScene::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawForeground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:49:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsScene( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h:124:23: warning: 'virtual void KGantt::GraphicsView::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /*reimp*/void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h:65:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsView( QWidget* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.h:45:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ItemDelegate( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:38:23: warning: 'virtual int KGantt::ConstraintGraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/ int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:43:26: warning: 'virtual QRectF KGantt::ConstraintGraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:44:24: warning: 'virtual void KGantt::ConstraintGraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:35:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:35:92: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:45:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp: In member function 'void KGantt::GraphicsItem::init()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:94:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_dragline = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp: In member function 'virtual void KGantt::GraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:452:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete m_dragline; m_dragline = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:484:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] scene()->setDragSource( 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 12%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttconstraintproxy.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttconstraintproxy.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintproxy.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintproxy.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintproxy.h:38:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintProxy( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintproxy.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 10%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttgraphicsscene.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttgraphicsscene.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:114:24: warning: 'virtual void KGantt::GraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void helpEvent( QGraphicsSceneHelpEvent *helpEvent ); ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:115:24: warning: 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawBackground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:116:24: warning: 'virtual void KGantt::GraphicsScene::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawForeground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:49:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsScene( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene_p.h:30, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:81:24: warning: 'virtual KGantt::Span KGantt::DateTimeGrid::mapToChart(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span mapToChart( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:82:24: warning: 'virtual bool KGantt::DateTimeGrid::mapFromChart(const KGantt::Span&, const QModelIndex&, const QList&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool mapFromChart( const Span& span, const QModelIndex& idx, ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:84:25: warning: 'virtual qreal KGantt::DateTimeGrid::mapToChart(const QVariant&) const' can be marked override [-Wsuggest-override] /*reimp*/ qreal mapToChart( const QVariant& value ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:85:28: warning: 'virtual QVariant KGantt::DateTimeGrid::mapFromChart(qreal) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant mapFromChart( qreal x ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:86:24: warning: 'virtual void KGantt::DateTimeGrid::paintGrid(QPainter*, const QRectF&, const QRectF&, KGantt::AbstractRowController*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintGrid( QPainter* painter, ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:90:24: warning: 'virtual void KGantt::DateTimeGrid::paintHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintHeader( QPainter* painter, ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:119:26: warning: 'virtual void KGantt::DateTimeGrid::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawBackground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:120:26: warning: 'virtual void KGantt::DateTimeGrid::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawForeground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:88:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:89:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:92:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:97:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:100:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:103:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:106:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:111:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:47:22: warning: 'virtual int KGantt::GraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:76:26: warning: 'virtual QRectF KGantt::GraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:77:24: warning: 'virtual void KGantt::GraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:80:28: warning: 'virtual QVariant KGantt::GraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange, const QVariant&)' can be marked override [-Wsuggest-override] /*reimp*/ QVariant itemChange( GraphicsItemChange, const QVariant& value ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:82:24: warning: 'virtual void KGantt::GraphicsItem::focusInEvent(QFocusEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void focusInEvent( QFocusEvent* event ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:83:24: warning: 'virtual void KGantt::GraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverMoveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:84:24: warning: 'virtual void KGantt::GraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void hoverLeaveEvent( QGraphicsSceneHoverEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:85:24: warning: 'virtual void KGantt::GraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mousePressEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:86:24: warning: 'virtual void KGantt::GraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseReleaseEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:87:24: warning: 'virtual void KGantt::GraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseDoubleClickEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:88:24: warning: 'virtual void KGantt::GraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void mouseMoveEvent( QGraphicsSceneMouseEvent* ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:43:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:44:106: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsItem( const QModelIndex& idx, QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.h:78:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:38:23: warning: 'virtual int KGantt::ConstraintGraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/ int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:43:26: warning: 'virtual QRectF KGantt::ConstraintGraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:44:24: warning: 'virtual void KGantt::ConstraintGraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:35:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:35:92: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:45:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.h:45:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ItemDelegate( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:33:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:35:28: warning: 'virtual QVariant KGantt::SummaryHandlingProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:36:24: warning: 'virtual bool KGantt::SummaryHandlingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:38:33: warning: 'virtual Qt::ItemFlags KGantt::SummaryHandlingProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::ItemFlags flags( const QModelIndex& idx ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:41:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceModelReset()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceModelReset(); ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:42:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceLayoutChanged()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceLayoutChanged(); ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:43:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceDataChanged(const QModelIndex&, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceDataChanged( const QModelIndex& from, const QModelIndex& to ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:44:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:45:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeRemoved( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:46:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:47:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeRemoved( const QModelIndex&, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:30:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit SummaryHandlingProxyModel( QObject* parent=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In constructor 'KGantt::GraphicsScene::Private::Private(KGantt::GraphicsScene*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:70:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] selectionModel( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:70:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:70:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'void KGantt::GraphicsScene::Private::deleteConstraintItem(KGantt::ConstraintGraphicsItem*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:120:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( citem == 0 ) { ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:124:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] GraphicsItem* item = items.value( summaryHandlingModel->mapFromSource( c.startIndex() ), 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:128:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] item = items.value( summaryHandlingModel->mapFromSource( c.endIndex() ), 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'KGantt::ConstraintGraphicsItem* KGantt::GraphicsScene::Private::findConstraintItem(const KGantt::Constraint&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:143:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] GraphicsItem* item = items.value( summaryHandlingModel->mapFromSource( c.startIndex() ), 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:155:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] item = items.value( summaryHandlingModel->mapFromSource( c.endIndex() ), 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:167:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'void KGantt::GraphicsScene::setGrid(KGantt::AbstractGrid*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:297:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QAbstractItemModel* model = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:298:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( grid == 0 ) grid = &d->default_grid; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'void KGantt::GraphicsScene::insertItem(const QPersistentModelIndex&, KGantt::GraphicsItem*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:458:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] GraphicsItem* other_item = d->items.value(summaryHandlingModel()->mapFromSource( other_idx ),0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:466:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] GraphicsItem* other_item = d->items.value(summaryHandlingModel()->mapFromSource( other_idx ),0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'KGantt::GraphicsItem* KGantt::GraphicsScene::findItem(const QModelIndex&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:506:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( !idx.isValid() ) return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:509:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return ( it != d->items.end() )?*it:0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'KGantt::GraphicsItem* KGantt::GraphicsScene::findItem(const QPersistentModelIndex&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:514:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( !idx.isValid() ) return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:517:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return ( it != d->items.end() )?*it:0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:596:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->grid->paintHeader( painter, headerRect, rect, 0, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'void KGantt::GraphicsScene::print(QPainter*, const QRectF&, bool, bool)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:714:76: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] doPrint( painter, targetRect, sceneRect().left(), sceneRect().right(), 0, drawRowLabels, drawColumnLabels ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp: In member function 'void KGantt::GraphicsScene::print(QPainter*, qreal, qreal, const QRectF&, bool, bool)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:735:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] doPrint( painter, targetRect, start, end, 0, drawRowLabels, drawColumnLabels ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 11%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttconstraint.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttconstraint.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraint.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 16%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttsummaryhandlingproxymodel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttsummaryhandlingproxymodel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:33:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:35:28: warning: 'virtual QVariant KGantt::SummaryHandlingProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:36:24: warning: 'virtual bool KGantt::SummaryHandlingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:38:33: warning: 'virtual Qt::ItemFlags KGantt::SummaryHandlingProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::ItemFlags flags( const QModelIndex& idx ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:41:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceModelReset()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceModelReset(); ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:42:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceLayoutChanged()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceLayoutChanged(); ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:43:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceDataChanged(const QModelIndex&, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceDataChanged( const QModelIndex& from, const QModelIndex& to ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:44:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:45:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeRemoved( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:46:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:47:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeRemoved( const QModelIndex&, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:30:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit SummaryHandlingProxyModel( QObject* parent=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp: In member function 'virtual Qt::ItemFlags KGantt::SummaryHandlingProxyModel::flags(const QModelIndex&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.cpp:219:19: warning: enum constant in boolean context [-Wint-in-bool-context] f &= !Qt::ItemIsEditable; ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 18%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttabstractgrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttabstractgrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 20%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/unittest/test.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/unittest/test.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/unittest/test.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 21%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/unittest/testregistry.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -Wno-deprecated-declarations -o CMakeFiles/KGantt.dir/unittest/testregistry.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/unittest/testregistry.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 17%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttproxymodel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttproxymodel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:47:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource( const QModelIndex& idx) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:48:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource( const QModelIndex& proxyIdx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:50:23: warning: 'virtual int KGantt::ProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:51:23: warning: 'virtual int KGantt::ProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:53:28: warning: 'virtual QVariant KGantt::ProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& idx, int role = Qt::DisplayRole ) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:54:24: warning: 'virtual bool KGantt::ProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& idx, const QVariant& value, int role=Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:31:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ProxyModel( QObject* parent=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp: In destructor 'virtual KGantt::ProxyModel::~ProxyModel()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.cpp:58:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 17%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttconstraintmodel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttconstraintmodel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 20%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttlegend.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttlegend.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:38:31: warning: 'virtual QModelIndex KGantt::Legend::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAt( const QPoint& point ) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:39:25: warning: 'virtual QRect KGantt::Legend::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QRect visualRect( const QModelIndex& index ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:41:24: warning: 'virtual void KGantt::Legend::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] /*reimp*/ void scrollTo( const QModelIndex&, ScrollHint = EnsureVisible ) {} ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:43:25: warning: 'virtual QSize KGantt::Legend::sizeHint() const' can be marked override [-Wsuggest-override] /*reimp*/ QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:44:25: warning: 'virtual QSize KGantt::Legend::minimumSizeHint() const' can be marked override [-Wsuggest-override] /*reimp*/ QSize minimumSizeHint() const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:46:24: warning: 'virtual void KGantt::Legend::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:53:24: warning: 'virtual void KGantt::Legend::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:55:23: warning: 'virtual int KGantt::Legend::horizontalOffset() const' can be marked override [-Wsuggest-override] /*reimp*/ int horizontalOffset() const { return 0; } ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:56:24: warning: 'virtual bool KGantt::Legend::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isIndexHidden( const QModelIndex& ) const { return false; } ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:57:31: warning: 'virtual QModelIndex KGantt::Legend::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex moveCursor( CursorAction, Qt::KeyboardModifiers ) { return QModelIndex(); } ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:58:24: warning: 'virtual void KGantt::Legend::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] /*reimp*/ void setSelection( const QRect&, QItemSelectionModel::SelectionFlags ) {} ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:59:23: warning: 'virtual int KGantt::Legend::verticalOffset() const' can be marked override [-Wsuggest-override] /*reimp*/ int verticalOffset() const { return 0; } ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:60:27: warning: 'virtual QRegion KGantt::Legend::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] /*reimp*/ QRegion visualRegionForSelection( const QItemSelection& ) const { return QRegion(); } ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.h:35:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:47:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource( const QModelIndex& idx) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:48:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource( const QModelIndex& proxyIdx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:50:23: warning: 'virtual int KGantt::ProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:51:23: warning: 'virtual int KGantt::ProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:53:28: warning: 'virtual QVariant KGantt::ProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& idx, int role = Qt::DisplayRole ) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:54:24: warning: 'virtual bool KGantt::ProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& idx, const QVariant& value, int role=Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttproxymodel.h:31:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.h:45:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ItemDelegate( QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp: In member function 'virtual void KGantt::Legend::setModel(QAbstractItemModel*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:82:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( this->model() != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:92:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( this->model() != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp: In member function 'virtual void KGantt::Legend::paintEvent(QPaintEvent*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:113:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( model() == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp: In member function 'virtual QSize KGantt::Legend::measureItem(const QModelIndex&, bool) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:183:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( model() == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttlegend.cpp:187:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( index.model() != 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 23%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/KGantt_autogen/mocs_compilation.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/KGantt_autogen/mocs_compilation.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview.h:124:23: warning: 'virtual void KGantt::GraphicsView::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /*reimp*/void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview.h:65:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsView( QWidget* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsscene.h:114:24: warning: 'virtual void KGantt::GraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void helpEvent( QGraphicsSceneHelpEvent *helpEvent ); ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsscene.h:115:24: warning: 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawBackground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsscene.h:116:24: warning: 'virtual void KGantt::GraphicsScene::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawForeground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsscene.h:49:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsScene( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:81:24: warning: 'virtual KGantt::Span KGantt::DateTimeGrid::mapToChart(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span mapToChart( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:82:24: warning: 'virtual bool KGantt::DateTimeGrid::mapFromChart(const KGantt::Span&, const QModelIndex&, const QList&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool mapFromChart( const Span& span, const QModelIndex& idx, ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:84:25: warning: 'virtual qreal KGantt::DateTimeGrid::mapToChart(const QVariant&) const' can be marked override [-Wsuggest-override] /*reimp*/ qreal mapToChart( const QVariant& value ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:85:28: warning: 'virtual QVariant KGantt::DateTimeGrid::mapFromChart(qreal) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant mapFromChart( qreal x ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:86:24: warning: 'virtual void KGantt::DateTimeGrid::paintGrid(QPainter*, const QRectF&, const QRectF&, KGantt::AbstractRowController*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintGrid( QPainter* painter, ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:90:24: warning: 'virtual void KGantt::DateTimeGrid::paintHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintHeader( QPainter* painter, ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:119:26: warning: 'virtual void KGantt::DateTimeGrid::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawBackground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:120:26: warning: 'virtual void KGantt::DateTimeGrid::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawForeground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:88:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:89:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:92:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:97:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:100:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:103:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:106:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttdatetimegrid.h:111:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:41:24: warning: 'virtual bool KGantt::HeaderWidget::event(QEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ bool event( QEvent* ev ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:42:24: warning: 'virtual void KGantt::HeaderWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintEvent( QPaintEvent* ev ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttgraphicsview_p.h:43:24: warning: 'virtual void KGantt::HeaderWidget::contextMenuEvent(QContextMenuEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void contextMenuEvent( QContextMenuEvent* ev ); ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttlegend.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:3: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:38:31: warning: 'virtual QModelIndex KGantt::Legend::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAt( const QPoint& point ) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:39:25: warning: 'virtual QRect KGantt::Legend::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QRect visualRect( const QModelIndex& index ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:41:24: warning: 'virtual void KGantt::Legend::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] /*reimp*/ void scrollTo( const QModelIndex&, ScrollHint = EnsureVisible ) {} ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:43:25: warning: 'virtual QSize KGantt::Legend::sizeHint() const' can be marked override [-Wsuggest-override] /*reimp*/ QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:44:25: warning: 'virtual QSize KGantt::Legend::minimumSizeHint() const' can be marked override [-Wsuggest-override] /*reimp*/ QSize minimumSizeHint() const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:46:24: warning: 'virtual void KGantt::Legend::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:53:24: warning: 'virtual void KGantt::Legend::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:55:23: warning: 'virtual int KGantt::Legend::horizontalOffset() const' can be marked override [-Wsuggest-override] /*reimp*/ int horizontalOffset() const { return 0; } ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:56:24: warning: 'virtual bool KGantt::Legend::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isIndexHidden( const QModelIndex& ) const { return false; } ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:57:31: warning: 'virtual QModelIndex KGantt::Legend::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex moveCursor( CursorAction, Qt::KeyboardModifiers ) { return QModelIndex(); } ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:58:24: warning: 'virtual void KGantt::Legend::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] /*reimp*/ void setSelection( const QRect&, QItemSelectionModel::SelectionFlags ) {} ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:59:23: warning: 'virtual int KGantt::Legend::verticalOffset() const' can be marked override [-Wsuggest-override] /*reimp*/ int verticalOffset() const { return 0; } ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:60:27: warning: 'virtual QRegion KGantt::Legend::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] /*reimp*/ QRegion visualRegionForSelection( const QItemSelection& ) const { return QRegion(); } ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttlegend.h:35:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview.h:103:24: warning: 'virtual void KGantt::View::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void resizeEvent(QResizeEvent*); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview.h:55:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit View(QWidget* parent=0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:37:23: warning: 'virtual int KGantt::TreeViewRowController::headerHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int headerHeight() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:38:23: warning: 'virtual int KGantt::TreeViewRowController::maximumItemHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int maximumItemHeight() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:39:23: warning: 'virtual int KGantt::TreeViewRowController::totalHeight() const' can be marked override [-Wsuggest-override] /*reimp*/ int totalHeight() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:40:24: warning: 'virtual bool KGantt::TreeViewRowController::isRowVisible(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowVisible( const QModelIndex& idx ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:41:24: warning: 'virtual bool KGantt::TreeViewRowController::isRowExpanded(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool isRowExpanded( const QModelIndex& idx ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:42:24: warning: 'virtual KGantt::Span KGantt::TreeViewRowController::rowGeometry(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span rowGeometry( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:43:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexAt(int) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAt( int height ) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:44:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexAbove(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexAbove( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kgantttreeviewrowcontroller.h:45:31: warning: 'virtual QModelIndex KGantt::TreeViewRowController::indexBelow(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex indexBelow( const QModelIndex& idx ) const; ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttconstraintproxy.h:38:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintProxy( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:47:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource( const QModelIndex& idx) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:48:31: warning: 'virtual QModelIndex KGantt::ProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource( const QModelIndex& proxyIdx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:50:23: warning: 'virtual int KGantt::ProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:51:23: warning: 'virtual int KGantt::ProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:53:28: warning: 'virtual QVariant KGantt::ProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& idx, int role = Qt::DisplayRole ) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:54:24: warning: 'virtual bool KGantt::ProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& idx, const QVariant& value, int role=Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttproxymodel.h:31:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/EWIEGA46WW/../../../../../src/KGantt/kganttview_p.h:55:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KGanttTreeView( QAbstractProxyModel* proxy, QWidget* parent=0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 25%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartWidget.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartWidget.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:68:10: warning: 'virtual void KChart::TextArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:72:19: warning: 'virtual QRect KChart::TextArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:73:18: warning: 'virtual void KChart::TextArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:41:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:72:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Widget( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:144:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeader = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.h:165:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:47:18: warning: 'virtual void KChart::PieDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:73:18: warning: 'virtual void KChart::PieDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:77:19: warning: 'virtual qreal KChart::PieDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:79:19: warning: 'virtual qreal KChart::PieDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:81:19: warning: 'virtual qreal KChart::PieDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:87:43: warning: 'virtual const QPair KChart::PieDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:88:10: warning: 'virtual void KChart::PieDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:89:10: warning: 'virtual void KChart::PieDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:45:18: warning: 'virtual void KChart::RingDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:48:18: warning: 'virtual void KChart::RingDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:52:19: warning: 'virtual qreal KChart::RingDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:54:19: warning: 'virtual qreal KChart::RingDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:55:19: warning: 'virtual qreal KChart::RingDiagram::numberOfDatasets() const' can be marked override [-Wsuggest-override] virtual qreal numberOfDatasets() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:57:19: warning: 'virtual qreal KChart::RingDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:76:43: warning: 'virtual const QPair KChart::RingDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:77:10: warning: 'virtual void KChart::RingDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:78:10: warning: 'virtual void KChart::RingDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:39:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:39:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:32: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:58:18: warning: 'virtual void KChart::AbstractAreaWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] virtual void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:105:19: warning: 'virtual QRect KChart::AbstractAreaWidget::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:106:18: warning: 'virtual void KChart::AbstractAreaWidget::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:49:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAreaWidget( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:32: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:81:18: warning: 'virtual void KChart::Legend::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] virtual void resizeEvent( QResizeEvent * event ); // TODO: should be protected ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:83:18: warning: 'virtual void KChart::Legend::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:84:18: warning: 'virtual void KChart::Legend::setVisible(bool)' can be marked override [-Wsuggest-override] virtual void setVisible( bool visible ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:383:18: warning: 'virtual void KChart::Legend::forceRebuild()' can be marked override [-Wsuggest-override] virtual void forceRebuild(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:385:19: warning: 'virtual QSize KChart::Legend::minimumSizeHint() const' can be marked override [-Wsuggest-override] virtual QSize minimumSizeHint() const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:386:19: warning: 'virtual QSize KChart::Legend::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:387:18: warning: 'virtual bool KChart::Legend::hasHeightForWidth() const' can be marked override [-Wsuggest-override] virtual bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:388:17: warning: 'virtual int KChart::Legend::heightForWidth(int) const' can be marked override [-Wsuggest-override] virtual int heightForWidth( int width ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:389:18: warning: 'virtual void KChart::Legend::needSizeHint()' can be marked override [-Wsuggest-override] virtual void needSizeHint(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:390:18: warning: 'virtual void KChart::Legend::resizeLayout(const QSize&)' can be marked override [-Wsuggest-override] virtual void resizeLayout( const QSize& size ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:60:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:61:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( KChart::AbstractDiagram* diagram, QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:169:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] KChart::AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp: In destructor 'virtual KChart::Widget::~Widget()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:85:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp: In member function 'KChart::AbstractDiagram* KChart::Widget::diagram()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:342:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( coordinatePlane() == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp: In member function 'void KChart::Widget::setType(KChart::Widget::ChartType, KChart::Widget::SubType)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:392:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractDiagram* diag = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 13%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttconstraintgraphicsitem.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttconstraintgraphicsitem.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:38:23: warning: 'virtual int KGantt::ConstraintGraphicsItem::type() const' can be marked override [-Wsuggest-override] /*reimp*/ int type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:43:26: warning: 'virtual QRectF KGantt::ConstraintGraphicsItem::boundingRect() const' can be marked override [-Wsuggest-override] /*reimp*/ QRectF boundingRect() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:44:24: warning: 'virtual void KGantt::ConstraintGraphicsItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paint( QPainter* painter, const QStyleOptionGraphicsItem* option, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:35:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:35:92: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QGraphicsItem* parent = 0, GraphicsScene* scene = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.h:45:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.h:34:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:114:24: warning: 'virtual void KGantt::GraphicsScene::helpEvent(QGraphicsSceneHelpEvent*)' can be marked override [-Wsuggest-override] /*reimp*/ void helpEvent( QGraphicsSceneHelpEvent *helpEvent ); ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:115:24: warning: 'virtual void KGantt::GraphicsScene::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawBackground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:116:24: warning: 'virtual void KGantt::GraphicsScene::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /*reimp*/ void drawForeground( QPainter* painter, const QRectF& rect ); ^~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.h:49:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsScene( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.h:45:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ItemDelegate( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:35:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:36:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:38:24: warning: 'virtual void KGantt::ForwardingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:40:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex index( int row, int column, const QModelIndex& parent = QModelIndex() ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:41:31: warning: 'virtual QModelIndex KGantt::ForwardingProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ QModelIndex parent( const QModelIndex& idx ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:43:23: warning: 'virtual int KGantt::ForwardingProxyModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int rowCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:44:23: warning: 'virtual int KGantt::ForwardingProxyModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ int columnCount( const QModelIndex& idx = QModelIndex() ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:46:24: warning: 'virtual bool KGantt::ForwardingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:48:30: warning: 'virtual QMimeData* KGantt::ForwardingProxyModel::mimeData(const QModelIndexList&) const' can be marked override [-Wsuggest-override] /*reimp*/ QMimeData *mimeData(const QModelIndexList &indexes) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:49:24: warning: 'virtual bool KGantt::ForwardingProxyModel::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:50:31: warning: 'virtual QStringList KGantt::ForwardingProxyModel::mimeTypes() const' can be marked override [-Wsuggest-override] /*reimp*/ QStringList mimeTypes() const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:51:35: warning: 'virtual Qt::DropActions KGantt::ForwardingProxyModel::supportedDropActions() const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::DropActions supportedDropActions() const; ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.h:32:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ForwardingProxyModel( QObject* parent=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:33:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] /*reimp*/ void setSourceModel( QAbstractItemModel* model ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:35:28: warning: 'virtual QVariant KGantt::SummaryHandlingProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant data( const QModelIndex& proxyIndex, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:36:24: warning: 'virtual bool KGantt::SummaryHandlingProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] /*reimp*/ bool setData( const QModelIndex& index, const QVariant& value, int role = Qt::EditRole ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:38:33: warning: 'virtual Qt::ItemFlags KGantt::SummaryHandlingProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Qt::ItemFlags flags( const QModelIndex& idx ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:41:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceModelReset()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceModelReset(); ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:42:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceLayoutChanged()' can be marked override [-Wsuggest-override] /*reimp*/ void sourceLayoutChanged(); ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:43:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceDataChanged(const QModelIndex&, const QModelIndex&)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceDataChanged( const QModelIndex& from, const QModelIndex& to ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:44:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:45:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceColumnsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceColumnsAboutToBeRemoved( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:46:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeInserted(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeInserted( const QModelIndex& idx, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:47:24: warning: 'virtual void KGantt::SummaryHandlingProxyModel::sourceRowsAboutToBeRemoved(const QModelIndex&, int, int)' can be marked override [-Wsuggest-override] /*reimp*/ void sourceRowsAboutToBeRemoved( const QModelIndex&, int start, int end ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:30:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit SummaryHandlingProxyModel( QObject* parent=0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 26%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp: In constructor 'KChart::AbstractDiagram::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:75:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , attributesModel( new PrivateAttributesModel(0,0) ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:75:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:81:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , mCachedFontMetrics( QFontMetrics( qApp->font() ) ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:81:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp: In copy constructor 'KChart::AbstractDiagram::Private::Private(const KChart::AbstractDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:164:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mCachedFontMetrics( rhs.cachedFontMetrics() ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:164:49: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:166:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] attributesModel = new PrivateAttributesModel( 0, 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.cpp:166:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 28%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractArea.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractArea.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp: In constructor 'KChart::AbstractArea::AbstractArea()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.cpp:51:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , KChart::AbstractLayoutItem() ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 22%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/ECMQmLoader-kgantt_qt.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/ECMQmLoader-kgantt_qt.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/ECMQmLoader-kgantt_qt.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 13%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttitemdelegate.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttitemdelegate.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttitemdelegate.h:45:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ItemDelegate( QObject* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 15%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractCoordinatePlane.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractCoordinatePlane.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In constructor 'KChart::AbstractCoordinatePlane::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:42:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , rubberBand( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:42:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:42:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:42:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In member function 'virtual void KChart::AbstractCoordinatePlane::takeDiagram(KChart::AbstractDiagram*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:114:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] diagram->setParent( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:115:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] diagram->setCoordinatePlane( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In member function 'KChart::AbstractDiagram* KChart::AbstractCoordinatePlane::diagram()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:129:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In member function 'void KChart::AbstractCoordinatePlane::setRubberBandZoomingEnabled(bool)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:270:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( !enable && d->rubberBand != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:273:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->rubberBand = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In member function 'virtual void KChart::AbstractCoordinatePlane::mousePressEvent(QMouseEvent*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:299:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( d->enableRubberBandZooming && d->rubberBand == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( d->rubberBand != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:322:23: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( p != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In member function 'virtual void KChart::AbstractCoordinatePlane::mouseReleaseEvent(QMouseEvent*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:351:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( d->rubberBand != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:391:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->rubberBand = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp: In member function 'virtual void KChart::AbstractCoordinatePlane::mouseMoveEvent(QMouseEvent*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.cpp:404:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( d->rubberBand != 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 30%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractAxis.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractAxis.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In constructor 'KChart::AbstractAxis::Private::Private(KChart::AbstractDiagram*, KChart::AbstractAxis*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:35:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , mAxis( axis ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In destructor 'virtual KChart::AbstractAxis::Private::~Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:44:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] observer = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In member function 'bool KChart::AbstractAxis::Private::setDiagram(KChart::AbstractDiagram*, bool)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:51:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mDiagram = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:71:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] observer = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In member function 'void KChart::AbstractAxis::Private::unsetDiagram(KChart::AbstractDiagram*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:83:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mDiagram = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:85:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] observer = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In destructor 'virtual KChart::AbstractAxis::~AbstractAxis()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:118:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->mDiagram = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In member function 'virtual void KChart::AbstractAxis::delayedInit()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:139:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->setDiagram( 0, true /* delayedInit */ ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp: In member function 'const KChart::AbstractCoordinatePlane* KChart::AbstractAxis::coordinatePlane() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.cpp:242:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 31%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractGrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractGrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp: In constructor 'KChart::AbstractGrid::AbstractGrid()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.cpp:39:17: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : mPlane( 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 27%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractAreaBase.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractAreaBase.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.cpp: In destructor 'virtual KChart::AbstractAreaBase::~AbstractAreaBase()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.cpp:57:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 19%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttdatetimegrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/c++ -DKDAB_NO_UNIT_TESTS -DKGantt_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/kganttdatetimegrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:43:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractGrid(QObject* parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:57:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, QWidget* widget=0 ) = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.h:59:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ) = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:81:24: warning: 'virtual KGantt::Span KGantt::DateTimeGrid::mapToChart(const QModelIndex&) const' can be marked override [-Wsuggest-override] /*reimp*/ Span mapToChart( const QModelIndex& idx ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:82:24: warning: 'virtual bool KGantt::DateTimeGrid::mapFromChart(const KGantt::Span&, const QModelIndex&, const QList&) const' can be marked override [-Wsuggest-override] /*reimp*/ bool mapFromChart( const Span& span, const QModelIndex& idx, ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:84:25: warning: 'virtual qreal KGantt::DateTimeGrid::mapToChart(const QVariant&) const' can be marked override [-Wsuggest-override] /*reimp*/ qreal mapToChart( const QVariant& value ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:85:28: warning: 'virtual QVariant KGantt::DateTimeGrid::mapFromChart(qreal) const' can be marked override [-Wsuggest-override] /*reimp*/ QVariant mapFromChart( qreal x ) const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:86:24: warning: 'virtual void KGantt::DateTimeGrid::paintGrid(QPainter*, const QRectF&, const QRectF&, KGantt::AbstractRowController*, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintGrid( QPainter* painter, ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:90:24: warning: 'virtual void KGantt::DateTimeGrid::paintHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)' can be marked override [-Wsuggest-override] /*reimp*/ void paintHeader( QPainter* painter, ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:119:26: warning: 'virtual void KGantt::DateTimeGrid::drawBackground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawBackground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:120:26: warning: 'virtual void KGantt::DateTimeGrid::drawForeground(QPainter*, const QRectF&)' can be marked override [-Wsuggest-override] /* reimp */ void drawForeground(QPainter* paint, const QRectF& rect); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:88:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractRowController* rowController = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:89:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:92:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:97:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:100:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:103:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:106:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qreal offset, QWidget* widget=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:111:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* widget = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid_p.h:86:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] int tabHeight( const QString& txt, QWidget* widget = 0 ) const; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp: In member function 'virtual void KGantt::DateTimeGrid::paintHourScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1013:17: warning: 'virtual QString KGantt::DateTimeGrid::paintHourScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::HourFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1016:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintHourScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::HourFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1029:17: warning: 'virtual QString KGantt::DateTimeGrid::paintHourScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::DayFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1032:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintHourScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::DayFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp: In member function 'virtual void KGantt::DateTimeGrid::paintDayScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1053:17: warning: 'virtual QString KGantt::DateTimeGrid::paintDayScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::DayFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1056:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintDayScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::DayFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1069:17: warning: 'virtual QString KGantt::DateTimeGrid::paintDayScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::WeekFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1072:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintDayScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::WeekFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp: In member function 'virtual void KGantt::DateTimeGrid::paintWeekScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1093:17: warning: 'virtual QString KGantt::DateTimeGrid::paintWeekScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::WeekFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1096:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintWeekScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::WeekFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1110:17: warning: 'virtual QString KGantt::DateTimeGrid::paintWeekScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::MonthFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1113:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintWeekScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::MonthFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp: In member function 'virtual void KGantt::DateTimeGrid::paintMonthScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1132:17: warning: 'virtual QString KGantt::DateTimeGrid::paintMonthScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::MonthFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1135:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintMonthScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::MonthFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1147:17: warning: 'virtual QString KGantt::DateTimeGrid::paintMonthScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::YearFormatter::format(const QDateTime&)' can be marked override [-Wsuggest-override] QString format( const QDateTime& dt ) { ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:1150:15: warning: 'virtual QRect KGantt::DateTimeGrid::paintMonthScaleHeader(QPainter*, const QRectF&, const QRectF&, qreal, QWidget*)::YearFormatter::textRect(qreal, qreal, qreal, const QRectF&, const QDateTime&)' can be marked override [-Wsuggest-override] QRect textRect( qreal x, qreal offset, qreal dayWidth, const QRectF& headerRect, const QDateTime& dt ) { ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 28%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartTextArea.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartTextArea.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:68:10: warning: 'virtual void KChart::TextArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:72:19: warning: 'virtual QRect KChart::TextArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:73:18: warning: 'virtual void KChart::TextArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 31%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractProxyModel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractProxyModel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 29%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractAreaWidget.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractAreaWidget.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:58:18: warning: 'virtual void KChart::AbstractAreaWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] virtual void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:105:19: warning: 'virtual QRect KChart::AbstractAreaWidget::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:106:18: warning: 'virtual void KChart::AbstractAreaWidget::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:49:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAreaWidget( QWidget* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 34%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartDatasetSelector.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartDatasetSelector.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:62:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::buddy(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex buddy( const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:64:23: warning: 'virtual Qt::ItemFlags KChart::DatasetProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] Qt::ItemFlags flags( const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:66:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int column, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:68:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent(const QModelIndex &child ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:71:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:74:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource ( const QModelIndex& proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:77:18: warning: 'virtual QVariant KChart::DatasetProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex &index, int role) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:80:14: warning: 'virtual bool KChart::DatasetProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData( const QModelIndex& index, const QVariant& value, int role ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:83:18: warning: 'virtual QVariant KChart::DatasetProxyModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:86:14: warning: 'virtual void KChart::DatasetProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel(QAbstractItemModel *sourceModel); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:122:14: warning: 'virtual bool KChart::DatasetProxyModel::filterAcceptsColumn(int, const QModelIndex&) const' can be marked override [-Wsuggest-override] bool filterAcceptsColumn ( int sourceColumn, ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:127:14: warning: 'virtual bool KChart::DatasetProxyModel::filterAcceptsRow(int, const QModelIndex&) const' can be marked override [-Wsuggest-override] bool filterAcceptsRow ( int source_row, const QModelIndex & source_parent ) const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:60:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DatasetProxyModel ( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.h:49:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DatasetSelectorWidget ( QWidget* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 33%] Linking CXX shared library libKGantt.so cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/cmake -E cmake_link_script CMakeFiles/KGantt.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -L/usr/lib64 -L/usr/lib64/kf5/devel -shared -Wl,-soname,libKGantt.so.2 -o libKGantt.so.2.6.0 CMakeFiles/KGantt.dir/kganttglobal.cpp.o CMakeFiles/KGantt.dir/kganttview.cpp.o CMakeFiles/KGantt.dir/kganttstyleoptionganttitem.cpp.o CMakeFiles/KGantt.dir/kganttgraphicsview.cpp.o CMakeFiles/KGantt.dir/kganttabstractrowcontroller.cpp.o CMakeFiles/KGantt.dir/kgantttreeviewrowcontroller.cpp.o CMakeFiles/KGantt.dir/kganttlistviewrowcontroller.cpp.o CMakeFiles/KGantt.dir/kganttgraphicsscene.cpp.o CMakeFiles/KGantt.dir/kganttgraphicsitem.cpp.o CMakeFiles/KGantt.dir/kganttconstraint.cpp.o CMakeFiles/KGantt.dir/kganttconstraintproxy.cpp.o CMakeFiles/KGantt.dir/kganttconstraintgraphicsitem.cpp.o CMakeFiles/KGantt.dir/kganttitemdelegate.cpp.o CMakeFiles/KGantt.dir/kganttforwardingproxymodel.cpp.o CMakeFiles/KGantt.dir/kganttsummaryhandlingproxymodel.cpp.o CMakeFiles/KGantt.dir/kganttproxymodel.cpp.o CMakeFiles/KGantt.dir/kganttconstraintmodel.cpp.o CMakeFiles/KGantt.dir/kganttabstractgrid.cpp.o CMakeFiles/KGantt.dir/kganttdatetimegrid.cpp.o CMakeFiles/KGantt.dir/kganttlegend.cpp.o CMakeFiles/KGantt.dir/unittest/test.cpp.o CMakeFiles/KGantt.dir/unittest/testregistry.cpp.o CMakeFiles/KGantt.dir/ECMQmLoader-kgantt_qt.cpp.o CMakeFiles/KGantt.dir/KGantt_autogen/mocs_compilation.cpp.o /usr/lib64/libQt5PrintSupport.so.5.12.4 /usr/lib64/libQt5Widgets.so.5.12.4 /usr/lib64/libQt5Gui.so.5.12.4 /usr/lib64/libQt5Core.so.5.12.4 cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/cmake -E cmake_symlink_library libKGantt.so.2.6.0 libKGantt.so.2 libKGantt.so make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 36%] Built target KGantt make[1]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 36%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartDiagramObserver.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartDiagramObserver.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp: In member function 'void KChart::DiagramObserver::slotDestroyed(QObject*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:102:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( m_diagram, 0, this, 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:102:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( m_diagram, 0, this, 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:103:17: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_diagram = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 37%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartFrameAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartFrameAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartFrameAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartFrameAttributes.cpp: In destructor 'KChart::FrameAttributes::~FrameAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartFrameAttributes.cpp:70:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 33%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartBackgroundAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartBackgroundAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartBackgroundAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartBackgroundAttributes.cpp: In destructor 'KChart::BackgroundAttributes::~BackgroundAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartBackgroundAttributes.cpp:97:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 34%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartDatasetProxyModel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartDatasetProxyModel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:62:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::buddy(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex buddy( const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:64:23: warning: 'virtual Qt::ItemFlags KChart::DatasetProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] Qt::ItemFlags flags( const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:66:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int column, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:68:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent(const QModelIndex &child ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:71:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:74:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource ( const QModelIndex& proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:77:18: warning: 'virtual QVariant KChart::DatasetProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex &index, int role) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:80:14: warning: 'virtual bool KChart::DatasetProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData( const QModelIndex& index, const QVariant& value, int role ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:83:18: warning: 'virtual QVariant KChart::DatasetProxyModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:86:14: warning: 'virtual void KChart::DatasetProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel(QAbstractItemModel *sourceModel); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:122:14: warning: 'virtual bool KChart::DatasetProxyModel::filterAcceptsColumn(int, const QModelIndex&) const' can be marked override [-Wsuggest-override] bool filterAcceptsColumn ( int sourceColumn, ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:127:14: warning: 'virtual bool KChart::DatasetProxyModel::filterAcceptsRow(int, const QModelIndex&) const' can be marked override [-Wsuggest-override] bool filterAcceptsRow ( int source_row, const QModelIndex & source_parent ) const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.h:60:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DatasetProxyModel ( QObject* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 40%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartLayoutItems.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartLayoutItems.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:46:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:47:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( const QString& text, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In constructor 'KChart::TextLayoutItem::TextLayoutItem()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:223:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , cachedFont( mAttributes.font() ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In member function 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:296:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; // Grow neither vertically nor horizontally ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In member function 'int KChart::TextLayoutItem::marginWidth(const QSize&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:450:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return qMin ( QApplication::style()->pixelMetric( QStyle::PM_ButtonMargin, 0, 0 ), ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:450:83: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return qMin ( QApplication::style()->pixelMetric( QStyle::PM_ButtonMargin, 0, 0 ), ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In member function 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:640:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; // Grow neither vertically nor horizontally ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In member function 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:735:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; // Grow neither vertically nor horizontally ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In member function 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:834:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; // Grow neither vertically nor horizontally ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In member function 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:894:12: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; // Grow neither vertically nor horizontally ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp: In function 'void updateCommonBrush(QBrush&, bool&, const KChart::AbstractArea&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.cpp:930:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] ba.brush().gradient() == 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 35%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartDataValueAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartDataValueAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.cpp: In destructor 'KChart::DataValueAttributes::~DataValueAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.cpp:115:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 37%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartGridAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartGridAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartGridAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartGridAttributes.cpp: In destructor 'KChart::GridAttributes::~GridAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartGridAttributes.cpp:94:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 41%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartLineAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartLineAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLineAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLineAttributes.cpp: In destructor 'KChart::LineAttributes::~LineAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLineAttributes.cpp:78:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 42%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartMarkerAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartMarkerAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMarkerAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMarkerAttributes.cpp: In destructor 'KChart::MarkerAttributes::~MarkerAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartMarkerAttributes.cpp:83:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 43%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartPaintContext.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartPaintContext.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp: In constructor 'KChart::PaintContext::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:41:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , plane ( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPaintContext.cpp:41:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 25%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 43%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartPalette.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartPalette.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.h:50:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Palette( QObject *parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.cpp: In destructor 'virtual KChart::Palette::~Palette()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.cpp:131:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 38%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartRulerAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartRulerAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRulerAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRulerAttributes.cpp: In destructor 'KChart::RulerAttributes::~RulerAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRulerAttributes.cpp:262:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 44%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartPosition.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartPosition.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPosition.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 46%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KTextDocument.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KTextDocument.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:46:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:47:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( const QString& text, QObject* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 47%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractThreeDAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAbstractThreeDAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractThreeDAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractThreeDAttributes.cpp: In destructor 'virtual KChart::AbstractThreeDAttributes::~AbstractThreeDAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractThreeDAttributes.cpp:64:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 24%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartChart.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartChart.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:40, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:68:10: warning: 'virtual void KChart::TextArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:72:19: warning: 'virtual QRect KChart::TextArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:73:18: warning: 'virtual void KChart::TextArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h: In constructor 'KChart::PlaneInfo::PlaneInfo()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] rightAxesLayout( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h: In constructor 'KChart::LayoutGraphNode::LayoutGraphNode()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , priority( -1 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h: In constructor 'KChart::Chart::Private::AxisInfo::AxisInfo()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart_p.h:176:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] :plane(0) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:37: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:37: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:37: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:38: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:41:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:40: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:58:18: warning: 'virtual void KChart::AbstractAreaWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] virtual void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:105:19: warning: 'virtual QRect KChart::AbstractAreaWidget::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:106:18: warning: 'virtual void KChart::AbstractAreaWidget::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:49:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAreaWidget( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:40: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:81:18: warning: 'virtual void KChart::Legend::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] virtual void resizeEvent( QResizeEvent * event ); // TODO: should be protected ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:83:18: warning: 'virtual void KChart::Legend::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:84:18: warning: 'virtual void KChart::Legend::setVisible(bool)' can be marked override [-Wsuggest-override] virtual void setVisible( bool visible ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:383:18: warning: 'virtual void KChart::Legend::forceRebuild()' can be marked override [-Wsuggest-override] virtual void forceRebuild(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:385:19: warning: 'virtual QSize KChart::Legend::minimumSizeHint() const' can be marked override [-Wsuggest-override] virtual QSize minimumSizeHint() const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:386:19: warning: 'virtual QSize KChart::Legend::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:387:18: warning: 'virtual bool KChart::Legend::hasHeightForWidth() const' can be marked override [-Wsuggest-override] virtual bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:388:17: warning: 'virtual int KChart::Legend::heightForWidth(int) const' can be marked override [-Wsuggest-override] virtual int heightForWidth( int width ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:389:18: warning: 'virtual void KChart::Legend::needSizeHint()' can be marked override [-Wsuggest-override] virtual void needSizeHint(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:390:18: warning: 'virtual void KChart::Legend::resizeLayout(const QSize&)' can be marked override [-Wsuggest-override] virtual void resizeLayout( const QSize& size ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:60:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:61:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( KChart::AbstractDiagram* diagram, QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:169:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] KChart::AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:167:11: warning: 'virtual QSize MyWidgetItem::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:173:11: warning: 'virtual QSize MyWidgetItem::minimumSize() const' can be marked override [-Wsuggest-override] QSize minimumSize() const ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:179:11: warning: 'virtual QSize MyWidgetItem::maximumSize() const' can be marked override [-Wsuggest-override] QSize maximumSize() const ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:200:22: warning: 'virtual Qt::Orientations MyWidgetItem::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:210:10: warning: 'virtual void MyWidgetItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry(const QRect &g) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:216:11: warning: 'virtual QRect MyWidgetItem::geometry() const' can be marked override [-Wsuggest-override] QRect geometry() const ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:222:10: warning: 'virtual bool MyWidgetItem::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:230:9: warning: 'virtual int MyWidgetItem::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int width ) const ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:237:10: warning: 'virtual bool MyWidgetItem::isEmpty() const' can be marked override [-Wsuggest-override] bool isEmpty() const { ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:154:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit MyWidgetItem(QWidget *w, Qt::Alignment alignment = 0) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'virtual Qt::Orientations MyWidgetItem::expandingDirections() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:204:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return Qt::Orientations(0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'void KChart::Chart::Private::slotUnregisterDestroyedPlane(KChart::AbstractCoordinatePlane*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:278:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] p->setReferenceCoordinatePlane( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In constructor 'KChart::Chart::Private::Private(KChart::Chart*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , globalLeadingBottom( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:302:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:307:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] innerHdFtLayouts[ i ][ row ][ column ] = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'QHash KChart::Chart::Private::buildPlaneLayoutInfos()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:641:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( p.referencePlane == 0 ) { ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'void KChart::Chart::Private::slotLayoutPlanes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:658:50: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const bool hadPlanesLayout = planesLayout != 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:722:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QHBoxLayout *leftLayout = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:723:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QHBoxLayout *rightLayout = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:724:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QVBoxLayout *topLayout = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:725:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QVBoxLayout *bottomLayout = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:871:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] planeLayout->addItem( plane, row, column, 1, 1, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:883:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( pi.referencePlane != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:892:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( pi.topAxesLayout == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:898:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( pi.bottomAxesLayout == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:904:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( pi.leftAxesLayout == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:910:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( pi.rightAxesLayout == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:917:43: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( pi.referencePlane != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'KChart::AbstractCoordinatePlane* KChart::Chart::coordinatePlane()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1222:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'void KChart::Chart::takeCoordinatePlane(KChart::AbstractCoordinatePlane*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1279:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( plane, 0, d, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1279:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( plane, 0, d, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1280:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( plane, 0, this, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1280:37: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( plane, 0, this, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1282:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] plane->setParent( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'void KChart::Chart::paint(QPainter*, const QRect&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1357:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( dynamic_cast< QWidget* >( painter->device() ) != 0 ) { ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'void KChart::Chart::takeHeaderFooter(KChart::HeaderFooter*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1523:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] headerFooter->setParentLayout( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'KChart::HeaderFooter* KChart::Chart::headerFooter()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1538:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'void KChart::Chart::takeLegend(KChart::Legend*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1684:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( legend, 0, d, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1684:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( legend, 0, d, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1685:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( legend, 0, this, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1685:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] disconnect( legend, 0, this, 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1687:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] legend->setParent( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp: In member function 'KChart::Legend* KChart::Chart::legend()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1695:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return d->legends.isEmpty() ? 0 : d->legends.first(); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 39%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartHeaderFooter.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartHeaderFooter.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:68:10: warning: 'virtual void KChart::TextArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:72:19: warning: 'virtual QRect KChart::TextArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextArea.h:73:18: warning: 'virtual void KChart::TextArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.h:41:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:46:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:47:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( const QString& text, QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp: In member function 'virtual KChart::HeaderFooter* KChart::HeaderFooter::clone() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter.cpp:92:73: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* headerFooter = new HeaderFooter( new Private( *d ), 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 32%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAttributesModel.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartAttributesModel.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.h:50:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Palette( QObject *parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp: In destructor 'virtual KChart::AttributesModel::~AttributesModel()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:86:10: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] _d = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp: In member function 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:518:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( this->sourceModel() != 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 48%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartThreeDLineAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartThreeDLineAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartThreeDLineAttributes.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 50%] Building CXX object src/KChart/CMakeFiles/KChart.dir/ChartGraphicsItem.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/ChartGraphicsItem.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.h:42:13: warning: 'virtual int KChart::ChartGraphicsItem::type() const' can be marked override [-Wsuggest-override] int type() const { return Type; } ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 50%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartTextLabelCache.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartTextLabelCache.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:116:20: warning: 'virtual const QPixmap& PrerenderedLabel::pixmap() const' can be marked override [-Wsuggest-override] const QPixmap& pixmap() const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:117:13: warning: 'virtual QPointF PrerenderedLabel::referencePointLocation(KChartEnums::PositionValue) const' can be marked override [-Wsuggest-override] QPointF referencePointLocation( KChartEnums::PositionValue position ) const; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:122:10: warning: 'virtual void PrerenderedLabel::invalidate() const' can be marked override [-Wsuggest-override] void invalidate() const; ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 52%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartValueTrackerAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartValueTrackerAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartValueTrackerAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartValueTrackerAttributes.cpp: In destructor 'KChart::ValueTrackerAttributes::~ValueTrackerAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartValueTrackerAttributes.cpp:81:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 53%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartModelDataCache_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartModelDataCache_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.cpp: In constructor 'KChart::ModelDataCachePrivate::ModelSignalMapperConnector::ModelSignalMapperConnector(KChart::ModelDataCachePrivate::ModelSignalMapper&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.cpp:28:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_mapper( mapper ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 53%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartPrintingParameters.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartPrintingParameters.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPrintingParameters.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 56%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartCartesianGrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartCartesianGrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:53:14: warning: 'virtual void KChart::CartesianGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:59:28: warning: 'virtual KChart::DataDimensionsList KChart::CartesianGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 45%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartRelativePosition.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartRelativePosition.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp: In constructor 'KChart::RelativePosition::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:53:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] rotation( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp: In member function 'void KChart::RelativePosition::setReferencePoints(const KChart::PositionPoints&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:101:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] setReferenceArea( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp: In member function 'const QPointF KChart::RelativePosition::referencePoint(qreal*) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:154:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] bool useRect = ( d->area != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 40%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartLegend.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartLegend.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:58:18: warning: 'virtual void KChart::AbstractAreaWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] virtual void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:105:19: warning: 'virtual QRect KChart::AbstractAreaWidget::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:106:18: warning: 'virtual void KChart::AbstractAreaWidget::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaWidget.h:49:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAreaWidget( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:81:18: warning: 'virtual void KChart::Legend::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] virtual void resizeEvent( QResizeEvent * event ); // TODO: should be protected ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:83:18: warning: 'virtual void KChart::Legend::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:84:18: warning: 'virtual void KChart::Legend::setVisible(bool)' can be marked override [-Wsuggest-override] virtual void setVisible( bool visible ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:383:18: warning: 'virtual void KChart::Legend::forceRebuild()' can be marked override [-Wsuggest-override] virtual void forceRebuild(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:385:19: warning: 'virtual QSize KChart::Legend::minimumSizeHint() const' can be marked override [-Wsuggest-override] virtual QSize minimumSizeHint() const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:386:19: warning: 'virtual QSize KChart::Legend::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:387:18: warning: 'virtual bool KChart::Legend::hasHeightForWidth() const' can be marked override [-Wsuggest-override] virtual bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:388:17: warning: 'virtual int KChart::Legend::heightForWidth(int) const' can be marked override [-Wsuggest-override] virtual int heightForWidth( int width ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:389:18: warning: 'virtual void KChart::Legend::needSizeHint()' can be marked override [-Wsuggest-override] virtual void needSizeHint(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:390:18: warning: 'virtual void KChart::Legend::resizeLayout(const QSize&)' can be marked override [-Wsuggest-override] virtual void resizeLayout( const QSize& size ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:60:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:61:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( KChart::AbstractDiagram* diagram, QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:169:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] KChart::AbstractDiagram* oldDiagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend_p.h: In member function 'KChart::DiagramObserver* KChart::Legend::Private::findObserverForDiagram(KChart::AbstractDiagram*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend_p.h:89:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.h:50:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Palette( QObject *parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:46:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KTextDocument.h:47:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( const QString& text, QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp: In constructor 'KChart::Legend::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:56:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] legendStyle( MarkersOnly ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp: In member function 'virtual KChart::Legend* KChart::Legend::clone() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:197:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Legend* legend = new Legend( new Private( *d ), 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp: In member function 'KChart::AbstractDiagram* KChart::Legend::diagram() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:291:16: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp: In constructor 'KChart::HDatasetItem::HDatasetItem()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:886:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] spacer(0) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:886:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:886:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:886:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp: In member function 'void KChart::Legend::Private::flowHDatasetItems(KChart::Legend*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:1149:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] hdsItem->spacer = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.cpp:1153:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] hdsItem->separatorLine = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 47%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartTextAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChartTextAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:53:14: warning: 'virtual void KChart::CartesianGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:59:28: warning: 'virtual KChart::DataDimensionsList KChart::CartesianGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:54:18: warning: 'virtual void KChart::CartesianCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:67:18: warning: 'virtual bool KChart::CartesianCoordinatePlane::Private::isVisiblePoint(const KChart::AbstractCoordinatePlane*, const QPointF&) const' can be marked override [-Wsuggest-override] virtual bool isVisiblePoint( const AbstractCoordinatePlane * plane, const QPointF& point ) const ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h: In member function 'virtual bool KChart::CartesianCoordinatePlane::Private::isVisiblePoint(const KChart::AbstractCoordinatePlane*, const QPointF&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:75:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( ref != 0 && ref != cartPlane ) { ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp: In destructor 'KChart::TextAttributes::~TextAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextAttributes.cpp:92:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 54%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartAbstractCartesianDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartAbstractCartesianDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp: In constructor 'KChart::AbstractCartesianDiagram::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:29:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : referenceDiagram( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp: In member function 'virtual void KChart::AbstractCartesianDiagram::takeAxis(KChart::CartesianAxis*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:96:28: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] axis->setParentWidget( 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 59%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartBarAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartBarAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarAttributes.cpp: In destructor 'KChart::BarAttributes::~BarAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarAttributes.cpp:86:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 60%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartStockBarAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartStockBarAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockBarAttributes.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 56%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartCartesianAxis.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartCartesianAxis.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:32: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:38: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:39: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:98:17: warning: 'virtual int KChart::StockDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfAbscissaSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:99:17: warning: 'virtual int KChart::StockDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfOrdinateSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:102:18: warning: 'virtual void KChart::StockDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext *paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:104:18: warning: 'virtual void KChart::StockDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF &size ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:106:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:107:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex &index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:110:43: warning: 'virtual const QPair KChart::StockDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:83: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:40: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp: In constructor 'KChart::TickIterator::TickIterator(bool, const KChart::DataDimension&, bool, bool, bool, KChart::CartesianCoordinatePlane*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:174:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_customTick( std::numeric_limits< qreal >::infinity() ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp: In function 'bool referenceDiagramIsBarDiagram(const KChart::AbstractDiagram*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:512:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] return qobject_cast< const BarDiagram* >( dia ) != 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp: In member function 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:920:17: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] tickLabel = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.cpp:922:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] prevTickLabel = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 51%] Building CXX object src/KChart/CMakeFiles/KChart.dir/ReverseMapper.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/ReverseMapper.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.h:42:13: warning: 'virtual int KChart::ChartGraphicsItem::type() const' can be marked override [-Wsuggest-override] int type() const { return Type; } ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp: In constructor 'KChart::ReverseMapper::ReverseMapper()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:37:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , m_diagram( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:37:20: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp: In constructor 'KChart::ReverseMapper::ReverseMapper(KChart::AbstractDiagram*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:43:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , m_diagram( diagram ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp: In destructor 'KChart::ReverseMapper::~ReverseMapper()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:49:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete m_scene; m_scene = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 59%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartThreeDBarAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartThreeDBarAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartThreeDBarAttributes.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 63%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLineDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLineDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 62%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLineDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLineDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartPalette.h:50:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Palette( QObject *parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:42:39: warning: 'virtual KChart::LineDiagram::LineType KChart::NormalLineDiagram::type() const' can be marked override [-Wsuggest-override] virtual LineDiagram::LineType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:43:48: warning: 'virtual const QPair KChart::NormalLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:44:22: warning: 'virtual void KChart::NormalLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:32:39: warning: 'virtual KChart::LineDiagram::LineType KChart::StackedLineDiagram::type() const' can be marked override [-Wsuggest-override] virtual LineDiagram::LineType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:33:48: warning: 'virtual const QPair KChart::StackedLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:34:22: warning: 'virtual void KChart::StackedLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:32:39: warning: 'virtual KChart::LineDiagram::LineType KChart::PercentLineDiagram::type() const' can be marked override [-Wsuggest-override] virtual LineDiagram::LineType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:33:48: warning: 'virtual const QPair KChart::PercentLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:34:22: warning: 'virtual void KChart::PercentLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 62%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartStockDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartStockDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:98:17: warning: 'virtual int KChart::StockDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfAbscissaSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:99:17: warning: 'virtual int KChart::StockDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfOrdinateSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:102:18: warning: 'virtual void KChart::StockDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext *paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:104:18: warning: 'virtual void KChart::StockDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF &size ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:106:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:107:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex &index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:110:43: warning: 'virtual const QPair KChart::StockDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:83: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp: In member function 'void KChart::StockDiagram::Private::drawOHLCBar(int, const KChart::CartesianDiagramDataCompressor::DataPoint&, const KChart::CartesianDiagramDataCompressor::DataPoint&, const KChart::CartesianDiagramDataCompressor::DataPoint&, const KChart::CartesianDiagramDataCompressor::DataPoint&, KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:314:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( open.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:318:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( high.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:322:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( low.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:326:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( close.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp: In member function 'void KChart::StockDiagram::Private::drawCandlestick(int, const KChart::CartesianDiagramDataCompressor::DataPoint&, const KChart::CartesianDiagramDataCompressor::DataPoint&, const KChart::CartesianDiagramDataCompressor::DataPoint&, const KChart::CartesianDiagramDataCompressor::DataPoint&, KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:438:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( low.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:445:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( open.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:447:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( close.index ), 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:451:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] addLabel( &lpc, diagram->attributesModel()->mapToSource( high.index ), 0, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 65%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartPlotter_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartPlotter_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:41, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 64%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp: In member function 'void KChart::CartesianDiagramDataCompressor::setModel(QAbstractItemModel*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:302:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model != 0 ) { ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:327:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:332:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( model != 0 ) { ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'KChart::ModelDataCache::ModelDataCache() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:38:29: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:99:34: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_connector( *this ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::setModel(QAbstractItemModel*) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:330:34: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:158:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model != 0 ) ~~~~~~~~^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:163:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model != 0 ) ~~~~~~~~^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:166:13: required from 'void KChart::ModelDataCache::setModel(QAbstractItemModel*) [with T = double; int ROLE = 0]' /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:330:34: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qpair.h:43, from /usr/include/qt5/QtCore/QPair:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:118:67: required from 'T KChart::ModelDataCache::data(const QModelIndex&) const [with T = double; int ROLE = 0]' /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:493:52: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:130:67: required from 'T KChart::ModelDataCache::data(const QModelIndex&) const [with T = double; int ROLE = 0]' /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:493:52: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'T KChart::ModelDataCache::fetchFromModel(int, int, int) const [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:153:20: required from 'T KChart::ModelDataCache::data(int, int) const [with T = double; int ROLE = 0]' /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:136:54: required from 'T KChart::ModelDataCache::data(const QModelIndex&) const [with T = double; int ROLE = 0]' /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:493:52: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:194:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qpair.h:43, from /usr/include/qt5/QtCore/QPair:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 55%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartCartesianCoordinatePlane.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartCartesianCoordinatePlane.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:53:14: warning: 'virtual void KChart::CartesianGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:59:28: warning: 'virtual KChart::DataDimensionsList KChart::CartesianGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:54:18: warning: 'virtual void KChart::CartesianCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:67:18: warning: 'virtual bool KChart::CartesianCoordinatePlane::Private::isVisiblePoint(const KChart::AbstractCoordinatePlane*, const QPointF&) const' can be marked override [-Wsuggest-override] virtual bool isVisiblePoint( const AbstractCoordinatePlane * plane, const QPointF& point ) const ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h: In member function 'virtual bool KChart::CartesianCoordinatePlane::Private::isVisiblePoint(const KChart::AbstractCoordinatePlane*, const QPointF&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:75:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( ref != 0 && ref != cartPlane ) { ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:98:17: warning: 'virtual int KChart::StockDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfAbscissaSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:99:17: warning: 'virtual int KChart::StockDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfOrdinateSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:102:18: warning: 'virtual void KChart::StockDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext *paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:104:18: warning: 'virtual void KChart::StockDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF &size ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:106:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:107:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex &index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:110:43: warning: 'virtual const QPair KChart::StockDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:83: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp: In member function 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:270:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] qobject_cast< const AbstractCartesianDiagram* >( diagrams().first() ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:281:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const Qt::Orientation diagramOrientation = barDiagram != 0 ? barDiagram->orientation() : Qt::Vertical; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp: In member function 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:780:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const CartesianAxis* sharedAxis = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:781:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( diag != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:788:23: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( p != 0 && p != this ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:796:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( plane == this || painter == 0 ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 65%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartPlotter.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartPlotter.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:41, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:43:35: warning: 'virtual KChart::Plotter::PlotType KChart::NormalPlotter::type() const' can be marked override [-Wsuggest-override] virtual Plotter::PlotType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:44:50: warning: 'virtual const QPair KChart::NormalPlotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:45:22: warning: 'virtual void KChart::NormalPlotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:32:35: warning: 'virtual KChart::Plotter::PlotType KChart::PercentPlotter::type() const' can be marked override [-Wsuggest-override] virtual Plotter::PlotType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:33:50: warning: 'virtual const QPair KChart::PercentPlotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:34:22: warning: 'virtual void KChart::PercentPlotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:40:35: warning: 'virtual KChart::Plotter::PlotType KChart::StackedPlotter::type() const' can be marked override [-Wsuggest-override] virtual Plotter::PlotType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:41:50: warning: 'virtual const QPair KChart::StackedPlotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:42:22: warning: 'virtual void KChart::StackedPlotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp: In constructor 'KChart::Plotter::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:37:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , stackedPlotter( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:37:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:37:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:37:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp: In member function 'bool KChart::Plotter::compare(const KChart::Plotter*) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:93:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( other == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp: In member function 'void KChart::Plotter::connectAttributesModel(KChart::AttributesModel*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:109:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->plotterCompressor.setModel( 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:114:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->compressor.setModel( 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 58%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 67%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:50:14: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:53:14: warning: 'virtual void KChart::CartesianGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:59:28: warning: 'virtual KChart::DataDimensionsList KChart::CartesianGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:45:14: warning: 'virtual void KChart::LeveyJenningsGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:48:28: warning: 'virtual KChart::DataDimensionsList KChart::LeveyJenningsGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( const DataDimensionsList& rawDataDimensions ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:49:23: warning: 'virtual KChart::DataDimension KChart::LeveyJenningsGrid::calculateGridXY(const KChart::DataDimension&, Qt::Orientation, bool, bool) const' can be marked override [-Wsuggest-override] DataDimension calculateGridXY( const DataDimension& rawDataDimension, ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:51:14: warning: 'virtual void KChart::LeveyJenningsGrid::calculateStepWidth(qreal, qreal, const QList&, Qt::Orientation, qreal&, qreal&, bool, bool) const' can be marked override [-Wsuggest-override] void calculateStepWidth( qreal start_, qreal end_, const QList& granularities, Qt::Orientation orientation, ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:54:18: warning: 'virtual void KChart::CartesianCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:67:18: warning: 'virtual bool KChart::CartesianCoordinatePlane::Private::isVisiblePoint(const KChart::AbstractCoordinatePlane*, const QPointF&) const' can be marked override [-Wsuggest-override] virtual bool isVisiblePoint( const AbstractCoordinatePlane * plane, const QPointF& point ) const ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h: In member function 'virtual bool KChart::CartesianCoordinatePlane::Private::isVisiblePoint(const KChart::AbstractCoordinatePlane*, const QPointF&) const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane_p.h:75:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( ref != 0 && ref != cartPlane ) { ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane_p.h:60:22: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:55:27: warning: 'virtual KChart::LineDiagram* KChart::LeveyJenningsDiagram::clone() const' can be marked override [-Wsuggest-override] virtual LineDiagram * clone() const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:102:10: warning: 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:108:10: warning: 'virtual void KChart::LeveyJenningsDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:121:35: warning: 'virtual const QPair KChart::LeveyJenningsDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 57%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartBarDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartBarDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:32: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:42:37: warning: 'virtual KChart::BarDiagram::BarType KChart::NormalBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:43:48: warning: 'virtual const QPair KChart::NormalBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:44:22: warning: 'virtual void KChart::NormalBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:32:37: warning: 'virtual KChart::BarDiagram::BarType KChart::StackedBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:33:48: warning: 'virtual const QPair KChart::StackedBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:34:22: warning: 'virtual void KChart::StackedBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:33:37: warning: 'virtual KChart::BarDiagram::BarType KChart::PercentBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:34:48: warning: 'virtual const QPair KChart::PercentBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:35:22: warning: 'virtual void KChart::PercentBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:35: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:42:37: warning: 'virtual KChart::BarDiagram::BarType KChart::NormalLyingBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:43:48: warning: 'virtual const QPair KChart::NormalLyingBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:44:22: warning: 'virtual void KChart::NormalLyingBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:32:37: warning: 'virtual KChart::BarDiagram::BarType KChart::StackedLyingBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:33:48: warning: 'virtual const QPair KChart::StackedLyingBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:34:22: warning: 'virtual void KChart::StackedLyingBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:37: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:32:37: warning: 'virtual KChart::BarDiagram::BarType KChart::PercentLyingBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:33:48: warning: 'virtual const QPair KChart::PercentLyingBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:34:22: warning: 'virtual void KChart::PercentLyingBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp: In constructor 'KChart::BarDiagram::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , percentLyingDiagram( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:51:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 61%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartStockDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartStockDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:98:17: warning: 'virtual int KChart::StockDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfAbscissaSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:99:17: warning: 'virtual int KChart::StockDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfOrdinateSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:102:18: warning: 'virtual void KChart::StockDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext *paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:104:18: warning: 'virtual void KChart::StockDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF &size ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:106:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:107:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex &index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:110:43: warning: 'virtual const QPair KChart::StockDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:46:83: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp: In member function 'virtual void KChart::StockDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:324:29: warning: this statement may fall through [-Wimplicit-fallthrough=] open.hidden = true; ~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram.cpp:326:13: note: here case OpenHighLowClose: ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 66%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartPlotterDiagramCompressor.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartPlotterDiagramCompressor.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp: In member function 'bool KChart::PlotterDiagramCompressor::Iterator::isValid() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp:91:22: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_parent == 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp: In constructor 'KChart::PlotterDiagramCompressor::Private::Private(KChart::PlotterDiagramCompressor*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp:419:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , m_mode( PlotterDiagramCompressor::SLOPE ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp: In member function 'void KChart::PlotterDiagramCompressor::Private::setModelToZero()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp:426:15: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp: In destructor 'virtual KChart::PlotterDiagramCompressor::~PlotterDiagramCompressor()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.cpp:794:9: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 69%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsGrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsGrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:53:14: warning: 'virtual void KChart::CartesianGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianGrid.h:59:28: warning: 'virtual KChart::DataDimensionsList KChart::CartesianGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:45:14: warning: 'virtual void KChart::LeveyJenningsGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:48:28: warning: 'virtual KChart::DataDimensionsList KChart::LeveyJenningsGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( const DataDimensionsList& rawDataDimensions ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:49:23: warning: 'virtual KChart::DataDimension KChart::LeveyJenningsGrid::calculateGridXY(const KChart::DataDimension&, Qt::Orientation, bool, bool) const' can be marked override [-Wsuggest-override] DataDimension calculateGridXY( const DataDimension& rawDataDimension, ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.h:51:14: warning: 'virtual void KChart::LeveyJenningsGrid::calculateStepWidth(qreal, qreal, const QList&, Qt::Orientation, qreal&, qreal&, bool, bool) const' can be marked override [-Wsuggest-override] void calculateStepWidth( qreal start_, qreal end_, const QList& granularities, Qt::Orientation orientation, ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:50:14: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGrid.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:55:27: warning: 'virtual KChart::LineDiagram* KChart::LeveyJenningsDiagram::clone() const' can be marked override [-Wsuggest-override] virtual LineDiagram * clone() const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:102:10: warning: 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:108:10: warning: 'virtual void KChart::LeveyJenningsDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:121:35: warning: 'virtual const QPair KChart::LeveyJenningsDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 70%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsGridAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsGridAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGridAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGridAttributes.cpp: In destructor 'KChart::LeveyJenningsGridAttributes::~LeveyJenningsGridAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsGridAttributes.cpp:81:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 68%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:50:14: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:55:27: warning: 'virtual KChart::LineDiagram* KChart::LeveyJenningsDiagram::clone() const' can be marked override [-Wsuggest-override] virtual LineDiagram * clone() const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:102:10: warning: 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:108:10: warning: 'virtual void KChart::LeveyJenningsDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:121:35: warning: 'virtual const QPair KChart::LeveyJenningsDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp: In member function 'void KChart::LeveyJenningsDiagram::Private::setYAxisRange() const': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:44:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( plane == 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 71%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/PaintingHelpers_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/PaintingHelpers_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/PaintingHelpers_p.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 74%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:32:37: warning: 'virtual KChart::BarDiagram::BarType KChart::StackedLyingBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:33:48: warning: 'virtual const QPair KChart::StackedLyingBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:34:22: warning: 'virtual void KChart::StackedLyingBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp: In member function 'virtual void KChart::StackedLyingBarDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:194:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, index, 0, PositionPoints( rect ), Position::North, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QModelIndex:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QModelIndex:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 72%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:41, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:43:35: warning: 'virtual KChart::Plotter::PlotType KChart::NormalPlotter::type() const' can be marked override [-Wsuggest-override] virtual Plotter::PlotType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:44:50: warning: 'virtual const QPair KChart::NormalPlotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:45:22: warning: 'virtual void KChart::NormalPlotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp: In member function 'virtual void KChart::NormalPlotter::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:96:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, pts, Position::NorthWest, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:164:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, pts, Position::NorthWest, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 73%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:41, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:40:35: warning: 'virtual KChart::Plotter::PlotType KChart::StackedPlotter::type() const' can be marked override [-Wsuggest-override] virtual Plotter::PlotType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:41:50: warning: 'virtual const QPair KChart::StackedPlotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:42:22: warning: 'virtual void KChart::StackedPlotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.h:31, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 76%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:32:37: warning: 'virtual KChart::BarDiagram::BarType KChart::StackedBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:33:48: warning: 'virtual const QPair KChart::StackedBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:34:22: warning: 'virtual void KChart::StackedBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp: In member function 'virtual void KChart::StackedBarDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:204:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, index, 0, PositionPoints( rect ), Position::North, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QModelIndex:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QModelIndex:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 78%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:32:39: warning: 'virtual KChart::LineDiagram::LineType KChart::PercentLineDiagram::type() const' can be marked override [-Wsuggest-override] virtual LineDiagram::LineType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:33:48: warning: 'virtual const QPair KChart::PercentLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:34:22: warning: 'virtual void KChart::PercentLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 77%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:32:37: warning: 'virtual KChart::BarDiagram::BarType KChart::PercentLyingBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:33:48: warning: 'virtual const QPair KChart::PercentLyingBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:34:22: warning: 'virtual void KChart::PercentLyingBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp: In member function 'virtual void KChart::PercentLyingBarDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:207:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, PositionPoints( rect ), Position::North, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 79%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:42:37: warning: 'virtual KChart::BarDiagram::BarType KChart::NormalBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:43:48: warning: 'virtual const QPair KChart::NormalBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:44:22: warning: 'virtual void KChart::NormalBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp: In member function 'virtual void KChart::NormalBarDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:189:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, PositionPoints( rect ), Position::North, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 79%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:42:37: warning: 'virtual KChart::BarDiagram::BarType KChart::NormalLyingBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:43:48: warning: 'virtual const QPair KChart::NormalLyingBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:44:22: warning: 'virtual void KChart::NormalLyingBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp: In member function 'virtual void KChart::NormalLyingBarDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:174:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, PositionPoints( rect ), Position::North, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 80%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:42:39: warning: 'virtual KChart::LineDiagram::LineType KChart::NormalLineDiagram::type() const' can be marked override [-Wsuggest-override] virtual LineDiagram::LineType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:43:48: warning: 'virtual const QPair KChart::NormalLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:44:22: warning: 'virtual void KChart::NormalLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QAbstractItemModel:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.h:33, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QAbstractItemModel:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp:22: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 71%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsAxis.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsAxis.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:74:14: warning: 'virtual void KChart::LeveyJenningsAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.h:59:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsAxis ( LeveyJenningsDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:50:14: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:55:27: warning: 'virtual KChart::LineDiagram* KChart::LeveyJenningsDiagram::clone() const' can be marked override [-Wsuggest-override] virtual LineDiagram * clone() const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:102:10: warning: 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:108:10: warning: 'virtual void KChart::LeveyJenningsDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:121:35: warning: 'virtual const QPair KChart::LeveyJenningsDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsAxis.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 68%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:50:14: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:55:27: warning: 'virtual KChart::LineDiagram* KChart::LeveyJenningsDiagram::clone() const' can be marked override [-Wsuggest-override] virtual LineDiagram * clone() const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:102:10: warning: 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:108:10: warning: 'virtual void KChart::LeveyJenningsDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:121:35: warning: 'virtual const QPair KChart::LeveyJenningsDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp: In member function 'void KChart::LeveyJenningsDiagram::setSymbol(KChart::LeveyJenningsDiagram::Symbol, const QString&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:236:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->iconRenderer[ symbol ] = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp: In member function 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:311:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( this->model() != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:329:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( this->model() != 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp: In member function 'QSvgRenderer* KChart::LeveyJenningsDiagram::iconRenderer(KChart::LeveyJenningsDiagram::Symbol)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:728:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( d->iconRenderer[ symbol ] == 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 81%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartPolarCoordinatePlane.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartPolarCoordinatePlane.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:47:22: warning: 'virtual void KChart::PolarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:103:18: warning: 'virtual void KChart::PolarCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h: In constructor 'KChart::PolarCoordinatePlane::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:98:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , hasOwnGridAttributesSagittal ( false ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp: In member function 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:104:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->currentTransformation = 0; // not painting anymore until we get called again ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.cpp:127:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->currentTransformation = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 83%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartAbstractPolarDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartAbstractPolarDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:63:19: warning: 'virtual qreal KChart::AbstractPolarDiagram::Private::calcPercentValue(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal calcPercentValue( const QModelIndex & index ) const ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 75%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:32:39: warning: 'virtual KChart::LineDiagram::LineType KChart::StackedLineDiagram::type() const' can be marked override [-Wsuggest-override] virtual LineDiagram::LineType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:33:48: warning: 'virtual const QPair KChart::StackedLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:34:22: warning: 'virtual void KChart::StackedLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLineDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 82%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartRadarCoordinatePlane.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartRadarCoordinatePlane.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:41:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit RadarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:47:22: warning: 'virtual void KChart::PolarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:103:18: warning: 'virtual void KChart::PolarCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h: In constructor 'KChart::PolarCoordinatePlane::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:98:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , hasOwnGridAttributesSagittal ( false ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:47:22: warning: 'virtual void KChart::RadarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::RadarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane_p.h:50:18: warning: 'virtual void KChart::RadarCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 76%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:33:37: warning: 'virtual KChart::BarDiagram::BarType KChart::PercentBarDiagram::type() const' can be marked override [-Wsuggest-override] virtual BarDiagram::BarType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:34:48: warning: 'virtual const QPair KChart::PercentBarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:35:22: warning: 'virtual void KChart::PercentBarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp: In member function 'virtual void KChart::PercentBarDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:194:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, PositionPoints( rect ), Position::North, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 73%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:41, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:32:35: warning: 'virtual KChart::Plotter::PlotType KChart::PercentPlotter::type() const' can be marked override [-Wsuggest-override] virtual Plotter::PlotType type() const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:33:50: warning: 'virtual const QPair KChart::PercentPlotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:34:22: warning: 'virtual void KChart::PercentPlotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* ctx ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp: In member function 'virtual void KChart::PercentPlotter::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:245:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_private->addLabel( &lpc, sourceIndex, 0, pts, Position::NorthWest, ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 85%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartRadarGrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartRadarGrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:47:22: warning: 'virtual void KChart::RadarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::RadarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:41:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit RadarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:53:18: warning: 'virtual void KChart::RadarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:56:19: warning: 'virtual qreal KChart::RadarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:58:19: warning: 'virtual qreal KChart::RadarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:60:19: warning: 'virtual qreal KChart::RadarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:89:43: warning: 'virtual const QPair KChart::RadarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:90:10: warning: 'virtual void KChart::RadarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:91:10: warning: 'virtual void KChart::RadarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:92:18: warning: 'virtual void KChart::RadarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:46:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, RadarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:46:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, RadarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarGrid.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:47:18: warning: 'virtual void KChart::PieDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:73:18: warning: 'virtual void KChart::PieDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:77:19: warning: 'virtual qreal KChart::PieDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:79:19: warning: 'virtual qreal KChart::PieDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:81:19: warning: 'virtual qreal KChart::PieDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:87:43: warning: 'virtual const QPair KChart::PieDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:88:10: warning: 'virtual void KChart::PieDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:89:10: warning: 'virtual void KChart::PieDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 82%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartAbstractPieDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartAbstractPieDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:63:19: warning: 'virtual qreal KChart::AbstractPolarDiagram::Private::calcPercentValue(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal calcPercentValue( const QModelIndex & index ) const ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 88%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartPieAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartPieAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieAttributes.cpp /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieAttributes.cpp: In destructor 'KChart::PieAttributes::~PieAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieAttributes.cpp:63:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 84%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartPolarGrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartPolarGrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:47:22: warning: 'virtual void KChart::PolarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:47:18: warning: 'virtual void KChart::PieDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:73:18: warning: 'virtual void KChart::PieDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:77:19: warning: 'virtual qreal KChart::PieDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:79:19: warning: 'virtual qreal KChart::PieDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:81:19: warning: 'virtual qreal KChart::PieDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:87:43: warning: 'virtual const QPair KChart::PieDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:88:10: warning: 'virtual void KChart::PieDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:89:10: warning: 'virtual void KChart::PieDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 86%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartPolarDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartPolarDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:63:19: warning: 'virtual qreal KChart::AbstractPolarDiagram::Private::calcPercentValue(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal calcPercentValue( const QModelIndex & index ) const ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp: In member function 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*, bool, qreal&, qreal&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.cpp:166:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->addLabel( &d->labelPaintCache, index, 0, PositionPoints( point ), ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 89%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartThreeDPieAttributes.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartThreeDPieAttributes.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartThreeDPieAttributes.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 92%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/TernaryConstants.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/TernaryConstants.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/TernaryConstants.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 85%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartPieDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartPieDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:47:18: warning: 'virtual void KChart::PieDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:73:18: warning: 'virtual void KChart::PieDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:77:19: warning: 'virtual qreal KChart::PieDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:79:19: warning: 'virtual qreal KChart::PieDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:81:19: warning: 'virtual qreal KChart::PieDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:87:43: warning: 'virtual const QPair KChart::PieDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:88:10: warning: 'virtual void KChart::PieDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:89:10: warning: 'virtual void KChart::PieDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:63:19: warning: 'virtual qreal KChart::AbstractPolarDiagram::Private::calcPercentValue(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal calcPercentValue( const QModelIndex & index ) const ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:47:22: warning: 'virtual void KChart::PolarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:103:18: warning: 'virtual void KChart::PolarCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h: In constructor 'KChart::PolarCoordinatePlane::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:98:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , hasOwnGridAttributesSagittal ( false ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp: In member function 'void KChart::PieDiagram::addSliceLabel(KChart::LabelPaintCache*, const QRectF&, uint)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieDiagram.cpp:685:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->addLabel( lpc, index, 0, points, Position::Center, Position::Center, ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 91%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/TernaryPoint.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/TernaryPoint.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/TernaryPoint.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 88%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartRingDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartRingDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:45:18: warning: 'virtual void KChart::RingDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:48:18: warning: 'virtual void KChart::RingDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:52:19: warning: 'virtual qreal KChart::RingDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:54:19: warning: 'virtual qreal KChart::RingDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:55:19: warning: 'virtual qreal KChart::RingDiagram::numberOfDatasets() const' can be marked override [-Wsuggest-override] virtual qreal numberOfDatasets() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:57:19: warning: 'virtual qreal KChart::RingDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:76:43: warning: 'virtual const QPair KChart::RingDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:77:10: warning: 'virtual void KChart::RingDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:78:10: warning: 'virtual void KChart::RingDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:39:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.h:39:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:63:19: warning: 'virtual qreal KChart::AbstractPolarDiagram::Private::calcPercentValue(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal calcPercentValue( const QModelIndex & index ) const ^~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:47:22: warning: 'virtual void KChart::PolarGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarGrid.h:50:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] virtual DataDimensionsList calculateGrid( ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRingDiagram.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:103:18: warning: 'virtual void KChart::PolarCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h: In constructor 'KChart::PolarCoordinatePlane::Private::Private()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane_p.h:98:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , hasOwnGridAttributesSagittal ( false ) ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 96%] Building CXX object src/KChart/CMakeFiles/KChart.dir/qrc_KChart_LeveyJennings_resources.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/qrc_KChart_LeveyJennings_resources.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/qrc_KChart_LeveyJennings_resources.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 87%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartRadarDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Polar/KChartRadarDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarCoordinatePlane.h:41:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit RadarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:53:18: warning: 'virtual void KChart::RadarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:56:19: warning: 'virtual qreal KChart::RadarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:58:19: warning: 'virtual qreal KChart::RadarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:60:19: warning: 'virtual qreal KChart::RadarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:89:43: warning: 'virtual const QPair KChart::RadarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:90:10: warning: 'virtual void KChart::RadarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:91:10: warning: 'virtual void KChart::RadarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:92:18: warning: 'virtual void KChart::RadarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:46:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, RadarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.h:46:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, RadarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPolarDiagram_p.h:63:19: warning: 'virtual qreal KChart::AbstractPolarDiagram::Private::calcPercentValue(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal calcPercentValue( const QModelIndex & index ) const ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp: In member function 'virtual void KChart::RadarDiagram::paint(KChart::PaintContext*, bool, qreal&, qreal&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartRadarDiagram.cpp:208:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->addLabel( &d->labelPaintCache, index, 0, PositionPoints( point ), ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 90%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartTernaryAxis.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/KChartTernaryAxis.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:48:23: warning: 'virtual void KChart::TernaryAxis::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter &); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:49:23: warning: 'virtual void KChart::TernaryAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint (QPainter *); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:50:23: warning: 'virtual void KChart::TernaryAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx (PaintContext *); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:52:24: warning: 'virtual QRect KChart::TernaryAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:53:23: warning: 'virtual void KChart::TernaryAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry (const QRect &rect); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:55:23: warning: 'virtual bool KChart::TernaryAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty () const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:56:24: warning: 'virtual QSize KChart::TernaryAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:57:24: warning: 'virtual QSize KChart::TernaryAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:58:24: warning: 'virtual QSize KChart::TernaryAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:59:35: warning: 'virtual Qt::Orientations KChart::TernaryAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections () const ; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:45:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryAxis ( AbstractTernaryDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:46:22: warning: 'virtual void KChart::AbstractTernaryDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:53:50: warning: 'virtual const QPair KChart::AbstractTernaryDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const = 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:42:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractTernaryDiagram ( QWidget* parent = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:43:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:116:20: warning: 'virtual const QPixmap& PrerenderedLabel::pixmap() const' can be marked override [-Wsuggest-override] const QPixmap& pixmap() const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:117:13: warning: 'virtual QPointF PrerenderedLabel::referencePointLocation(KChartEnums::PositionValue) const' can be marked override [-Wsuggest-override] QPointF referencePointLocation( KChartEnums::PositionValue position ) const; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:122:10: warning: 'virtual void PrerenderedLabel::invalidate() const' can be marked override [-Wsuggest-override] void invalidate() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp: In destructor 'virtual KChart::TernaryAxis::~TernaryAxis()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:55:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete m_label; m_label = 0; ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.cpp:56:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete m_fifty; m_fifty = 0; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 91%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartTernaryGrid.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/KChartTernaryGrid.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:116:20: warning: 'virtual const QPixmap& PrerenderedLabel::pixmap() const' can be marked override [-Wsuggest-override] const QPixmap& pixmap() const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:117:13: warning: 'virtual QPointF PrerenderedLabel::referencePointLocation(KChartEnums::PositionValue) const' can be marked override [-Wsuggest-override] QPointF referencePointLocation( KChartEnums::PositionValue position ) const; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:122:10: warning: 'virtual void PrerenderedLabel::invalidate() const' can be marked override [-Wsuggest-override] void invalidate() const; ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:48:14: warning: 'virtual void KChart::TernaryGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:49:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( const DataDimensionsList& rawDataDimensions ) const; ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 93%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartTernaryCoordinatePlane.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/KChartTernaryCoordinatePlane.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:116:20: warning: 'virtual const QPixmap& PrerenderedLabel::pixmap() const' can be marked override [-Wsuggest-override] const QPixmap& pixmap() const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:117:13: warning: 'virtual QPointF PrerenderedLabel::referencePointLocation(KChartEnums::PositionValue) const' can be marked override [-Wsuggest-override] QPointF referencePointLocation( KChartEnums::PositionValue position ) const; ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartTextLabelCache.h:122:10: warning: 'virtual void PrerenderedLabel::invalidate() const' can be marked override [-Wsuggest-override] void invalidate() const; ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:48:14: warning: 'virtual void KChart::TernaryGrid::drawGrid(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void drawGrid( PaintContext* context ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.h:49:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryGrid::calculateGrid(const DataDimensionsList&) const' can be marked override [-Wsuggest-override] DataDimensionsList calculateGrid( const DataDimensionsList& rawDataDimensions ) const; ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h: In constructor 'KChart::AbstractArea::AbstractArea(KChart::AbstractArea::Private*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea_p.h:59:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane_p.h:60:22: warning: 'virtual void KChart::TernaryCoordinatePlane::Private::initialize()' can be marked override [-Wsuggest-override] virtual void initialize() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:48:23: warning: 'virtual void KChart::TernaryAxis::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter &); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:49:23: warning: 'virtual void KChart::TernaryAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint (QPainter *); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:50:23: warning: 'virtual void KChart::TernaryAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx (PaintContext *); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:52:24: warning: 'virtual QRect KChart::TernaryAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:53:23: warning: 'virtual void KChart::TernaryAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry (const QRect &rect); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:55:23: warning: 'virtual bool KChart::TernaryAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty () const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:56:24: warning: 'virtual QSize KChart::TernaryAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:57:24: warning: 'virtual QSize KChart::TernaryAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:58:24: warning: 'virtual QSize KChart::TernaryAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:59:35: warning: 'virtual Qt::Orientations KChart::TernaryAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections () const ; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:45:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryAxis ( AbstractTernaryDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:46:22: warning: 'virtual void KChart::AbstractTernaryDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:53:50: warning: 'virtual const QPair KChart::AbstractTernaryDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const = 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:42:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractTernaryDiagram ( QWidget* parent = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:43:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] TernaryCoordinatePlane* plane = 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 97%] Building CXX object src/KChart/CMakeFiles/KChart.dir/ECMQmLoader-kchart_qt.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/ECMQmLoader-kchart_qt.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/ECMQmLoader-kchart_qt.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 94%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartTernaryPointDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/KChartTernaryPointDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:48:23: warning: 'virtual void KChart::TernaryAxis::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter &); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:49:23: warning: 'virtual void KChart::TernaryAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint (QPainter *); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:50:23: warning: 'virtual void KChart::TernaryAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx (PaintContext *); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:52:24: warning: 'virtual QRect KChart::TernaryAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:53:23: warning: 'virtual void KChart::TernaryAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry (const QRect &rect); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:55:23: warning: 'virtual bool KChart::TernaryAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty () const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:56:24: warning: 'virtual QSize KChart::TernaryAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:57:24: warning: 'virtual QSize KChart::TernaryAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:58:24: warning: 'virtual QSize KChart::TernaryAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:59:35: warning: 'virtual Qt::Orientations KChart::TernaryAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections () const ; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:45:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryAxis ( AbstractTernaryDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:46:22: warning: 'virtual void KChart::AbstractTernaryDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:53:50: warning: 'virtual const QPair KChart::AbstractTernaryDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const = 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:42:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractTernaryDiagram ( QWidget* parent = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:43:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:41:22: warning: 'virtual void KChart::TernaryPointDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize (const QSizeF &area); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:42:22: warning: 'virtual void KChart::TernaryPointDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:45:50: warning: 'virtual const QPair KChart::TernaryPointDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:38:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryPointDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.h:38:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryPointDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:44, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.h:42:13: warning: 'virtual int KChart::ChartGraphicsItem::type() const' can be marked override [-Wsuggest-override] int type() const { return Type; } ^~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h: In copy constructor 'KChart::AbstractTernaryDiagram::Private::Private(const KChart::AbstractTernaryDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:63:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp: In member function 'virtual void KChart::TernaryPointDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryPointDiagram.cpp:70:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( model() == 0 ) return; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 97%] Building CXX object src/KChart/CMakeFiles/KChart.dir/moc_KChartEnums.cxx.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/moc_KChartEnums.cxx.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartEnums.cxx make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 94%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartAbstractTernaryDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/KChartAbstractTernaryDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:48:23: warning: 'virtual void KChart::TernaryAxis::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter &); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:49:23: warning: 'virtual void KChart::TernaryAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint (QPainter *); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:50:23: warning: 'virtual void KChart::TernaryAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx (PaintContext *); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:52:24: warning: 'virtual QRect KChart::TernaryAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:53:23: warning: 'virtual void KChart::TernaryAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry (const QRect &rect); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:55:23: warning: 'virtual bool KChart::TernaryAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty () const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:56:24: warning: 'virtual QSize KChart::TernaryAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:57:24: warning: 'virtual QSize KChart::TernaryAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:58:24: warning: 'virtual QSize KChart::TernaryAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:59:35: warning: 'virtual Qt::Orientations KChart::TernaryAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections () const ; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:45:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryAxis ( AbstractTernaryDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:46:22: warning: 'virtual void KChart::AbstractTernaryDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:53:50: warning: 'virtual const QPair KChart::AbstractTernaryDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const = 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:42:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractTernaryDiagram ( QWidget* parent = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:43:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:44, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.h:42:13: warning: 'virtual int KChart::ChartGraphicsItem::type() const' can be marked override [-Wsuggest-override] int type() const { return Type; } ^~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h: In copy constructor 'KChart::AbstractTernaryDiagram::Private::Private(const KChart::AbstractTernaryDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:63:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 95%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartTernaryLineDiagram.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/Ternary/KChartTernaryLineDiagram.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:48:23: warning: 'virtual void KChart::TernaryAxis::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter &); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:49:23: warning: 'virtual void KChart::TernaryAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint (QPainter *); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:50:23: warning: 'virtual void KChart::TernaryAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx (PaintContext *); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:52:24: warning: 'virtual QRect KChart::TernaryAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:53:23: warning: 'virtual void KChart::TernaryAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry (const QRect &rect); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:55:23: warning: 'virtual bool KChart::TernaryAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty () const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:56:24: warning: 'virtual QSize KChart::TernaryAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:57:24: warning: 'virtual QSize KChart::TernaryAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:58:24: warning: 'virtual QSize KChart::TernaryAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:59:35: warning: 'virtual Qt::Orientations KChart::TernaryAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections () const ; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryAxis.h:45:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryAxis ( AbstractTernaryDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:46:22: warning: 'virtual void KChart::AbstractTernaryDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:53:50: warning: 'virtual const QPair KChart::AbstractTernaryDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const = 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:42:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractTernaryDiagram ( QWidget* parent = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram.h:43:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:42:14: warning: 'virtual void KChart::TernaryLineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize (const QSizeF &area); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:43:14: warning: 'virtual void KChart::TernaryLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:46:41: warning: 'virtual const QPair KChart::TernaryLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair< QPointF, QPointF > calculateDataBoundaries () const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:39:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryLineDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.h:39:92: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryLineDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:43, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:37, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:44, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ChartGraphicsItem.h:42:13: warning: 'virtual int KChart::ChartGraphicsItem::type() const' can be marked override [-Wsuggest-override] int type() const { return Type; } ^~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram_p.h:35, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h: In copy constructor 'KChart::AbstractTernaryDiagram::Private::Private(const KChart::AbstractTernaryDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartAbstractTernaryDiagram_p.h:63:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp: In member function 'virtual void KChart::TernaryLineDiagram::paint(KChart::PaintContext*)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryLineDiagram.cpp:82:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( model() == 0 ) return; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 98%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChart_autogen/mocs_compilation.cpp.o cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/c++ -DKChart_EXPORTS -DQT_CORE_LIB -DQT_FATAL_ASSERT -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DUSE_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Demit="" -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart -I/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/include -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtSvg -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChart_autogen/mocs_compilation.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAreaBase.h:28, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractArea.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:52:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractLayoutItem( Qt::Alignment itemAlignment = 0 ) : ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h: In constructor 'KChart::AbstractLayoutItem::AbstractLayoutItem(Qt::Alignment)': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] mParentLayout( 0 ) {} ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:55:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:120:22: warning: 'virtual bool KChart::TextLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:122:34: warning: 'virtual Qt::Orientations KChart::TextLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:124:23: warning: 'virtual QSize KChart::TextLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:126:23: warning: 'virtual QSize KChart::TextLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:128:23: warning: 'virtual QSize KChart::TextLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:130:22: warning: 'virtual void KChart::TextLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:132:23: warning: 'virtual QRect KChart::TextLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:144:22: warning: 'virtual void KChart::TextLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:105:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:190:22: warning: 'virtual bool KChart::TextBubbleLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:192:34: warning: 'virtual Qt::Orientations KChart::TextBubbleLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:194:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:196:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:198:23: warning: 'virtual QSize KChart::TextBubbleLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:200:22: warning: 'virtual void KChart::TextBubbleLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:202:23: warning: 'virtual QRect KChart::TextBubbleLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:204:22: warning: 'virtual void KChart::TextBubbleLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:176:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:226:38: warning: 'virtual Qt::Orientations KChart::MarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:227:27: warning: 'virtual QRect KChart::MarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:228:26: warning: 'virtual bool KChart::MarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:229:27: warning: 'virtual QSize KChart::MarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:230:27: warning: 'virtual QSize KChart::MarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:231:26: warning: 'virtual void KChart::MarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:232:27: warning: 'virtual QSize KChart::MarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:234:26: warning: 'virtual void KChart::MarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:224:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:265:38: warning: 'virtual Qt::Orientations KChart::LineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:266:27: warning: 'virtual QRect KChart::LineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:267:26: warning: 'virtual bool KChart::LineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:268:27: warning: 'virtual QSize KChart::LineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:269:27: warning: 'virtual QSize KChart::LineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:270:26: warning: 'virtual void KChart::LineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:271:27: warning: 'virtual QSize KChart::LineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:276:26: warning: 'virtual void KChart::LineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:263:55: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:308:38: warning: 'virtual Qt::Orientations KChart::LineWithMarkerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:309:27: warning: 'virtual QRect KChart::LineWithMarkerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:310:26: warning: 'virtual bool KChart::LineWithMarkerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:311:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:312:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:313:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:314:27: warning: 'virtual QSize KChart::LineWithMarkerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:316:26: warning: 'virtual void KChart::LineWithMarkerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:306:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Qt::Alignment alignment = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:339:34: warning: 'virtual Qt::Orientations KChart::HorizontalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:340:23: warning: 'virtual QRect KChart::HorizontalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:341:22: warning: 'virtual bool KChart::HorizontalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:342:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:343:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:344:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:345:23: warning: 'virtual QSize KChart::HorizontalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:347:22: warning: 'virtual void KChart::HorizontalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:362:38: warning: 'virtual Qt::Orientations KChart::VerticalLineLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:363:27: warning: 'virtual QRect KChart::VerticalLineLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:364:26: warning: 'virtual bool KChart::VerticalLineLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:365:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:366:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:367:26: warning: 'virtual void KChart::VerticalLineLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:368:27: warning: 'virtual QSize KChart::VerticalLineLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:370:26: warning: 'virtual void KChart::VerticalLineLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:453:38: warning: 'virtual Qt::Orientations KChart::AutoSpacerLayoutItem::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:454:27: warning: 'virtual QRect KChart::AutoSpacerLayoutItem::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:455:26: warning: 'virtual bool KChart::AutoSpacerLayoutItem::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:456:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:457:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:458:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:459:27: warning: 'virtual QSize KChart::AutoSpacerLayoutItem::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLayoutItems.h:461:26: warning: 'virtual void KChart::AutoSpacerLayoutItem::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAreaBase.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:26, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractArea.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartRelativePosition.h:183:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] const QPointF referencePoint(qreal* polarDegrees=0) const; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractArea.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:68:18: warning: 'virtual void KChart::AbstractArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:125:19: warning: 'virtual QRect KChart::AbstractArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:126:18: warning: 'virtual void KChart::AbstractArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractAreaWidget.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:3: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAreaWidget.h:58:18: warning: 'virtual void KChart::AbstractAreaWidget::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] virtual void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAreaWidget.h:105:19: warning: 'virtual QRect KChart::AbstractAreaWidget::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAreaWidget.h:106:18: warning: 'virtual void KChart::AbstractAreaWidget::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAreaWidget.h:49:52: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAreaWidget( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractAxis.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAxis.h:230:22: warning: 'virtual void KChart::AbstractAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& rect ) = 0; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAxis.h:231:23: warning: 'virtual QRect KChart::AbstractAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const = 0; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractProxyModel.h:40:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractProxyModel.h:42:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource( const QModelIndex &proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractProxyModel.h:45:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int col, const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractProxyModel.h:47:21: warning: 'virtual QModelIndex KChart::AbstractProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent( const QModelIndex& index ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:29, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:92:14: warning: 'virtual QVariant KChart::AttributesModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:94:9: warning: 'virtual int KChart::AttributesModel::rowCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int rowCount(const QModelIndex& ) const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:96:9: warning: 'virtual int KChart::AttributesModel::columnCount(const QModelIndex&) const' can be marked override [-Wsuggest-override] int columnCount(const QModelIndex& ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:98:14: warning: 'virtual QVariant KChart::AttributesModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex&, int role = Qt::DisplayRole) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:100:10: warning: 'virtual bool KChart::AttributesModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::DisplayRole); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:104:10: warning: 'virtual bool KChart::AttributesModel::setHeaderData(int, Qt::Orientation, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setHeaderData ( int section, Qt::Orientation orientation, const QVariant & value, ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:111:10: warning: 'virtual void KChart::AttributesModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel ( QAbstractItemModel* sourceModel ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAttributesModel.h:54:77: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AttributesModel( QAbstractItemModel* model, QObject * parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:106:22: warning: 'virtual void KChart::AbstractDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] virtual void setModel ( QAbstractItemModel * model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:109:22: warning: 'virtual void KChart::AbstractDiagram::setSelectionModel(QItemSelectionModel*)' can be marked override [-Wsuggest-override] virtual void setSelectionModel( QItemSelectionModel* selectionModel ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:163:22: warning: 'virtual void KChart::AbstractDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] virtual void setRootIndex ( const QModelIndex& idx ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:166:23: warning: 'virtual QRect KChart::AbstractDiagram::visualRect(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual QRect visualRect(const QModelIndex &index) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:168:22: warning: 'virtual void KChart::AbstractDiagram::scrollTo(const QModelIndex&, QAbstractItemView::ScrollHint)' can be marked override [-Wsuggest-override] virtual void scrollTo(const QModelIndex &index, ScrollHint hint = EnsureVisible); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:170:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::indexAt(const QPoint&) const' can be marked override [-Wsuggest-override] virtual QModelIndex indexAt(const QPoint &point) const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:172:29: warning: 'virtual QModelIndex KChart::AbstractDiagram::moveCursor(QAbstractItemView::CursorAction, Qt::KeyboardModifiers)' can be marked override [-Wsuggest-override] virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:174:21: warning: 'virtual int KChart::AbstractDiagram::horizontalOffset() const' can be marked override [-Wsuggest-override] virtual int horizontalOffset() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:176:21: warning: 'virtual int KChart::AbstractDiagram::verticalOffset() const' can be marked override [-Wsuggest-override] virtual int verticalOffset() const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:178:22: warning: 'virtual bool KChart::AbstractDiagram::isIndexHidden(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual bool isIndexHidden(const QModelIndex &index) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:180:22: warning: 'virtual void KChart::AbstractDiagram::setSelection(const QRect&, QItemSelectionModel::SelectionFlags)' can be marked override [-Wsuggest-override] virtual void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:182:25: warning: 'virtual QRegion KChart::AbstractDiagram::visualRegionForSelection(const QItemSelection&) const' can be marked override [-Wsuggest-override] virtual QRegion visualRegionForSelection(const QItemSelection &selection) const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:185:22: warning: 'virtual void KChart::AbstractDiagram::dataChanged(const QModelIndex&, const QModelIndex&, const QVector&)' can be marked override [-Wsuggest-override] virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector &roles = QVector()); ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:187:22: warning: 'virtual void KChart::AbstractDiagram::doItemsLayout()' can be marked override [-Wsuggest-override] virtual void doItemsLayout(); ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:61:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:61:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, AbstractCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractDiagram.h:730:88: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PrivateAttributesModel( QAbstractItemModel* model, QObject * parent = 0 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:259:22: warning: 'virtual bool KChart::AbstractCoordinatePlane::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:261:34: warning: 'virtual Qt::Orientations KChart::AbstractCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:263:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:265:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:267:23: warning: 'virtual QSize KChart::AbstractCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:274:22: warning: 'virtual void KChart::AbstractCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:276:23: warning: 'virtual QRect KChart::AbstractCoordinatePlane::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:53:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCoordinatePlane( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:83:94: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual void replaceDiagram( AbstractDiagram* diagram, AbstractDiagram* oldDiagram = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractCoordinatePlane.h:255:79: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] virtual AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); // KChart 3: const method? ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartChart.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:9: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:454:26: warning: 'virtual void KChart::Chart::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void resizeEvent ( QResizeEvent * event ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:463:26: warning: 'virtual void KChart::Chart::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] /* reimp */ void paintEvent( QPaintEvent* event ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:466:14: warning: 'virtual void KChart::Chart::mousePressEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mousePressEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:468:14: warning: 'virtual void KChart::Chart::mouseDoubleClickEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseDoubleClickEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:470:14: warning: 'virtual void KChart::Chart::mouseMoveEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseMoveEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:472:14: warning: 'virtual void KChart::Chart::mouseReleaseEvent(QMouseEvent*)' can be marked override [-Wsuggest-override] void mouseReleaseEvent( QMouseEvent* event ); ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:474:14: warning: 'virtual bool KChart::Chart::event(QEvent*)' can be marked override [-Wsuggest-override] bool event( QEvent* event ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:108:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Chart ( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:205:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* oldPlane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:264:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeaderFooter = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:40, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartChart_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:10: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartTextArea.h:68:10: warning: 'virtual void KChart::TextArea::paintAll(QPainter&)' can be marked override [-Wsuggest-override] void paintAll( QPainter& painter ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartTextArea.h:72:19: warning: 'virtual QRect KChart::TextArea::areaGeometry() const' can be marked override [-Wsuggest-override] virtual QRect areaGeometry() const; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartTextArea.h:73:18: warning: 'virtual void KChart::TextArea::positionHasChanged()' can be marked override [-Wsuggest-override] virtual void positionHasChanged(); ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartChart_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:10: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h: In constructor 'KChart::PlaneInfo::PlaneInfo()': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] rightAxesLayout( 0 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:73:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h: In constructor 'KChart::LayoutGraphNode::LayoutGraphNode()': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] , priority( -1 ) ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:97:24: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h: In constructor 'KChart::Chart::Private::AxisInfo::AxisInfo()': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartChart_p.h:176:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] :plane(0) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartDatasetProxyModel.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:11: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:62:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::buddy(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex buddy( const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:64:23: warning: 'virtual Qt::ItemFlags KChart::DatasetProxyModel::flags(const QModelIndex&) const' can be marked override [-Wsuggest-override] Qt::ItemFlags flags( const QModelIndex& index ) const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:66:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::index(int, int, const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex index( int row, int column, ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:68:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::parent(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex parent(const QModelIndex &child ) const; ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:71:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::mapFromSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:74:21: warning: 'virtual QModelIndex KChart::DatasetProxyModel::mapToSource(const QModelIndex&) const' can be marked override [-Wsuggest-override] QModelIndex mapToSource ( const QModelIndex& proxyIndex ) const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:77:18: warning: 'virtual QVariant KChart::DatasetProxyModel::data(const QModelIndex&, int) const' can be marked override [-Wsuggest-override] QVariant data(const QModelIndex &index, int role) const; ^~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:80:14: warning: 'virtual bool KChart::DatasetProxyModel::setData(const QModelIndex&, const QVariant&, int)' can be marked override [-Wsuggest-override] bool setData( const QModelIndex& index, const QVariant& value, int role ); ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:83:18: warning: 'virtual QVariant KChart::DatasetProxyModel::headerData(int, Qt::Orientation, int) const' can be marked override [-Wsuggest-override] QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:86:14: warning: 'virtual void KChart::DatasetProxyModel::setSourceModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setSourceModel(QAbstractItemModel *sourceModel); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:122:14: warning: 'virtual bool KChart::DatasetProxyModel::filterAcceptsColumn(int, const QModelIndex&) const' can be marked override [-Wsuggest-override] bool filterAcceptsColumn ( int sourceColumn, ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:127:14: warning: 'virtual bool KChart::DatasetProxyModel::filterAcceptsRow(int, const QModelIndex&) const' can be marked override [-Wsuggest-override] bool filterAcceptsRow ( int source_row, const QModelIndex & source_parent ) const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetProxyModel.h:60:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DatasetProxyModel ( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartDatasetSelector.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:12: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDatasetSelector.h:49:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DatasetSelectorWidget ( QWidget* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartDiagramObserver.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:13: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartDiagramObserver.h:48:80: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit DiagramObserver( AbstractDiagram * diagram, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartHeaderFooter.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:14: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartHeaderFooter.h:41:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartLegend.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:15: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:81:18: warning: 'virtual void KChart::Legend::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] virtual void resizeEvent( QResizeEvent * event ); // TODO: should be protected ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:83:18: warning: 'virtual void KChart::Legend::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* painter ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:84:18: warning: 'virtual void KChart::Legend::setVisible(bool)' can be marked override [-Wsuggest-override] virtual void setVisible( bool visible ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:383:18: warning: 'virtual void KChart::Legend::forceRebuild()' can be marked override [-Wsuggest-override] virtual void forceRebuild(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:385:19: warning: 'virtual QSize KChart::Legend::minimumSizeHint() const' can be marked override [-Wsuggest-override] virtual QSize minimumSizeHint() const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:386:19: warning: 'virtual QSize KChart::Legend::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:387:18: warning: 'virtual bool KChart::Legend::hasHeightForWidth() const' can be marked override [-Wsuggest-override] virtual bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:388:17: warning: 'virtual int KChart::Legend::heightForWidth(int) const' can be marked override [-Wsuggest-override] virtual int heightForWidth( int width ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:389:18: warning: 'virtual void KChart::Legend::needSizeHint()' can be marked override [-Wsuggest-override] virtual void needSizeHint(); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:390:18: warning: 'virtual void KChart::Legend::resizeLayout(const QSize&)' can be marked override [-Wsuggest-override] virtual void resizeLayout( const QSize& size ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:60:40: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:61:74: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Legend( KChart::AbstractDiagram* diagram, QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartLegend.h:169:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] KChart::AbstractDiagram* oldDiagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartPalette.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:17: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartPalette.h:50:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Palette( QObject *parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartWidget.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:19: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartWidget.h:72:44: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Widget( QWidget* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartWidget.h:144:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] HeaderFooter* oldHeader = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartWidget.h:165:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend( Legend* legend, Legend* oldLegend = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KTextDocument.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:20: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KTextDocument.h:46:47: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( QObject* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KTextDocument.h:47:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit KTextDocument( const QString& text, QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPolarDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartAbstractPieDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:47:14: warning: 'virtual void KChart::PolarCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:49:23: warning: 'virtual const QPointF KChart::PolarCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:67:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:68:23: warning: 'virtual qreal KChart::PolarCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:70:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:71:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:72:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:74:25: warning: 'virtual QPointF KChart::PolarCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:76:22: warning: 'virtual void KChart::PolarCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:146:22: warning: 'virtual void KChart::PolarCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:149:36: warning: 'virtual KChart::DataDimensionsList KChart::PolarCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:153:14: warning: 'virtual void KChart::PolarCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarCoordinatePlane.h:44:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PolarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartAbstractPieDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPolarDiagram.h:41:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPolarDiagram.h:41:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartAbstractPieDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:21: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartAbstractPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartPieDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:23: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:47:18: warning: 'virtual void KChart::PieDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:73:18: warning: 'virtual void KChart::PieDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:77:19: warning: 'virtual qreal KChart::PieDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:79:19: warning: 'virtual qreal KChart::PieDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:81:19: warning: 'virtual qreal KChart::PieDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:87:43: warning: 'virtual const QPair KChart::PieDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:88:10: warning: 'virtual void KChart::PieDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:89:10: warning: 'virtual void KChart::PieDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:41:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPieDiagram.h:41:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartPolarDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:51:18: warning: 'virtual void KChart::PolarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:55:18: warning: 'virtual void KChart::PolarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:59:19: warning: 'virtual qreal KChart::PolarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:61:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:63:19: warning: 'virtual qreal KChart::PolarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:96:43: warning: 'virtual const QPair KChart::PolarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:97:10: warning: 'virtual void KChart::PolarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:98:10: warning: 'virtual void KChart::PolarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:45:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartPolarDiagram.h:45:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartRadarCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarCoordinatePlane.h:41:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit RadarCoordinatePlane ( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartRadarDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:53:18: warning: 'virtual void KChart::RadarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:56:19: warning: 'virtual qreal KChart::RadarDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:58:19: warning: 'virtual qreal KChart::RadarDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:60:19: warning: 'virtual qreal KChart::RadarDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:89:43: warning: 'virtual const QPair KChart::RadarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:90:10: warning: 'virtual void KChart::RadarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:91:10: warning: 'virtual void KChart::RadarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:92:18: warning: 'virtual void KChart::RadarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:46:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, RadarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRadarDiagram.h:46:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, RadarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/moc_KChartRingDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:45:18: warning: 'virtual void KChart::RingDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:48:18: warning: 'virtual void KChart::RingDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:52:19: warning: 'virtual qreal KChart::RingDiagram::valueTotals() const' can be marked override [-Wsuggest-override] virtual qreal valueTotals() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:54:19: warning: 'virtual qreal KChart::RingDiagram::numberOfValuesPerDataset() const' can be marked override [-Wsuggest-override] virtual qreal numberOfValuesPerDataset() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:55:19: warning: 'virtual qreal KChart::RingDiagram::numberOfDatasets() const' can be marked override [-Wsuggest-override] virtual qreal numberOfDatasets() const; ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:57:19: warning: 'virtual qreal KChart::RingDiagram::numberOfGridRings() const' can be marked override [-Wsuggest-override] virtual qreal numberOfGridRings() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:76:43: warning: 'virtual const QPair KChart::RingDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:77:10: warning: 'virtual void KChart::RingDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:78:10: warning: 'virtual void KChart::RingDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:39:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/MNHMWLUIT3/../../../../../src/KChart/Polar/KChartRingDiagram.h:39:60: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, PolarCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:50:14: warning: 'virtual void KChart::CartesianCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram ( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:61:23: warning: 'virtual const QPointF KChart::CartesianCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:66:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorX() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorX() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:70:23: warning: 'virtual qreal KChart::CartesianCoordinatePlane::zoomFactorY() const' can be marked override [-Wsuggest-override] virtual qreal zoomFactorY() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:75:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactors(qreal, qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactors( qreal factorX, qreal factorY ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:79:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorX(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorX( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:83:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomFactorY(qreal)' can be marked override [-Wsuggest-override] virtual void setZoomFactorY( qreal factor ); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:88:25: warning: 'virtual QPointF KChart::CartesianCoordinatePlane::zoomCenter() const' can be marked override [-Wsuggest-override] virtual QPointF zoomCenter() const; ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:93:22: warning: 'virtual void KChart::CartesianCoordinatePlane::setZoomCenter(const QPointF&)' can be marked override [-Wsuggest-override] virtual void setZoomCenter( const QPointF& center ); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:375:22: warning: 'virtual void KChart::CartesianCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:34: warning: 'virtual KChart::AbstractCoordinatePlane* KChart::CartesianCoordinatePlane::sharedAxisMasterPlane(QPainter*)' can be marked override [-Wsuggest-override] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:437:14: warning: 'virtual void KChart::CartesianCoordinatePlane::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:440:26: warning: 'virtual Qt::Orientations KChart::CartesianCoordinatePlane::expandingDirections() const' can be marked override [-Wsuggest-override] Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:471:36: warning: 'virtual KChart::DataDimensionsList KChart::CartesianCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] virtual DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:479:14: warning: 'virtual void KChart::CartesianCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:488:14: warning: 'virtual bool KChart::CartesianCoordinatePlane::hasHeightForWidth() const' can be marked override [-Wsuggest-override] bool hasHeightForWidth() const; ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:489:13: warning: 'virtual int KChart::CartesianCoordinatePlane::heightForWidth(int) const' can be marked override [-Wsuggest-override] int heightForWidth( int w ) const; ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:490:15: warning: 'virtual QSize KChart::CartesianCoordinatePlane::sizeHint() const' can be marked override [-Wsuggest-override] QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:47:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianCoordinatePlane ( Chart* parent = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:378:71: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] AbstractCoordinatePlane* sharedAxisMasterPlane( QPainter* p = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:73:22: warning: 'virtual void KChart::CartesianAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:75:22: warning: 'virtual void KChart::CartesianAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:161:22: warning: 'virtual bool KChart::CartesianAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty() const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:163:34: warning: 'virtual Qt::Orientations KChart::CartesianAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections() const; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:165:23: warning: 'virtual QSize KChart::CartesianAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:167:23: warning: 'virtual QSize KChart::CartesianAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize() const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:169:23: warning: 'virtual QSize KChart::CartesianAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:171:22: warning: 'virtual void KChart::CartesianAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry( const QRect& r ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:173:23: warning: 'virtual QRect KChart::CartesianAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry() const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianAxis.h:64:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianAxis ( AbstractCartesianDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:90:22: warning: 'virtual void KChart::AbstractCartesianDiagram::setCoordinatePlane(KChart::AbstractCoordinatePlane*)' can be marked override [-Wsuggest-override] virtual void setCoordinatePlane( AbstractCoordinatePlane* plane ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:112:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:114:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setRootIndex(const QModelIndex&)' can be marked override [-Wsuggest-override] void setRootIndex( const QModelIndex& index ); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:116:14: warning: 'virtual void KChart::AbstractCartesianDiagram::setAttributesModel(KChart::AttributesModel*)' can be marked override [-Wsuggest-override] void setAttributesModel( AttributesModel* model ); ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:62: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:45:99: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractCartesianDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartBarDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:30: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:98:9: warning: 'virtual int KChart::BarDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:100:9: warning: 'virtual int KChart::BarDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:104:10: warning: 'virtual void KChart::BarDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:107:10: warning: 'virtual void KChart::BarDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:110:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:111:19: warning: 'virtual qreal KChart::BarDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:113:35: warning: 'virtual const QPair KChart::BarDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:114:10: warning: 'virtual void KChart::BarDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:115:10: warning: 'virtual void KChart::BarDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:52:27: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartBarDiagram.h:52:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartModelDataCache_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:16: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'class KChart::ModelDataCache': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:210:50: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:207:14: warning: 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:228:14: warning: 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void columnsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:248:14: warning: 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void dataChanged( const QModelIndex& topLeft, const QModelIndex& bottomRight ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:280:14: warning: 'void KChart::ModelDataCache::layoutChanged() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void layoutChanged() ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:285:14: warning: 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void modelReset() ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:300:14: warning: 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsInserted( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:318:14: warning: 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void rowsRemoved( const QModelIndex& parent, int start, int end ) ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:335:14: warning: 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]' can be marked override [-Wsuggest-override] void resetModel() ^~~~~~~~~~ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartCartesianDiagramDataCompressor_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:128:68: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit CartesianDiagramDataCompressor( QObject* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartLeveyJenningsAxis.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsAxis.h:74:14: warning: 'virtual void KChart::LeveyJenningsAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paintCtx( PaintContext* ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsAxis.h:59:70: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsAxis ( LeveyJenningsDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartLeveyJenningsCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:35: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:50:14: warning: 'virtual void KChart::LeveyJenningsCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartLeveyJenningsDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:125:9: warning: 'virtual int KChart::LineDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:127:9: warning: 'virtual int KChart::LineDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:131:10: warning: 'virtual void KChart::LineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:134:10: warning: 'virtual void KChart::LineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:138:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:139:19: warning: 'virtual qreal KChart::LineDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:141:43: warning: 'virtual const QPair KChart::LineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:142:10: warning: 'virtual void KChart::LineDiagram::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:143:10: warning: 'virtual void KChart::LineDiagram::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:55:45: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLineDiagram.h:55:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LineDiagram( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartLeveyJenningsDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:36: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:55:27: warning: 'virtual KChart::LineDiagram* KChart::LeveyJenningsDiagram::clone() const' can be marked override [-Wsuggest-override] virtual LineDiagram * clone() const; ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:102:10: warning: 'virtual void KChart::LeveyJenningsDiagram::setModel(QAbstractItemModel*)' can be marked override [-Wsuggest-override] void setModel( QAbstractItemModel* model ); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:108:10: warning: 'virtual void KChart::LeveyJenningsDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:121:35: warning: 'virtual const QPair KChart::LeveyJenningsDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:54: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:52:95: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsDiagram( QWidget* parent = 0, LeveyJenningsCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartPlotter.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:38: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:113:9: warning: 'virtual int KChart::Plotter::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] int numberOfAbscissaSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:115:9: warning: 'virtual int KChart::Plotter::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] int numberOfOrdinateSegments () const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:122:10: warning: 'virtual void KChart::Plotter::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint ( PaintContext* paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:125:10: warning: 'virtual void KChart::Plotter::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize ( const QSizeF& area ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:128:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex & index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:129:19: warning: 'virtual qreal KChart::Plotter::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:131:43: warning: 'virtual const QPair KChart::Plotter::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:132:10: warning: 'virtual void KChart::Plotter::paintEvent(QPaintEvent*)' can be marked override [-Wsuggest-override] void paintEvent ( QPaintEvent* ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:133:10: warning: 'virtual void KChart::Plotter::resizeEvent(QResizeEvent*)' can be marked override [-Wsuggest-override] void resizeEvent ( QResizeEvent* ); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:53:41: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter.h:53:78: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit Plotter( QWidget* parent = 0, CartesianCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartPlotterDiagramCompressor.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:39: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotterDiagramCompressor.h:123:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit PlotterDiagramCompressor(QObject *parent = 0); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartPlotter_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:41: /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:134:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:141:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:149:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] QRectF* cumulatedBoundingRect=0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartPlotter_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:41: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:67:75: warning: 'virtual KChart::CartesianDiagramDataCompressor::AggregatedDataValueAttributes KChart::AbstractCartesianDiagram::Private::aggregatedAttrs(const QModelIndex&, const KChart::CartesianDiagramDataCompressor::CachePosition*) const' can be marked override [-Wsuggest-override] virtual CartesianDiagramDataCompressor::AggregatedDataValueAttributes aggregatedAttrs( ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h: In copy constructor 'KChart::AbstractCartesianDiagram::Private::Private(const KChart::AbstractCartesianDiagram::Private&)': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:62:32: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] referenceDiagramOffset() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/moc_KChartStockDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:42: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:98:17: warning: 'virtual int KChart::StockDiagram::numberOfAbscissaSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfAbscissaSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:99:17: warning: 'virtual int KChart::StockDiagram::numberOfOrdinateSegments() const' can be marked override [-Wsuggest-override] virtual int numberOfOrdinateSegments() const; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:102:18: warning: 'virtual void KChart::StockDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint( PaintContext *paintContext ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:104:18: warning: 'virtual void KChart::StockDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize( const QSizeF &size ); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:106:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(int) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( int column ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:107:19: warning: 'virtual qreal KChart::StockDiagram::threeDItemDepth(const QModelIndex&) const' can be marked override [-Wsuggest-override] virtual qreal threeDItemDepth( const QModelIndex &index ) const; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:110:43: warning: 'virtual const QPair KChart::StockDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair calculateDataBoundaries() const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:46:46: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/ORM5MHLSLY/../../../../../src/KChart/Cartesian/KChartStockDiagram.h:46:83: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit StockDiagram( QWidget *parent = 0, CartesianCoordinatePlane *plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/moc_KChartAbstractTernaryDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:43: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:48:23: warning: 'virtual void KChart::TernaryAxis::paintAll(QPainter&)' can be marked override [-Wsuggest-override] virtual void paintAll( QPainter &); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:49:23: warning: 'virtual void KChart::TernaryAxis::paint(QPainter*)' can be marked override [-Wsuggest-override] virtual void paint (QPainter *); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:50:23: warning: 'virtual void KChart::TernaryAxis::paintCtx(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paintCtx (PaintContext *); ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:52:24: warning: 'virtual QRect KChart::TernaryAxis::geometry() const' can be marked override [-Wsuggest-override] virtual QRect geometry () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:53:23: warning: 'virtual void KChart::TernaryAxis::setGeometry(const QRect&)' can be marked override [-Wsuggest-override] virtual void setGeometry (const QRect &rect); ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:55:23: warning: 'virtual bool KChart::TernaryAxis::isEmpty() const' can be marked override [-Wsuggest-override] virtual bool isEmpty () const; ^~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:56:24: warning: 'virtual QSize KChart::TernaryAxis::minimumSize() const' can be marked override [-Wsuggest-override] virtual QSize minimumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:57:24: warning: 'virtual QSize KChart::TernaryAxis::maximumSize() const' can be marked override [-Wsuggest-override] virtual QSize maximumSize () const; ^~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:58:24: warning: 'virtual QSize KChart::TernaryAxis::sizeHint() const' can be marked override [-Wsuggest-override] virtual QSize sizeHint () const; ^~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:59:35: warning: 'virtual Qt::Orientations KChart::TernaryAxis::expandingDirections() const' can be marked override [-Wsuggest-override] virtual Qt::Orientations expandingDirections () const ; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryAxis.h:45:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryAxis ( AbstractTernaryDiagram* diagram = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/moc_KChartAbstractTernaryDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:43: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartAbstractTernaryDiagram.h:46:22: warning: 'virtual void KChart::AbstractTernaryDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartAbstractTernaryDiagram.h:53:50: warning: 'virtual const QPair KChart::AbstractTernaryDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const = 0; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartAbstractTernaryDiagram.h:42:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractTernaryDiagram ( QWidget* parent = 0, ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartAbstractTernaryDiagram.h:43:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/moc_KChartTernaryCoordinatePlane.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:45: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryCoordinatePlane.h:43:14: warning: 'virtual void KChart::TernaryCoordinatePlane::addDiagram(KChart::AbstractDiagram*)' can be marked override [-Wsuggest-override] void addDiagram( AbstractDiagram* diagram ); ^~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryCoordinatePlane.h:45:14: warning: 'virtual void KChart::TernaryCoordinatePlane::layoutDiagrams()' can be marked override [-Wsuggest-override] void layoutDiagrams(); ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryCoordinatePlane.h:47:23: warning: 'virtual const QPointF KChart::TernaryCoordinatePlane::translate(const QPointF&) const' can be marked override [-Wsuggest-override] const QPointF translate ( const QPointF& diagramPoint ) const; ^~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryCoordinatePlane.h:49:14: warning: 'virtual void KChart::TernaryCoordinatePlane::paint(QPainter*)' can be marked override [-Wsuggest-override] void paint( QPainter* ); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryCoordinatePlane.h:50:28: warning: 'virtual KChart::DataDimensionsList KChart::TernaryCoordinatePlane::getDataDimensionsList() const' can be marked override [-Wsuggest-override] DataDimensionsList getDataDimensionsList() const; ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryCoordinatePlane.h:40:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryCoordinatePlane( Chart* parent = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/moc_KChartTernaryLineDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:46: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryLineDiagram.h:42:14: warning: 'virtual void KChart::TernaryLineDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] void resize (const QSizeF &area); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryLineDiagram.h:43:14: warning: 'virtual void KChart::TernaryLineDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryLineDiagram.h:46:41: warning: 'virtual const QPair KChart::TernaryLineDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] const QPair< QPointF, QPointF > calculateDataBoundaries () const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryLineDiagram.h:39:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryLineDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryLineDiagram.h:39:92: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryLineDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/moc_KChartTernaryPointDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:47: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryPointDiagram.h:41:22: warning: 'virtual void KChart::TernaryPointDiagram::resize(const QSizeF&)' can be marked override [-Wsuggest-override] virtual void resize (const QSizeF &area); ^~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryPointDiagram.h:42:22: warning: 'virtual void KChart::TernaryPointDiagram::paint(KChart::PaintContext*)' can be marked override [-Wsuggest-override] virtual void paint (PaintContext *paintContext); ^~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryPointDiagram.h:45:50: warning: 'virtual const QPair KChart::TernaryPointDiagram::calculateDataBoundaries() const' can be marked override [-Wsuggest-override] virtual const QPair< QPointF, QPointF > calculateDataBoundaries () const; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryPointDiagram.h:38:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryPointDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/QHCFCGRX2P/../../../../../src/KChart/Ternary/KChartTernaryPointDiagram.h:38:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit TernaryPointDiagram ( QWidget* parent = 0, TernaryCoordinatePlane* plane = 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartModelDataCache_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:16: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::resetModel() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:335:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:338:21: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_model = 0; ~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractArea.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:207:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:209:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::columnsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:228:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:230:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::dataChanged(const QModelIndex&, const QModelIndex&) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:248:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:252:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartModelDataCache_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:16: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::modelReset() [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:285:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:290:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] if ( m_model == 0 ) ~~~~~~~~^~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartAbstractArea.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/moc_KChartAbstractArea.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsInserted(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:300:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:302:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h: In instantiation of 'void KChart::ModelDataCache::rowsRemoved(const QModelIndex&, int, int) [with T = double; int ROLE = 0]': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:318:14: required from here /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_autogen/EWIEGA46WW/../../../../../src/KChart/KChartModelDataCache_p.h:320:31: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Q_ASSERT( m_model != 0 ); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [100%] Linking CXX shared library libKChart.so cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/cmake -E cmake_link_script CMakeFiles/KChart.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -O2 -DNDEBUG -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -L/usr/lib64 -L/usr/lib64/kf5/devel -shared -Wl,-soname,libKChart.so.2 -o libKChart.so.2.6.0 CMakeFiles/KChart.dir/KChartMeasure.cpp.o CMakeFiles/KChart.dir/KChartAbstractCoordinatePlane.cpp.o CMakeFiles/KChart.dir/KChartChart.cpp.o CMakeFiles/KChart.dir/KChartWidget.cpp.o CMakeFiles/KChart.dir/KChartAbstractDiagram.cpp.o CMakeFiles/KChart.dir/KChartAbstractDiagram_p.cpp.o CMakeFiles/KChart.dir/KChartAbstractAreaBase.cpp.o CMakeFiles/KChart.dir/KChartAbstractArea.cpp.o CMakeFiles/KChart.dir/KChartTextArea.cpp.o CMakeFiles/KChart.dir/KChartAbstractAreaWidget.cpp.o CMakeFiles/KChart.dir/KChartAbstractAxis.cpp.o CMakeFiles/KChart.dir/KChartAbstractProxyModel.cpp.o CMakeFiles/KChart.dir/KChartAbstractGrid.cpp.o CMakeFiles/KChart.dir/KChartAttributesModel.cpp.o CMakeFiles/KChart.dir/KChartBackgroundAttributes.cpp.o CMakeFiles/KChart.dir/KChartDatasetProxyModel.cpp.o CMakeFiles/KChart.dir/KChartDatasetSelector.cpp.o CMakeFiles/KChart.dir/KChartDataValueAttributes.cpp.o CMakeFiles/KChart.dir/KChartDiagramObserver.cpp.o CMakeFiles/KChart.dir/KChartFrameAttributes.cpp.o CMakeFiles/KChart.dir/KChartGridAttributes.cpp.o CMakeFiles/KChart.dir/KChartRulerAttributes.cpp.o CMakeFiles/KChart.dir/KChartHeaderFooter.cpp.o CMakeFiles/KChart.dir/KChartLayoutItems.cpp.o CMakeFiles/KChart.dir/KChartLegend.cpp.o CMakeFiles/KChart.dir/KChartLineAttributes.cpp.o CMakeFiles/KChart.dir/KChartMarkerAttributes.cpp.o CMakeFiles/KChart.dir/KChartPaintContext.cpp.o CMakeFiles/KChart.dir/KChartPalette.cpp.o CMakeFiles/KChart.dir/KChartPosition.cpp.o CMakeFiles/KChart.dir/KChartRelativePosition.cpp.o CMakeFiles/KChart.dir/KTextDocument.cpp.o CMakeFiles/KChart.dir/KChartTextAttributes.cpp.o CMakeFiles/KChart.dir/KChartAbstractThreeDAttributes.cpp.o CMakeFiles/KChart.dir/KChartThreeDLineAttributes.cpp.o CMakeFiles/KChart.dir/KChartTextLabelCache.cpp.o CMakeFiles/KChart.dir/ChartGraphicsItem.cpp.o CMakeFiles/KChart.dir/ReverseMapper.cpp.o CMakeFiles/KChart.dir/KChartValueTrackerAttributes.cpp.o CMakeFiles/KChart.dir/KChartPrintingParameters.cpp.o CMakeFiles/KChart.dir/KChartModelDataCache_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartAbstractCartesianDiagram.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartCartesianCoordinatePlane.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartCartesianAxis.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartCartesianGrid.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartBarDiagram.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartThreeDBarAttributes.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartBarAttributes.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartStockBarAttributes.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartStockDiagram.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartStockDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLineDiagram.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLineDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartPlotter.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartPlotter_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartPlotterDiagramCompressor.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsDiagram.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsGrid.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsGridAttributes.cpp.o CMakeFiles/KChart.dir/Cartesian/KChartLeveyJenningsAxis.cpp.o CMakeFiles/KChart.dir/Cartesian/PaintingHelpers_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentPlotter_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedPlotter_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedLyingBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedLineDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartStackedBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalLyingBarDiagram_p.cpp.o CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartNormalLineDiagram_p.cpp.o CMakeFiles/KChart.dir/Polar/KChartPolarCoordinatePlane.cpp.o CMakeFiles/KChart.dir/Polar/KChartRadarCoordinatePlane.cpp.o CMakeFiles/KChart.dir/Polar/KChartAbstractPieDiagram.cpp.o CMakeFiles/KChart.dir/Polar/KChartAbstractPolarDiagram.cpp.o CMakeFiles/KChart.dir/Polar/KChartPolarGrid.cpp.o CMakeFiles/KChart.dir/Polar/KChartRadarGrid.cpp.o CMakeFiles/KChart.dir/Polar/KChartPieDiagram.cpp.o CMakeFiles/KChart.dir/Polar/KChartPolarDiagram.cpp.o CMakeFiles/KChart.dir/Polar/KChartRadarDiagram.cpp.o CMakeFiles/KChart.dir/Polar/KChartRingDiagram.cpp.o CMakeFiles/KChart.dir/Polar/KChartPieAttributes.cpp.o CMakeFiles/KChart.dir/Polar/KChartThreeDPieAttributes.cpp.o CMakeFiles/KChart.dir/Ternary/KChartTernaryAxis.cpp.o CMakeFiles/KChart.dir/Ternary/KChartTernaryGrid.cpp.o CMakeFiles/KChart.dir/Ternary/TernaryPoint.cpp.o CMakeFiles/KChart.dir/Ternary/TernaryConstants.cpp.o CMakeFiles/KChart.dir/Ternary/KChartTernaryCoordinatePlane.cpp.o CMakeFiles/KChart.dir/Ternary/KChartAbstractTernaryDiagram.cpp.o CMakeFiles/KChart.dir/Ternary/KChartTernaryPointDiagram.cpp.o CMakeFiles/KChart.dir/Ternary/KChartTernaryLineDiagram.cpp.o CMakeFiles/KChart.dir/qrc_KChart_LeveyJennings_resources.cpp.o CMakeFiles/KChart.dir/ECMQmLoader-kchart_qt.cpp.o CMakeFiles/KChart.dir/moc_KChartEnums.cxx.o CMakeFiles/KChart.dir/KChart_autogen/mocs_compilation.cpp.o /usr/lib64/libQt5Svg.so.5.12.4 /usr/lib64/libQt5Widgets.so.5.12.4 /usr/lib64/libQt5Gui.so.5.12.4 /usr/lib64/libQt5Core.so.5.12.4 cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/cmake -E cmake_symlink_library libKChart.so.2.6.0 libKChart.so.2 libKChart.so make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [100%] Built target KChart make[1]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/CMakeFiles 0 make: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' + popd ~/RPM/BUILD/kdiagram-2.6.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.13351 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/kf5-kdiagram-buildroot + : + /bin/rm -rf -- /usr/src/tmp/kf5-kdiagram-buildroot + cd kdiagram-2.6.0 + __kf5_install + make -C BUILD DESTDIR=/usr/src/tmp/kf5-kdiagram-buildroot install make: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' /usr/bin/cmake -S/usr/src/RPM/BUILD/kdiagram-2.6.0 -B/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/CMakeFiles /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart_autogen.dir/build.make src/KChart/CMakeFiles/KChart_autogen.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/CMakeFiles/KChart_autogen.dir/DependInfo.cmake --color= make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart_autogen.dir/build.make src/KChart/CMakeFiles/KChart_autogen.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 1%] Automatic MOC for target KChart cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart && /usr/bin/cmake -E cmake_autogen /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/CMakeFiles/KChart_autogen.dir/AutogenInfo.cmake Release make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 1%] Built target KChart_autogen make -f src/KChart/CMakeFiles/KChart.dir/build.make src/KChart/CMakeFiles/KChart.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/CMakeFiles/KChart.dir/DependInfo.cmake --color= make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart.dir/build.make src/KChart/CMakeFiles/KChart.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Nothing to be done for 'src/KChart/CMakeFiles/KChart.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 80%] Built target KChart make -f src/KGantt/CMakeFiles/KGantt_autogen.dir/build.make src/KGantt/CMakeFiles/KGantt_autogen.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/CMakeFiles/KGantt_autogen.dir/DependInfo.cmake --color= make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt_autogen.dir/build.make src/KGantt/CMakeFiles/KGantt_autogen.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 81%] Automatic MOC for target KGantt cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt && /usr/bin/cmake -E cmake_autogen /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/CMakeFiles/KGantt_autogen.dir/AutogenInfo.cmake Release make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 81%] Built target KGantt_autogen make -f src/KGantt/CMakeFiles/KGantt.dir/build.make src/KGantt/CMakeFiles/KGantt.dir/depend make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' cd /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/kdiagram-2.6.0 /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/CMakeFiles/KGantt.dir/DependInfo.cmake --color= make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt.dir/build.make src/KGantt/CMakeFiles/KGantt.dir/build make[2]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[2]: Nothing to be done for 'src/KGantt/CMakeFiles/KGantt.dir/build'. make[2]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [100%] Built target KGantt make[1]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKChart.so.2.6.0 -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKChart.so.2 -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKChart.so -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/kchart_export.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRelativePosition.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartHeaderFooter.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAttributesModel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaBase.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLegend.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPaintContext.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockBarAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDBarAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsAxis.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPlotter.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianAxis.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsGridAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsCoordinatePlane.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartFrameAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLayoutItems.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGridAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMarkerAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRulerAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetSelector.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetProxyModel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRingDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarCoordinatePlane.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDPieAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMeasure.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartValueTrackerAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractArea.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDiagramObserver.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDLineAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPalette.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartChart.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartWidget.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractThreeDAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartEnums.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryPointDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryAxis.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryLineDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractTernaryDiagram.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBackgroundAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDataValueAttributes.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChart -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRelativePosition -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartHeaderFooter -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAttributesModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaBase -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLegend -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPaintContext -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockBarAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDBarAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsAxis -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPlotter -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianAxis -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsGridAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsCoordinatePlane -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartFrameAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLayoutItems -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGridAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMarkerAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRulerAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetSelector -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetProxyModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRingDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarCoordinatePlane -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDPieAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMeasure -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartValueTrackerAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractArea -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDiagramObserver -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDLineAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPalette -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartChart -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartWidget -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractThreeDAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartEnums -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryPointDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryAxis -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryLineDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractTernaryDiagram -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBackgroundAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDataValueAttributes -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/kchart_version.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KChart/KChartConfig.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KChart/KChartConfigVersion.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KChart/KChartTargets.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KChart/KChartTargets-release.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/qt5/mkspecs/modules/qt_KChart.pri -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKGantt.so.2.6.0 -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKGantt.so.2 -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKGantt.so -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kgantt_export.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttGlobal -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttView -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttStyleOptionGanttItem -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttGraphicsView -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttAbstractRowController -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttTreeViewRowController -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttListViewRowController -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttGraphicsScene -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttGraphicsItem -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttConstraint -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttConstraintProxy -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttConstraintGraphicsItem -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttItemDelegate -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttForwardingProxyModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttSummaryHandlingProxyModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttProxyModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttConstraintModel -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttAbstractGrid -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttDateTimeGrid -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/KGanttLegend -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttview.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttstyleoptionganttitem.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsview.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kgantttreeviewrowcontroller.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlistviewrowcontroller.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsscene.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsitem.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraint.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintproxy.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintgraphicsitem.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttitemdelegate.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttsummaryhandlingproxymodel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttproxymodel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintmodel.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttdatetimegrid.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlegend.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/kgantt_version.h -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KGantt/KGanttConfig.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KGantt/KGanttConfigVersion.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KGantt/KGanttTargets.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/cmake/KGantt/KGanttTargets-release.cmake -- Installing: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/qt5/mkspecs/modules/qt_KGantt.pri make: Leaving directory '/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/lib64 ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/lib ']' + ls -1 /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so + read p + '[' -L /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so ']' + mkdir -p /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/kf5/devel ++ readlink /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so + f=libKChart.so.2 ++ basename /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so + l=libKChart.so ++ relative /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so.2 /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/kf5/devel/libKChart.so.2 + ln -sf ../../libKChart.so.2 /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/kf5/devel/libKChart.so + rm -f /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so + read p + '[' -L /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so ']' + mkdir -p /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/kf5/devel ++ readlink /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so + f=libKGantt.so.2 ++ basename /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so + l=libKGantt.so ++ relative /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so.2 /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/kf5/devel/libKGantt.so.2 + ln -sf ../../libKGantt.so.2 /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/kf5/devel/libKGantt.so + rm -f /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so + read p + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/bin ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/include ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib/kf5/bin -a true == true ']' + ls -1 '/usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/dbus-1/services/*5*.service' + read s + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/akonadi ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/akonadi ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/man -a remove == remove ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/appdata -a keep == remove ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/metainfo -a keep == remove ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/ ']' + find /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/ -type f -name '*.cmake' + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttTargets-release.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttTargets-release.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttTargets.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttTargets.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttConfigVersion.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttConfigVersion.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttConfig.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KGantt/KGanttConfig.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartTargets-release.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartTargets-release.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartTargets.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartTargets.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartConfigVersion.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartConfigVersion.cmake + read f + sed -i -e 's|\(set(.*\)${PACKAGE_PREFIX_DIR}//usr/|\1${PACKAGE_PREFIX_DIR}/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartConfig.cmake + sed -i -e 's|/usr//usr/|/usr/|' /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/cmake/KChart/KChartConfig.cmake + read f + /usr/lib/rpm/find-lang kf5-kdiagram --with-kde --all-name + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/kf5-kdiagram-buildroot (auto) mode of './usr/lib64/libKGantt.so.2.6.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libKChart.so.2.6.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/kf5-kdiagram-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/kf5-kdiagram-buildroot/ (default) Compressing files in /usr/src/tmp/kf5-kdiagram-buildroot (auto) Adjusting library links in /usr/src/tmp/kf5-kdiagram-buildroot ./usr/lib64: libKChart.so.2 -> libKChart.so.2.6.0 libKGantt.so.2 -> libKGantt.so.2.6.0 Verifying ELF objects in /usr/src/tmp/kf5-kdiagram-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: kf5-kdiagram-common-2.6.0-alt2 Requires: kf5-filesystem Processing files: kf5-kdiagram-devel-2.6.0-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RdAxm8 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,qml,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QpK31g find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,qml,rpmlib,shebang,shell,static,symlinks) /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttview.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttview.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttview.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttview.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartChart.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartChart.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartChart.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartChart.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartEnums.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartEnums.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartEnums.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartEnums.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLegend.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLegend.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLegend.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLegend.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartWidget.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartWidget.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartWidget.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartWidget.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlegend.h:23:10: fatal error: QAbstractItemView: No such file or directory #include ^~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlegend.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlegend.h:23:10: fatal error: QAbstractItemView: No such file or directory #include ^~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlegend.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMeasure.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMeasure.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMeasure.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMeasure.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPalette.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPalette.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPalette.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPalette.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPlotter.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPlotter.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPlotter.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPlotter.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieDiagram.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraint.h:23:10: fatal error: QMap: No such file or directory #include ^~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraint.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraint.h:23:10: fatal error: QMap: No such file or directory #include ^~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraint.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttproxymodel.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttproxymodel.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttproxymodel.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttproxymodel.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLayoutItems.h:23:10: fatal error: QBrush: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLayoutItems.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLayoutItems.h:23:10: fatal error: QBrush: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLayoutItems.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRingDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRingDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRingDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRingDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h:28, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryAxis.h:24: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryAxis.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h:28, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryAxis.h:24: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryAxis.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractArea.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractArea.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractArea.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractArea.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h:28: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h:28: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAxis.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartHeaderFooter.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartHeaderFooter.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartHeaderFooter.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartHeaderFooter.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPaintContext.h:23:10: fatal error: QRectF: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPaintContext.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPaintContext.h:23:10: fatal error: QRectF: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPaintContext.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarDiagram.h:24: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarDiagram.h:24: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarDiagram.h:24: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarDiagram.h:24: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttdatetimegrid.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttdatetimegrid.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractgrid.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttdatetimegrid.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttdatetimegrid.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsitem.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsitem.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsitem.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsitem.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsview.h:23:10: fatal error: QGraphicsView: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsview.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsview.h:23:10: fatal error: QGraphicsView: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsview.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttitemdelegate.h:23:10: fatal error: QItemDelegate: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttitemdelegate.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttitemdelegate.h:23:10: fatal error: QItemDelegate: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttitemdelegate.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBarAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianAxis.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianAxis.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianAxis.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianAxis.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPieAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsscene.h:23:10: fatal error: QDateTime: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsscene.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsscene.h:23:10: fatal error: QDateTime: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttgraphicsscene.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGridAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGridAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGridAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGridAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAttributesModel.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAttributesModel.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAttributesModel.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAttributesModel.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetSelector.h:23:10: fatal error: QFrame: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetSelector.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetSelector.h:23:10: fatal error: QFrame: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetSelector.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDiagramObserver.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDiagramObserver.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDiagramObserver.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:10: fatal error: qglobal.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDiagramObserver.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartFrameAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartFrameAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartFrameAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartFrameAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRulerAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRulerAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRulerAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRulerAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintmodel.h:23:10: fatal error: QModelIndex: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintmodel.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintmodel.h:23:10: fatal error: QModelIndex: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintmodel.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintproxy.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintproxy.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintproxy.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintproxy.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaBase.h:23:10: fatal error: QPointF: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaBase.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaBase.h:23:10: fatal error: QPointF: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaBase.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMarkerAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMarkerAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMarkerAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartMarkerAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRelativePosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRelativePosition.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRelativePosition.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRelativePosition.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetProxyModel.h:23:10: fatal error: QVector: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetProxyModel.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetProxyModel.h:23:10: fatal error: QVector: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDatasetProxyModel.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsAxis.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsAxis.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsAxis.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsAxis.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h:23:10: fatal error: QWidget: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPieDiagram.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockBarAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockBarAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockBarAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartStockBarAttributes.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryLineDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryLineDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryLineDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryLineDiagram.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDataValueAttributes.h:23:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDataValueAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDataValueAttributes.h:23:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartDataValueAttributes.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryPointDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryPointDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryPointDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryPointDiagram.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDBarAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDBarAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDBarAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDBarAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDPieAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDPieAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDPieAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDPieAttributes.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractPolarDiagram.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBackgroundAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBackgroundAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBackgroundAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartBackgroundAttributes.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLineDiagram.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarCoordinatePlane.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPolarCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartRadarCoordinatePlane.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDLineAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDLineAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDLineAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartThreeDLineAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttstyleoptionganttitem.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttstyleoptionganttitem.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttstyleoptionganttitem.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:10: fatal error: Qt: No such file or directory #include ^~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttstyleoptionganttitem.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:10: fatal error: QPair: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:10: fatal error: QPair: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlistviewrowcontroller.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:10: fatal error: QPair: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlistviewrowcontroller.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlistviewrowcontroller.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:10: fatal error: QPair: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttlistviewrowcontroller.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kgantttreeviewrowcontroller.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:10: fatal error: QPair: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kgantttreeviewrowcontroller.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kgantttreeviewrowcontroller.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:10: fatal error: QPair: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kgantttreeviewrowcontroller.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractTernaryDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractTernaryDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractTernaryDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h:23:10: fatal error: QList: No such file or directory #include ^~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractTernaryDiagram.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTernaryCoordinatePlane.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartValueTrackerAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartValueTrackerAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartValueTrackerAttributes.h:23:10: fatal error: QDebug: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartValueTrackerAttributes.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintgraphicsitem.h:23:10: fatal error: QGraphicsItem: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintgraphicsitem.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintgraphicsitem.h:23:10: fatal error: QGraphicsItem: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttconstraintgraphicsitem.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCartesianDiagram.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractThreeDAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractThreeDAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractThreeDAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractThreeDAttributes.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttsummaryhandlingproxymodel.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttsummaryhandlingproxymodel.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttsummaryhandlingproxymodel.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:10: fatal error: QAbstractProxyModel: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttsummaryhandlingproxymodel.h: cpp failed /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsGridAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsGridAttributes.h: cpp failed, trying c++ mode /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsGridAttributes.h:23:10: fatal error: QMetaType: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsGridAttributes.h: cpp failed In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsCoordinatePlane.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartCartesianCoordinatePlane.h:23, from /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsCoordinatePlane.h:23: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:10: fatal error: QObject: No such file or directory #include ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartLeveyJenningsCoordinatePlane.h: cpp failed Requires: /usr/lib64/libKChart.so.2, /usr/lib64/libKGantt.so.2 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tATEuv Processing files: libkchart2-2.6.0-alt2 warning: File listed twice: /usr/lib64/libKChart.so.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2MYu7M find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,qml,shell) lib.prov: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKChart.so.2: 2670 symbols, 22 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f4bhU7 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,qml,rpmlib,shebang,shell,static,symlinks) Provides: libKChart.so.2()(64bit) = set:pdBAWtiI4iJ5bnLajueaFrTNz0N8C6zaCGQiRET9oav66KZLzy854ivElHB5Q2iZ2QYR2V0u70PnHFo3CZj0y4z8FXwe10hIQMPCyCJ2CWtKM1fPlQo3qgUiZB5DpnBXww1ZnY24PicOhwtxSJABVgWv9HNAgLlyQnIWeat36vKEP8iUUdFiapBn02JIeQ2R35hKVAB1sc5osHb5MbwUMaQBo1Pfgu9XumQV2jJ0IsawhehLyMR30VxNNfODxreT1jbSvK4U7yM7CFmgaU61enpbI4KeUgT6EXHhPsZmlZAIEWEwrJoneRR3fYZ95b3IhfkfVcMe28Ob5HlXLPwY4adSdBkU8r6NE1mDsrecbJPsvpwKfQOW5XmAA5UP9gBoOBcX0rrsJFjFOEsSBwi7atdQ4nUhHw52BEqBLDUUFhDZ9PBhSEPmIZIoGKaGarn4ZnRGBP1uDwRa3mwYYPkSpiAVAwGBBAWkjFJSkAQ5qTkY2eZyL9GJAepXeoDrOorB5VYLos4O1MTZpMeZt6lff1lbpzm0EcoPTWYH36qrtbgo6asQzmimlCcZtr4r9FdjCxx5YQ2EZmBxMAm05Ijc7jTZjBNBmOz20ZjIzqUH9I8yJeK84mNR2slwnSjuWdnmscGVn5OEAEPs67iJU2nrL3TqOTffUTYZothtyqMdPYCJyT3q3gFmKLcDvC995UQS2FAIVhR57Mnlt9NEISZaJJoAelfDSujJ0T2Rc1p3TSH6ejyheBMRwdeWRYotKmUQhepw93AJcnMoXLFntO2BIMkU5GwsW2boPH7xYXEviZFiMCMANURdy5NbAX18vUZqnrA6pN1VV4orNLHZ6dLI2QJUpVZokfMm8S8F57uqh3arWBTdH3uVAYGmKZA4EZJWrtwo4oEtZbEYRsoKS2t9z2SWaamjjhmgZ2T4xyorZ6keHtny6M1PKRflJMs111BDjZm4XHHP60U5l7PXtd2oWaUwu5snCrwrQZoHtUzDQPFAIPYko9SJ5je1qZJvrEgPdaXQ2srRZhO5GRbrFS3l62vrCxBbHib7XpZ0LNmbgusmYwORTBKXjOR9o9V1bd5OYh8G1RDUxFeGXabwiz7zPc4Gngi9iXbyWleIZgUZGnCJ9Abge7iTlM3sUxGUKAENiioqHREGJrkx8NGjzDqqc0vQ4Y2PJotxZghRBonldjP18qK2T0GR1pPdmJ6l3FFZ5cQDUUvreZIZyiXKBwKaKiTToOb1wZjeXXKOYJYZ8Iy0CdiU8lP9tC2cgSZ2OFo0ZK2nfk5GSMk0guNZAqcfxUK5gK6hM56RByl9BEYJV4PyjeMZzxD1jR065PvREp3swsziZjTjt9eZ9gebP5u1VMhhAr3gPbgZc2B9RfQuFLI3C6qIl8t5MuewA1cBL90kj6RFRbc5qokdG8JsFixlRSJMjYqN16ajg55jZiNEhBDWtZIWDcv0PZhRXbNqRdjLs1NkaHZlr5Z8eux51l27bZH4izhFWT6UVcpm768SClQghuB6GjAb2PzADx41klWou8k2hpGhsuhgU882mhHGjLwwlBiFrECJnNJQnQwtYxYcKZBzGZAyFZBREC3lIeGwVGnft1kfhgLUMLGHSrjBUSM4MvBNwjhDhAQxBaLp3UlMoUQaTKTlgxpqsnENEHwkKSdkygOOV4g9XrpxTDyPgiGe9kauWBH7GYZ8kniNbFxW6FHg0hhf0BCTN24kl6ZhZsruq81FxrcavYB9d8WsAkqEUbCrZyHBQZrO0RPsFxmMpbYrPZmA1OaPYedEXvfbkBmIljaLuTN8xb9xrWi1SKNT9VVkGC2MXiKmNPRIn74aAJfO9qYEMEJ8Pz2t1lt1ifT9wCcFFoZAnW643BHckq8IuG3YTmCoKBfFMQ6hbcp2XjwZh0xNCZLOt4qgPO22yYIyZv0H1LLuqBRMa9LsRAIuHmgFea1imWt5IDhIc3VfXrYlXpordGxn4jDZ8qnrQlldPbCU3Dr28NkGIgdGEkV5IWkza6RzUPhVwXsCrgsfEbq7xLD6teoEHbQVQbrdHu6K6JtRv1QBD8ZCZwdd6HldIwe4TtLlzcWgZCO5XCZbHVYc1E5GPQgOXKm1aGiSq8esBpOcyMVe7zVGRlW9WVi8qmj0Vh2T2MyM4ZBTY2FFnkWFpHMFhV1wETOYUkNfb4pJD806R7FgIHbZeprx0t9wQ5D3uDzLnvt3tI9hnl02TE7ud3WKE7QsWhqN8amo52NkTY1EQagY3QXv5rz34yLcyPxJ2Zx3ptdZpstUwzSbvxSucQQ5wkekds8OvZdfZt2M40eZzjpWRb3NwQyTg7069o8Gxm4Hz20dNssfOcRP9RWL9tUwSZfFxhOk0oAvGsY6CCcLjN60p1F095JyK3540TgtZHMGHyVFZk7o3xWRYfNjhe4E1ZpR5LLIwkxlDwqUzUdEAa2ePhzSZoOg3oiuzZjkQR2XiA7VSrZFh3h0JqvEgRj1euOCIzVTBKZ0gbijfQVe6PTZoPcMv3bH7v8i63KeZoX3oZ5dZnjrmcZxyhvwi2c9I4mEkScvkzZJGMjUu1u1G8isoThYJRc2FjUPEVkKCZ0WAtgCuEY6Lek7RfKFdfvWDuULWS6yd5Gd1YP7nX2nvmUjCacOhMEDKvBuim5BEuKnkaRArLesu24rwcYDRNNAMKBXsKr2wUZ0llBXPAeOF9AP9VZtuLIGgAFVgZEtSLPQrhwHVDzs22fJ713ECAbUA2OdtGxjYi2UY9k3wVPw6mZfTBUSLGxJm2BeZlNUZzp1yjengzWRhlF9WV6adeQCpfZhLpMXW2nD4jf7coYEADIXuKb86tMK216a6TCzB4VRuy4M0Upu3YKo0Ec4mZlMDrDzY4NOvz932cb6nfCxssBfE5FeIMUZExZ2BAQiR3JZ47ssCSEu52r3hGaQq29mUTB2Tbo8zZxOnPp0v88eieHjKNwgIzLwkVvUp3oOgGABm2dwitORZoHUp5vWVsgxzD2ZcTM7hqwgU5jLG0dtZaZKoo9dZkzK9qoX26aN24wMTxhe4c6MI5qJtue7cr9DQZi9V1YMw7gyRS9q9s0gkxXM0OrJya6sskhygz8gjyfbprY0ITe1ogRvCS1XH4qDexJ1nvcUEIN8MVDJtOGxmr2adviSmUIUWsBIsTTORAy1Luo1QMYQTEPMfAllwFFjQPbvnhiuuY1CaSCZFpqpUy8Z8E6EK97oovzwjDP7DW464c49u2GSN7rGwiCdQiwZjz9ybjKyiNQgsE3Z3axIU9hR7AeJAmNOBpy0J8BybzfCZ03XLsGBmQ186EWyEEtFyet9C9Z68nQ00FK95Uxq2uZiZoN0xhorGP1Yfs4ycYx221RZnb8QhtekBHZ8MwCaf2b06h7joMQHn2AkANfAH0ss0fOJi27YN4MOM84In7oNyBqbrOC1ZLJwhqRZrNvyzQ4L8S3UzXd28jEGf1Go0E2ZC2sTqDt6FPA3ickr8HTHNFwZFUXIVSlnCkhfuc56K3JyEzUDJShjkLdQb54pqbtFZ2tgVkRvS1tm3IKEGS5kfPLJfGYUYNA2dd0Jo5oaV0ZtLTh4Zfdg3zlynvwOS2qs6L38Zd2eZmlvXffWCLo9Jjj7dNSaMHjR1HZddwfRkYZwwodWEdHTQsFuIb2nR7HcSjZt5fw7Z2LZGzHenL70h0OPWt8oxRkSOUx25efz4geZtpyVfccR1IZe1hQj25oOaZERZGAoCaC0m0Yg9sk6ZnvDbCmk5v1DK6RubEfU5jTwERQEU2tZcV5cab5JG8DSpZkrk6VLfNUXaYD4IhCZBI6wP7Ws8iUUY8Ea5wgSd69M4sQGdpkJ5xZFg6SsRW2FVabAF1l5WRejLHFzTIZ54kMKf6Z1iEGce0h71Ixnw0fAQFrcXMA0IhwtEJPVZ0U4Nzmw30zAYrlXUvaQKsnHlWuwB5yRxPF0cq55SyBJdjZjK6gdsjKfDq7L1Y7Z2xSuswc2b02TgFNmMHRgYAV8acs2s42Qu0xcn6pkNBkhsomzsQ1I2X56Qgo8Wy94qFGqvQf6b2tBLHkz2AaB4Qj9tul2xACiMICmOL9PaxhmAQzZ6sZmOmBZ3uN1H4r7bZt8PZwv7Go8I0C0R87DxY2f01WhE45o8Xcq4Kyl0yyDLf3bBQuF7WwfVZbzM3zIdBJfSokGMqDXYMc1cisEbb81FHAgMvcuZxRE9TovetH7lDyydiKqVBRl9xlisZ6ASEGcs60MvZDOBPBY11jGZdHmzW6orgZ8f71MDyXBHhB2PqJIoj68vQ5SzxvXmgfGlTO11tLhmkY1nwfffaxpfnnBBA0XDrobIzEjE2Zfy8u1eNEbK2vzQ6BRhqw0EPxUwOc0YgowMyrb9nPe3j9uun030TwNJwwVvzdGbqH0psZ5OIUJmSObG5T5PjFkDkhPLV284Ztw5rtlFxm6YcAziM2s4152a1Aul03VNpwwEknn4PKv8nrfjWZD3GaGrG2tm86AuKPNiFi8sFJjRAfvKSw0p6ZkEBnVhX0uf5tv8LPLy0FR48TqhCJZyco65ZrRYY6p6Z0n8N5hRU9ACIOy0GEipbisPg2OGqFMnayMiPNV1cRQBOmDdGzq8rAoOqnaOJZLuKJA0b9ZC6OOR2F3ZB4Z7mamHm4tCbtNo6n7t6fKshM7fKDbDBR0bDlNN8r01RCupMc5d61e6ehFeBTHdXg4EbC3XdLJADdgQSmZ5H43PxQxLjDuD0dIKfeTEKJEIdeZon5qa4IHiyUGe9Z7UBF4rBeanLA9YJS5j74g2YEZFdsfzOMnJszFZA4dkjMCigLDCfPam3HRTFtCxZJfDCn438AasLa1sZCAI9WVgIQqYxP8s2mdsSukLospyYpEk1i2T7YQd5WsrgSa8hAq2pZhkjlJRaWaqSVFRcYbZETSFZcOFMHZJ31YkFZkOFRcxMCfKF2U50m6lKkYvTbbsmOA3wD0oivu3kfZHaY2EZ18jnUlKAzZ5DNC8SNX05w2bioEJYGChZeJa0iZ6YVZiZJdoC1LZBQwWK42ARq41Qs3ZeE3pSz8FWqRqL5KvFuAMILSjd0Fzal9wDBncscKyfoAVUbfPz2wAOsRsk4AfiscHtHZhzJ39Q4hlkYdp6W1fQSksuxvsYIQyl2kyBJ8BUv2dgGw50SETi95ZzHjsQaQxcHOaxi98tQJj1THkYd8pHBdLrtHJttAi3hlayIKaZvqAM4kIzG6iT6c6PLAqalvV0mPqhvFHucKqKeMKPF9Wg45UBDpMfCqd6ZEAnmWWZu9JQrc2H7jwQAEx6rXDIhp1hOw3B5WtV5lEJ9C28nI1kI7zkNERXlihv6hQkyA2BziUD2x30gsZIbi920hnAFJT12nqjdfaC87uzPByuHLGRhfs8ZA5EaOx3cLBrMgjJOnUZv7Sh02gIRK1y2KHmeA1UYXHKaV8NSfGx9zP2 Requires: kf5-kdiagram-common = 2.6.0-alt2, libQt5Core.so.5()(64bit) >= set:qh0R00obZbOKB0EU7JMCr6PwrrR61vyG6IAI5MOKgR24gbt1P16a9ERbV3Id4HWCwvAgbe5p5SV0stuU7Q1A0sw3uKUCEtmZizcGaqtKYqkwqSP0a9NI0hyg4b7Zns6XG2C2baHjiXyOvchwnm5n3L3cnKR5rZgJcJbUGP682mkKswTZav6PFQAgyjC2EZjQT8IK3Q1unICNZy0VZ2orZi27Vr5RT9wwNfukbjNbgD5JlQ1NsRF1NgQl5H4xIEpXRBOLWYioq5eLcacps0Mj2oKsBfxC8ytu2gauaM061creV6qz7M7lgMEKZpfZ8kP1kvAJogtyECQISPQLIF421QxXRSjPWhZ5Zr767YWAyq8qIbD2YJJ6wtn2NJQrsuUZj86K2QyJktWsK7Q5wOBCfxaMgZ8HCv5wofS6TxyogUFZ0YLTjNkidG4R0e6FonXCM0aic0g4TFt2FzwZawadpTXb7jCS0988rRftK2pYApfnZezR3Vt1qlwLXZxJ4Cu0Zx0tMgsG1gEoyZw2syvOxeLZaz0aNsFvaAycAXn53z8IZyWKT3HPdjQNmHCWnJsEjc8GNIeV6vQAwyQDSXuPCO3r1kzhgyCawHFN1QJeYard87JyC0YW4NZy706UmZ73bRGYJa0mYZgcUAPSRVykKYed2peUupt2M5NlFdeZHUilcx3iAXsF2Qv1L9gGOuhCG8L9FqxlJh2uqZBgHc0mwyCZpQJJX3, libQt5Core.so.5(Qt_5)(64bit), libQt5Core.so.5(Qt_5.12)(64bit), libQt5Gui.so.5()(64bit) >= set:qig69dNoiWo2wZgjTJ084UGxV5v5LaICv7ZdxO0352HVOqlKoCwR5hcVtNjXo0sfZndivPg5NVRBR63f1RyS8GLCZAXZBZvz2ALflUNqKRKiPWzN8jyACZlHjqYyZ7IItkXKjZz33A5UPOzZfWAieinUQxSyPS0oK3jz3dDIib0F2qhlSzZBu9rMvilT07f9I7ZezYuCK7ZfU96ko2Nys5U7AGFTzTZ4BWcqdH3VGtzQpnrIVPxU7KCpCcZyvZhBfocgkeEznNNzlhkKVZ6TDvxpDZyZJbQ7YsKdt3atK0lLPnZp7HYhD1TQM8ePtnL2QT64ktNUXVZeGdKDGODMWSrKIIcyZBq6DMNdtCitGBKAN6Ltgte3Z5DFVQ0ySZHkgDDnZa2sjlkMguSkAWAJIwCGYSZLG88HcoYcQEZBwGuy4wLj84nIknaQd7ZveDMKUZ8WRqKo668JrD6vZzgCdyGLo1EiBBjGsMMcTvUv5AXebup2N9LAWNxooUBIBbaCDggP4qsiaoyo1utfmDfB0X7X3uKCtCflo6OmCyOuhhDONe5ZJSYoXjv1ugL0CjXcSAQdF9WatNSuPkfT4mhhTOE69mZL4v0c2kUF2avpuNwfRe7pQieritZ7rvrBdRJq5, libQt5Gui.so.5(Qt_5)(64bit), libQt5Svg.so.5()(64bit) >= set:mkNNE4oo2, libQt5Svg.so.5(Qt_5)(64bit), libQt5Widgets.so.5()(64bit) >= set:riOgiY808VaVqDdyRxC0wPGO9RWTrVL5yjGi525zM1pgYfEPZIJkwx0SU0eHZAA4wLRWO12f9sjFMFis6gZrGNXC9NaHauVgDrEPL9jFZwQG5bfeBWJrP5Fcm3W1WZc1xDbrYHjwPSffrGU81eo7MhKEktNBKJFCoyBTjs2K4jOgWM2PIz2kobXOKg1WqOSkZcMP6vipZlwOZqtOduvhZf7IOwaB5GwKty0nw2etiErmkACO8tpA1UgoD6T5aOapp4BMGUy0gipIOlTY9CNqvt058JhLR6b90MTGQeAX3BPFy1fTNnrDFgBotvaJO7vWxaPhdVBebNvWbcp7oHM7OW5O0PLlgU53HIRMPi6cdy3n5ryAHSQcvrdW2di0wXRFsaaEqbedF7K5c7Br8ZmiiNB1b2A8rNZ7QYnI0rU5a9bd2cRXAVCy1YrwMt806NHQ228biT5m9Xw4kEwiEnxw7PapfvVZpi4ybeEC0EMNM1UGqZEfJZ1lGZ62gvjhZrQXcJybGZCsj2Pc2cJ56QwDHt2ipeL4tNAhxw8uZleFI01Yq65ZK4uh5dRsPhdH0qLxi6nlm52CXu3X8rjs6j0S8ej3i4RMP3OnY04cPc2OzALIVdibPO19t7Bl0Hn5LPoMIZsE0Fgj8k0oDzkhKmZmJC0qpDFdV7Z0UOJ4AF6YbbV8QhGNz0sVPLjQ0ylzctqdYzlVzpVAFslyODT4Fl7Zp5axCJFdfrK4ZK7LCWZFPoQc4n2ulFcsdZbmZc2EF40VxzfuopfhPc06ptWOssP9S2lJ3SMI8ZpipIEr2qWiIMrHNsgnqrpmXrVt1kQMIY2, libQt5Widgets.so.5(Qt_5)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.S0T9ty Creating libkchart2-debuginfo package Processing files: libkgantt2-2.6.0-alt2 warning: File listed twice: /usr/lib64/libKGantt.so.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TlW6d2 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,qml,shell) lib.prov: /usr/src/tmp/kf5-kdiagram-buildroot/usr/lib64/libKGantt.so.2: 612 symbols, 20 bpp warning: hash collision: _ZNK6KGantt13GraphicsScene8findItemERK11QModelIndex _ZNK6KGantt20ForwardingProxyModel11columnCountERK11QModelIndex Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yf2N7y find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,qml,rpmlib,shebang,shell,static,symlinks) Provides: libKGantt.so.2()(64bit) = set:nd6ZrvfbOkRtzOQZCT82NE5pZjgjmUAvMZ8cAmKdZAfkZcE6anZEivA3crglG1zMr4WGYNwDofzdZb8eUiRRk7xeZfCeM8V3kk3Mnn9J6vZkMZ7Mh7kOstzsHMr5qzZnx5BV7lxb3kfwkP8zOQ16NIdZ342GSkvbgk2eAdNQAL0ahJw52QDVHU8BNFccW0wy7FE45jz1cXZgjo5gwiuN23bRAlrY2oUPZemnQnlABDp6mrlT9lAN1G5BFzfZfwYFzpVSq34EfC4EXoOv5SB2o5JyMXPfn2a9zY40CjEaSwBeNN0YyfhoybGlnBYu8W6i6hDNakCwxCTobV8e0ZhOq31Z4jZcojhIjz70m1d1g2nUdLFu3lR253o2VB5D8zNm4a3Wrk00OTN4fobmxsZag4Eqp72UYgGv5st9vMuTNzvTkK004gK1FAoapoXBrLJ9zYUUvWq2HhJ8D2ffZzDrss2EgF1OlQXrpqXqRBzxzIP4NeL2ZBKhYUdj0oFkiZpvAhYlZkCjpOzpeR1jZa0ZwSKYmiAA4cA7WSwHMFY7pMZmdJFSNtClZyvp3CPlzfu3rB5JioqbeV0lR7Wpdp5i5B9U7BlMaWh9IizS8zA7lHZ3xZHVjupwkUsowTcNCi8sdYY4lBIDsqsBxxqFkRFOoh5tgO49jcsqkvKW1zpmbK3DOxjLNGIfJTauOrQV0R2vtZmlSakXK9N6GdNWDKdrzhXDC33xSZwCzbQse0fzRKh45O8ZefHQre8uLRAqAJa7CrZ1ZBM8In8q28MHApQmWpFb1UfxFDgfyI07rkMBjN71HMwIecs8cUsFkwRphZyuyUv5BImOkW2RRfCn0ZzWH5I7TPx4N4NRGwpv7zcJ3NiQMk9921jnkoYcS16aQnb6ltZpByDvgXRxTOKvgoSmOCKPgLZJtqKhU1n3wnD0NKgdBuIcR25Io4DP52Wh2o37PmUEVisUeiy3am0pBC8t0Rsb0RJHmdwSzciMzaBcTK7gzDAI42y35KRZGIZm4vhGxo4tzFEOa0TjqE8kia6w1rENuisVBBSuwm8xwZ4lEwre3xymyNOFxPtKZvKtMtshGklTgwMKKeYr4iNF3A3cjhgzn1WMZE7IbxayYmRqCoWw2aZu4cSbPDpnI9rHNLyGqqIDKuNiINPV9syFNZzGSZiZwAqbOyZGQcZoxSH98qI1OqpjZ3OOgWJ41vCQGJZLCxWwSHWtrE0ohsIXRrFPzGO4WXh4QYWRMj11MjgaV8enuW Requires: kf5-kdiagram-common = 2.6.0-alt2, libQt5Core.so.5()(64bit) >= set:qi0eKEjeXw28nvnkINTnGdqnEq1OEWcsIff2nk5P1ZsZbCdMRbZ3MesZEvAYgrfZ2hpOT39Z5lnJGSebw4MJc1nXhtK4HLZH4ENViZ0eb2tyz4PyCyHXZpWza5mQamN7mosMnY4n3L3sKslncP7OOQs1nQqeanelvpAMphHZpNHaNFmdZrZn8MCuNmFoj0GbRIgwp67JL3Ld5hZ9jaIWXcwwyvIhJoau2QFySaWwdnZa1NIi5e58tiptFYHKL4KUxFTvYole0Ej2U2r2WidhAtuZtO1ZGW61sreh6SYhB26RZazKApUsGV1BJHR5XMF59fWnpGIOzhIZaMQF47s4HXLJR0Ibohc551ogHUv5EbSOxqYQPVs7hTtjhm16G7DqZp2gofS6ThBoLAv9REikje6p0KZkgpZrGrM3ICg7PGZ273257u4wZ3JDHZuzF7OS5El1ZtZ3g15lLgw8EVDsJQSroeZJhdyjFvgjTvfctKhr8fRfROhTcg4LrtOqYx8VbJTWdHkuobwF2su89L17ToFnpL1VhH6tyUZy7MZeCBqJYJGTtR7MTVTktB9O07BO5l4MUzAZz8AVC622mkHuGzK1yKDViVSEbrLRFferZbZm3ya1fqZBEl6Mljv4vtF4, libQt5Core.so.5(Qt_5)(64bit), libQt5Core.so.5(Qt_5.12)(64bit), libQt5Gui.so.5()(64bit) >= set:qjI2H8FtJHKZuR7PY0MFD0XXKEZqPvGZ8uhbF98hFpNJDi79NnaEI8CoT2Izhpzm074BLWAieinVP3Grkrfalfbicaucyf9clPbzASqAKZGwAHBDfDXRSD3NfsJFK14szsWXQANTwPQA4VVdEPgAejMEpUcgmgDMPfcNc0fRoQ4nnGH3f8IP5DxxUndAt4NGDogZByjtPV1tFS2Vacf1h4fZ2UirAsWb0vZghQUU9W2DsVBEjZji7jHZmbpjd, libQt5Gui.so.5(Qt_5)(64bit), libQt5PrintSupport.so.5()(64bit) >= set:ml7Ya1, libQt5PrintSupport.so.5(Qt_5)(64bit), libQt5Widgets.so.5()(64bit) >= set:riZ94BA28hXdHOSP0NfLhIeQ4AjCZ4MaBZeESIl8pQdpp5AOaZCZsIa2zcFJkxofxnOEPPVW0IjXZDDv6KFTvdyFnaOZxn7ZpRZzM2YK3NmNZo1hLMtdRrYfuKSn6qoaZ4K3N1fTy4bi89eooXUVsaVX0StRZjY8GaF5q5Jf9grUTgyngNcCi5QOo6VKl20KZb9OvZ69iZnPyLB6QPpKPZKPawU5dDutbkca81hOi5asyXhFVgZEOxhUbAZBc0HPCGVZ5TpgLhBy96c1SV6bSZhLXTZn6PI8lZmBs1D2YbAph9VUNkwFAxCg9MoG1AgjcIdJuJeaxAs8X2jqaVIlOSkZcMP6Pa1c9veVCby2aOwa5UAG722zNxJdIW9CgNGuihoGxgNFjG3X9orgn3azcYQIAqhyYSKXLIyxonenZC5CUcLdyhtZI6V6R0MUKS6URjZGrG38jsjuavVRkelI5JzuMxHouwYwWEiIQAiRBLf6lnhFJDdqglUzXvAgPsXeZC5I7aIz2aboPPitRgAKCvallM0IifepZmHiqz7UaXZ1ewBPOAKzU0UtE8QH8Z0DEamZhAjbbsb6k6RaZKaZtgjDWsK2w4pXolPpAZ35NWjOyiwrupZmkcQ4mzZgLl69XQtOU7EEleMAd8GziFg65mtoEFZ0qI9J6jK4E4V98OGJPD2XQSYseFOAO4G0ERn1ZDy3DjevmYT6uXGrmZvqF3mKh9kTpm1q7wayVftA7aeeOvzu5FZeCTEjz1ra9SqZcDSZoaZ1YYs4Ti5AWZmwnWwWjTwwWr5nkZJIBEBDZgRKvQYZgc4tfBYxGMU8MDTpQZt0ZA638Zz46po96jHMcl30JFSI3vS5LfcxnQdV6o3RnKEetUYV938u7TPUJvYdWCtAtLNeyWs9eglH6CdU8Vsy9DsW3HP1M4BwiUgdPcl3zALMcY5mT6AZ62fH3Z2fjZ30Hicjyu8kAwpWqAUSsGmmb310AsiWwpIEZowHkCgAmPFpoIC4TOuAi8Bqntj4CAi7ItDDRWOEYpPp2IZBBSoqXtyKxOFTrfFBhbsnIfXQaalepanBRuXD5axCBrbNZuiYX7frsNEp8K4u60xDA0cIvbf4hWPZ1mLQZitHkf30O3DgWhOM9BcCbHzC8OZkZhOXHYUQaVP3MV9ISsiJJnzkZrfUZAgEcT06LdQ94gPTIBXZEajPhCUfy27irhxcOyb9rqejgN8Z3EJfgrHq3BBPj3m8WFF0N5, libQt5Widgets.so.5(Qt_5)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VHknb9 Creating libkgantt2-debuginfo package Processing files: libkchart2-debuginfo-2.6.0-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MNXWDM find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nLwzgt find-requires: running scripts (debuginfo) Provides: debug64(libKChart.so.2) Requires: libkchart2 = 2.6.0-alt2, debug64(libQt5Core.so.5), debug64(libQt5Gui.so.5), debug64(libQt5Svg.so.5), debug64(libQt5Widgets.so.5), debug64(libc.so.6), debug64(libm.so.6), debug64(libstdc++.so.6) Processing files: libkgantt2-debuginfo-2.6.0-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mVN75c find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lPoz5Z find-requires: running scripts (debuginfo) Provides: debug64(libKGantt.so.2) Requires: libkgantt2 = 2.6.0-alt2, debug64(libQt5Core.so.5), debug64(libQt5Gui.so.5), debug64(libQt5PrintSupport.so.5), debug64(libQt5Widgets.so.5), debug64(libc.so.6), debug64(libstdc++.so.6) Adding to libkchart2 a strict dependency on kf5-kdiagram-common Adding to libkgantt2 a strict dependency on kf5-kdiagram-common Adding to libkchart2-debuginfo a strict dependency on libkchart2 Adding to libkgantt2-debuginfo a strict dependency on libkgantt2 Adding to kf5-kdiagram-devel a strict dependency on libkchart2 Adding to kf5-kdiagram-devel a strict dependency on libkgantt2 Removing 1 extra deps from kf5-kdiagram-devel due to dependency on libkchart2 Removing 1 extra deps from kf5-kdiagram-devel due to dependency on libkgantt2 Wrote: /usr/src/RPM/RPMS/noarch/kf5-kdiagram-common-2.6.0-alt2.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/kf5-kdiagram-devel-2.6.0-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkchart2-2.6.0-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkgantt2-2.6.0-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkchart2-debuginfo-2.6.0-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkgantt2-debuginfo-2.6.0-alt2.x86_64.rpm 261.49user 21.82system 1:58.25elapsed 239%CPU (0avgtext+0avgdata 334456maxresident)k 0inputs+0outputs (0major+8170803minor)pagefaults 0swaps 296.46user 27.49system 2:42.08elapsed 199%CPU (0avgtext+0avgdata 334456maxresident)k 0inputs+0outputs (0major+8899441minor)pagefaults 0swaps