<86>Apr 21 02:50:47 userdel[40407]: delete user 'rooter' <86>Apr 21 02:50:48 groupadd[40414]: group added to /etc/group: name=rooter, GID=621 <86>Apr 21 02:50:48 groupadd[40414]: group added to /etc/gshadow: name=rooter <86>Apr 21 02:50:48 groupadd[40414]: new group: name=rooter, GID=621 <86>Apr 21 02:50:48 useradd[40420]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Apr 21 02:50:48 userdel[40429]: delete user 'builder' <86>Apr 21 02:50:48 userdel[40429]: removed group 'builder' owned by 'builder' <86>Apr 21 02:50:48 userdel[40429]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 02:50:48 groupadd[40434]: group added to /etc/group: name=builder, GID=622 <86>Apr 21 02:50:48 groupadd[40434]: group added to /etc/gshadow: name=builder <86>Apr 21 02:50:48 groupadd[40434]: new group: name=builder, GID=622 <86>Apr 21 02:50:48 useradd[40442]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Apr 21 02:50:50 rpmi: qt5-base-common-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:50 rpmi: libxkbcommon-0.7.2-alt0.M80P.1 1503524837 installed <13>Apr 21 02:50:50 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 02:50:50 rpmi: rpm-macros-qt5-5.9.6-alt4 p8.214198.100 1539394213 installed <13>Apr 21 02:50:50 rpmi: libmtdev-1.1.5-alt1 1399539298 installed <13>Apr 21 02:50:50 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 21 02:50:50 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 21 02:50:50 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 21 02:50:50 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Apr 21 02:50:51 rpmi: llvm-3.8.0-alt0.M80P.1 1498243354 installed <13>Apr 21 02:50:53 rpmi: clang-3.8.0-alt0.M80P.1 1498243354 installed <13>Apr 21 02:50:53 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 02:50:53 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 02:50:53 rpmi: llvm-devel-3.8.0-alt0.M80P.1 1498243354 installed <13>Apr 21 02:50:53 rpmi: clang-devel-3.8.0-alt0.M80P.1 1498243354 installed <13>Apr 21 02:50:53 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 21 02:50:53 rpmi: qt5-xmlpatterns-common-5.9.6-alt1.M80P.1 1530098369 installed <13>Apr 21 02:50:53 rpmi: qt5-declarative-common-5.9.6-alt1.M80P.1 1530099087 installed <13>Apr 21 02:50:53 rpmi: qt5-svg-common-5.9.6-alt1.M80P.1 1530106446 installed <13>Apr 21 02:50:53 rpmi: rpm-macros-ubt-0.2-alt1.M80P.1 1488269670 installed <13>Apr 21 02:50:53 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Apr 21 02:50:53 rpmi: xxd-4:8.0.711-alt0.M80P.4 1525665403 installed <13>Apr 21 02:50:53 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 21 02:50:53 rpmi: libts-1.0-alt1.qa1 1366249318 installed <13>Apr 21 02:50:53 rpmi: libpcre2-10.23-alt0.M80P.1 1487919866 installed <13>Apr 21 02:50:54 rpmi: libqt5-core-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libqt5-sql-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libqt5-concurrent-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libqt5-test-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libqt5-xml-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Apr 21 02:50:54 rpmi: libwacom-data-0.26-alt0.M80P.1 1503911618 installed <13>Apr 21 02:50:54 rpmi: udev-rules-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431539 installed <13>Apr 21 02:50:54 rpmi: libgudev-1:231-alt0.M80P.1 1487052830 installed <13>Apr 21 02:50:54 rpmi: libwacom-0.26-alt0.M80P.1 1503911571 installed <13>Apr 21 02:50:54 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 21 02:50:54 rpmi: libevdev-1.5.7-alt0.M80P.1 1493997769 installed <13>Apr 21 02:50:54 rpmi: libinput-1.9.1-alt0.M80P.1 1509918607 installed <13>Apr 21 02:50:54 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 21 02:50:54 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 21 02:50:54 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 21 02:50:54 rpmi: libsystemd-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431492 installed <13>Apr 21 02:50:54 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 21 02:50:54 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Apr 21 02:50:54 rpmi: libqt5-dbus-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libqt5-network-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:54 rpmi: libqt5-xmlpatterns-5.9.6-alt1.M80P.1 1530098158 installed <13>Apr 21 02:50:54 rpmi: xorg-xproto-devel-7.0.31-alt0.M80P.1 p8+226471.100.1.1 1554301566 installed <13>Apr 21 02:50:54 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 21 02:50:54 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 21 02:50:54 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 21 02:50:54 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 21 02:50:54 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 21 02:50:54 rpmi: libgbm-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 02:50:54 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 21 02:50:54 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 21 02:50:54 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 21 02:50:54 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 02:50:54 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 21 02:50:54 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 21 02:50:54 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 21 02:50:54 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 21 02:50:54 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 21 02:50:54 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 21 02:50:54 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 02:50:54 rpmi: libEGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 02:50:55 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 02:50:55 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 21 02:50:55 rpmi: libEGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 02:50:55 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 02:50:55 rpmi: libxcbutil-icccm-0.4.1-alt1 1396161554 installed <13>Apr 21 02:50:55 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Apr 21 02:50:55 rpmi: libxcbutil-image-0.4.0-alt1 1446204177 installed <13>Apr 21 02:50:55 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204121 installed <13>Apr 21 02:50:55 rpmi: libxcb-render-util-0.3.9-alt2 1446129892 installed <13>Apr 21 02:50:55 rpmi: libxkbcommon-x11-0.7.2-alt0.M80P.1 1503524837 installed <13>Apr 21 02:50:55 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 21 02:50:56 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 02:50:56 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 02:50:56 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 02:50:56 rpmi: libjsoncpp1-1.7.2-alt3.M80P.1 1518818590 installed <13>Apr 21 02:50:56 rpmi: publicsuffix-list-dafsa-20190329-alt1 p8+226349.100.1.1 1554128046 installed <13>Apr 21 02:50:56 rpmi: libpsl-0.18.0-alt0.M80P.1 1502785107 installed <13>Apr 21 02:50:56 rpmi: libnghttp2-1.8.0-alt1 1456818805 installed <13>Apr 21 02:50:56 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 02:50:56 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 02:50:56 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 02:50:56 rpmi: libbrotlicommon0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 21 02:50:56 rpmi: libbrotlidec0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 21 02:50:56 rpmi: libnettle6-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 21 02:50:56 rpmi: liblzo2-2.08-alt1 1405435908 installed <13>Apr 21 02:50:57 rpmi: libarchive13-3.2.1-alt1 1467155787 installed <13>Apr 21 02:50:57 rpmi: rpm-macros-cmake-3.6.3-alt0.1.M80P.1 1505734848 installed <13>Apr 21 02:50:57 rpmi: cmake-modules-3.6.3-alt0.1.M80P.1 1505734959 installed <13>Apr 21 02:50:57 rpmi: rpm-build-ubt-0.3.1-alt1.M80P.1 1513692283 installed <86>Apr 21 02:50:57 groupadd[60007]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 02:50:57 groupadd[60007]: group added to /etc/gshadow: name=_keytab <86>Apr 21 02:50:57 groupadd[60007]: new group: name=_keytab, GID=499 <13>Apr 21 02:50:57 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 02:50:57 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 02:50:57 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 21 02:50:57 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 21 02:50:57 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 21 02:50:58 fontconfig: Updating fonts cache: succeeded [ DONE ] <86>Apr 21 02:50:58 groupadd[62581]: group added to /etc/group: name=sasl, GID=498 <86>Apr 21 02:50:58 groupadd[62581]: group added to /etc/gshadow: name=sasl <86>Apr 21 02:50:58 groupadd[62581]: new group: name=sasl, GID=498 <13>Apr 21 02:50:58 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 21 02:50:58 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 21 02:50:58 rpmi: libcurl-7.64.0-alt1 p8+220788.100.1.1 1549495393 installed <13>Apr 21 02:50:58 rpmi: cmake-3.6.3-alt0.1.M80P.1 1505734848 installed <13>Apr 21 02:50:58 rpmi: libcups-2.1.0-alt2.M80P.4 p8+223280.100.1.1 1551372192 installed <13>Apr 21 02:50:58 rpmi: libqt5-xcbqpa-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:58 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:58 rpmi: libqt5-eglfskmssupport-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:58 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:58 rpmi: libqt5-gui-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:58 rpmi: libqt5-widgets-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:58 rpmi: libqt5-eglfsdeviceintegration-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:59 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:59 rpmi: libqt5-opengl-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:59 rpmi: libqt5-printsupport-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:59 rpmi: qt5-base-devel-5.9.6-alt4 p8.214198.100 1539394075 installed <13>Apr 21 02:50:59 rpmi: libqt5-svg-5.9.6-alt1.M80P.1 1530105886 installed <13>Apr 21 02:50:59 rpmi: qt5-svg-devel-5.9.6-alt1.M80P.1 1530105886 installed <13>Apr 21 02:50:59 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:59 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:59 rpmi: libqt5-qml-5.9.6-alt1.M80P.1 1530099087 installed <13>Apr 21 02:50:59 rpmi: rpm-build-qml-5.9.6-alt1.M80P.1 1530099087 installed <13>Apr 21 02:50:59 rpmi: python-module-clang-3.8-alt0.M80P.1 1521105104 installed <13>Apr 21 02:50:59 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:59 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:59 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 02:50:59 rpmi: extra-cmake-modules-5.49.0-alt1.M80P.1 p8.212671.100 1536816590 installed <13>Apr 21 02:50:59 rpmi: libqt5-quick-5.9.6-alt1.M80P.1 1530099087 installed <13>Apr 21 02:50:59 rpmi: rpm-build-kf5-5.11.0-alt1.M80P.1 1510955052 installed Installing kf5-kdiagram-2.6.0-alt1.M80P.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.7205 + 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.7205 + 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 -Wall -g -O2' + CFLAGS='-pipe -Wall -g -O2' + export 'CXXFLAGS=-pipe -Wall -g -O2' + CXXFLAGS='-pipe -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 5.3.1 -- The CXX compiler identification is GNU 5.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:345 (message): BIN_INSTALL_DIR is deprecated, use KDE_INSTALL_BINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:433 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): SBIN_INSTALL_DIR is deprecated, use KDE_INSTALL_SBINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:436 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): LIB_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:439 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): LIBEXEC_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBEXECDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:449 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (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:400 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:477 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): IMPORTS_INSTALL_DIR is deprecated, use KDE_INSTALL_QTQUICKIMPORTSDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:400 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:483 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): QML_INSTALL_DIR is deprecated, use KDE_INSTALL_QMLDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:400 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:489 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): PLUGIN_INSTALL_DIR is deprecated, use KDE_INSTALL_PLUGINDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:511 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): DATA_INSTALL_DIR is deprecated, use KDE_INSTALL_DATADIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:541 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): HTML_INSTALL_DIR is deprecated, use KDE_INSTALL_DOCBUNDLEDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:562 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): KCFG_INSTALL_DIR is deprecated, use KDE_INSTALL_KCFGDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:565 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): SERVICES_INSTALL_DIR is deprecated, use KDE_INSTALL_KSERVICES5DIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:571 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): SERVICETYPES_INSTALL_DIR is deprecated, use KDE_INSTALL_KSERVICETYPES5DIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:574 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): KNOTIFYRC_INSTALL_DIR is deprecated, use KDE_INSTALL_KNOTIFY5RCDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:577 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): KXMLGUI_INSTALL_DIR is deprecated, use KDE_INSTALL_KXMLGUI5DIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:580 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): ICON_INSTALL_DIR is deprecated, use KDE_INSTALL_ICONDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:587 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (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:602 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (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:608 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (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:622 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (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:625 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (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:628 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): SYSCONF_INSTALL_DIR is deprecated, use KDE_INSTALL_SYSCONFDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:400 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:641 (_define_absolute) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): CONFIG_INSTALL_DIR is deprecated, use KDE_INSTALL_CONFDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:644 (_define_relative) CMakeLists.txt:9 (include) CMake Deprecation Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:345 (message): AUTOSTART_INSTALL_DIR is deprecated, use KDE_INSTALL_AUTOSTARTDIR instead. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:647 (_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.9.6) * Qt5PrintSupport * Qt5Svg * Qt5Widgets * Qt5 (required version >= 5.2.0) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: 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 + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' /usr/bin/cmake -H/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_automoc.dir/build.make src/KChart/CMakeFiles/KChart_automoc.dir/depend make -f src/KGantt/CMakeFiles/KGantt_automoc.dir/build.make src/KGantt/CMakeFiles/KGantt_automoc.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_automoc.dir/DependInfo.cmake --color= 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_automoc.dir/DependInfo.cmake --color= Scanning dependencies of target KChart_automoc make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart_automoc.dir/build.make src/KChart/CMakeFiles/KChart_automoc.dir/build make[2]: Entering directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' Scanning dependencies of target KGantt_automoc [ 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_automoc.dir/ Release make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt_automoc.dir/build.make src/KGantt/CMakeFiles/KGantt_automoc.dir/build make[2]: Entering directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 2%] 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_automoc.dir/ Release Generating moc source moc_kganttabstractgrid.cpp Generating moc source moc_kganttconstraintmodel.cpp Generating moc source moc_kganttconstraintproxy.cpp Generating moc source moc_kganttdatetimegrid.cpp Generating moc source moc_kganttforwardingproxymodel.cpp Generating moc source moc_kganttgraphicsscene.cpp Generating moc source moc_kganttgraphicsview.cpp Generating moc source moc_kganttitemdelegate.cpp Generating moc source moc_kganttproxymodel.cpp Generating moc source moc_kganttsummaryhandlingproxymodel.cpp Generating moc source moc_kganttview.cpp Generating moc source moc_kganttgraphicsview_p.cpp Generating moc source moc_kganttlegend.cpp Generating moc source moc_kganttview_p.cpp Generating moc compilation KGantt_automoc.cpp make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 2%] Built target KGantt_automoc 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%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 3%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttstyleoptionganttitem.cpp.o [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 6%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 7%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 7%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 8%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/kganttview.cpp:20:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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] In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.cpp:20:0: /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/kganttgraphicsview.cpp:20:0: /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:0: /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:0, 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:0, 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:0, 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:0, 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:0: /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 ); ^ /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 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.cpp:23:0: /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:0: /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:82: 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:83: 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/kgantttreeviewrowcontroller.cpp: In destructor 'virtual KGantt::TreeViewRowController::~TreeViewRowController()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kgantttreeviewrowcontroller.cpp:46:18: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d=0; ^ [ 8%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/kganttlistviewrowcontroller.cpp:20:0: /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; ^ [ 9%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ [ 10%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 11%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 11%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 12%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/kganttgraphicsscene.cpp:20:0: /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:0: /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:0, 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:0, 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:0, 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 ); ^ Generating moc source moc_KChartAbstractCartesianDiagram.cpp Generating moc source moc_KChartBarDiagram.cpp Generating moc source moc_KChartCartesianAxis.cpp Generating moc source moc_KChartCartesianCoordinatePlane.cpp Generating moc source moc_KChartCartesianDiagramDataCompressor_p.cpp Generating moc source moc_KChartLeveyJenningsAxis.cpp Generating moc source moc_KChartLeveyJenningsCoordinatePlane.cpp Generating moc source moc_KChartLeveyJenningsDiagram.cpp Generating moc source moc_KChartLineDiagram.cpp Generating moc source moc_KChartPlotter.cpp Generating moc source moc_KChartPlotterDiagramCompressor.cpp Generating moc source moc_KChartPlotterDiagramCompressor_p.cpp Generating moc source moc_KChartPlotter_p.cpp Generating moc source moc_KChartStockDiagram.cpp Generating moc source moc_KChartAbstractArea.cpp Generating moc source moc_KChartAbstractAreaWidget.cpp Generating moc source moc_KChartAbstractAxis.cpp Generating moc source moc_KChartAbstractCoordinatePlane.cpp Generating moc source moc_KChartAbstractDiagram.cpp Generating moc source moc_KChartAbstractProxyModel.cpp Generating moc source moc_KChartAttributesModel.cpp Generating moc source moc_KChartChart.cpp Generating moc source moc_KChartChart_p.cpp Generating moc source moc_KChartDatasetProxyModel.cpp Generating moc source moc_KChartDatasetSelector.cpp Generating moc source moc_KChartDiagramObserver.cpp Generating moc source moc_KChartHeaderFooter.cpp Generating moc source moc_KChartLegend.cpp Generating moc source moc_KChartModelDataCache_p.cpp Generating moc source moc_KChartPalette.cpp Generating moc source moc_KChartTextArea.cpp Generating moc source moc_KChartWidget.cpp Generating moc source moc_KTextDocument.cpp Generating moc source moc_KChartAbstractPieDiagram.cpp Generating moc source moc_KChartAbstractPolarDiagram.cpp Generating moc source moc_KChartPieDiagram.cpp Generating moc source moc_KChartPolarCoordinatePlane.cpp Generating moc source moc_KChartPolarDiagram.cpp Generating moc source moc_KChartRadarCoordinatePlane.cpp Generating moc source moc_KChartRadarDiagram.cpp Generating moc source moc_KChartRingDiagram.cpp Generating moc source moc_KChartAbstractTernaryDiagram.cpp Generating moc source moc_KChartTernaryAxis.cpp Generating moc source moc_KChartTernaryCoordinatePlane.cpp Generating moc source moc_KChartTernaryLineDiagram.cpp Generating moc source moc_KChartTernaryPointDiagram.cpp Generating moc compilation KChart_automoc.cpp make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 12%] Built target KChart_automoc 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' [ 13%] 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 [ 13%] 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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsscene.cpp:22:0: /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:0: /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:0: /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:0, 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:0, 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:0, 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:0: /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 ); ^ [ 14%] 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 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= /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:96: 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:80: 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:96: 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:80: 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:111: 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:111: 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:63: 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:111: 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:82: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] doPrint( painter, targetRect, start, end, 0, drawRowLabels, drawColumnLabels ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttgraphicsitem.cpp:20:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:16: 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:35: 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:35: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] scene()->setDragSource( 0 ); ^ 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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttforwardingproxymodel.cpp:20:0: /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:0: /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:0: /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]: Entering directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 14%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KGantt/kganttconstraintproxy.cpp:20:0: /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:0: /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 ); ^ [ 15%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 16%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/kganttproxymodel.cpp.o In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintgraphicsitem.cpp:20:0: /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 ); ^ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/kganttconstraintgraphicsitem.cpp:21:0: /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/kganttitemdelegate_p.h:23:0, 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 ); ^ [ 16%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/kganttconstraintgraphicsitem.cpp:22:0: /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:0: /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:0: /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:0, 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:0, 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:0, 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:0: /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 ); ^ [ 17%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 18%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0: /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:0, 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:0, from /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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, 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:0: /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 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttsummaryhandlingproxymodel.h:23:0, 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:0, 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:0, 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:0: /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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttconstraintmodel.cpp:20:0: /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 ); ^ [ 19%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/kganttproxymodel.h:23:0, 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:0, 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:0, 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:0: /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttabstractgrid.cpp:20:0: /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; ^ [ 19%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 20%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.h:23:0, 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:0: /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 ); ^ [ 23%] Building CXX object src/KGantt/CMakeFiles/KGantt.dir/KGantt_automoc.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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_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/KGantt -I/usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt -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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KGantt.dir/KGantt_automoc.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KGantt/kganttdatetimegrid.cpp:21:0: /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; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 /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 ) { ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KGantt/kganttlegend.cpp:20:0: /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:0, 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:0, 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:0, 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:0, 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:0: /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 ) ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAbstractAreaBase.h:28:0, 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; ^ [ 26%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChartAbstractDiagram_p.cpp.o /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 ); ^ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 /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:0, 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:0, 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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartChart.cpp:20:0: /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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0: /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/BUILD/src/KGantt/../../../src/KGantt/kganttgraphicsview_p.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../src/KGantt/kganttgraphicsview_p.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttgraphicsview.h:65:48: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit GraphicsView( QWidget* parent=0 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAbstractCoordinatePlane_p.h:34:0, 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:0, 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:0, 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:0: /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:31: 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:40: 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:23: 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:23: 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 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttgraphicsview_p.h:24:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../src/KGantt/kganttgraphicsview_p.h:24:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../src/KGantt/kganttdatetimegrid.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttgraphicsview_p.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../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/../../../src/KGantt/kganttgraphicsview_p.h:25:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttgraphicsview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_kganttgraphicsview_p.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/moc_kganttlegend.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:3: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KGantt/kganttview_p.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../src/KGantt/kganttview_p.h:25:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KGantt/kganttview_p.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/KChart/KChartAbstractAreaBase.h:28:0, 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] In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttview_p.h:27:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttconstraintproxy.h:38:53: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit ConstraintProxy( QObject* parent = 0 ); ^ /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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttproxymodel.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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); ^ /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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttproxymodel.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/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/BUILD/src/KGantt/../../../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; ^ /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* ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttproxymodel.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../src/KGantt/kganttview_p.h:32, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../src/KGantt/kganttview_p.h:32:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/moc_kganttview_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/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/KGantt/../../../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/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:0, 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/BUILD/src/KGantt/moc_kganttview_p.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/KGantt_automoc.cpp:4: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KGantt/../../../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/KChart/KChartChart_p.h:39:0, 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:0, 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:0: /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:0, 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:0, from /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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, 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:0: /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:0, 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:0, 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:0: /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:0: /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:0, 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:0: /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:47: 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:56: 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:63: 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:36: 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:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1280:39: 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:39: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1282:29: 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:38: 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:33: 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:33: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1685:36: 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:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartChart.cpp:1687:26: 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(); ^ [ 28%] 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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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_automoc.cpp.o /usr/lib64/libQt5PrintSupport.so.5.9.6 /usr/lib64/libQt5Widgets.so.5.9.6 /usr/lib64/libQt5Gui.so.5.9.6 /usr/lib64/libQt5Core.so.5.9.6 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, from /usr/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:0, 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:0, from /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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartWidget.cpp:27:0: /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/KChartAbstractAreaBase.h:28:0, 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartWidget.cpp:28:0: /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/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/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 ); ^ /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:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartAbstractPieDiagram.h:23:0, 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:0, 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:0: /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:0: /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:0: /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 ); ^ /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23:0, 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:0: /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:19: 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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/KChartAttributesModel.h:23:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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/KChartAbstractCoordinatePlane.h:26:0, 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:0, 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:0, 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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0: /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/KChartCartesianDiagramDataCompressor_p.h:43:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0: /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] [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 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' [ 29%] Built target KGantt [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0: /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:0: /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() ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractProxyModel.cpp:20:0: /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/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/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/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/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, from /usr/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:0, 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:0, 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:0: /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:14: 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:18: 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:22: 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:18: 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:18: 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:17: 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:50: 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; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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 ) ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.cpp:22:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.h:27:0, 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:8: 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 ) ^ /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetProxyModel.cpp:20:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDatasetSelector.h:25:0, 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:0: /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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.h:27:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:20:0: /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 ); ^ /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:19: 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/KChartDataValueAttributes.cpp: In destructor 'KChart::DataValueAttributes::~DataValueAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDataValueAttributes.cpp:115:19: 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/KChartGridAttributes.cpp: In destructor 'KChart::GridAttributes::~GridAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartGridAttributes.cpp:94:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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:38: 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:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartDiagramObserver.cpp:103:15: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] m_diagram = 0; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartLayoutItems.cpp:20:0: /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:0: /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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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 ) {} ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartLegend.h:23:0, 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/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/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 ); ^ /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:0, 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/KChartLegend.cpp:20:0: /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/KChartHeaderFooter.h:23:0, 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:0: /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_p.h:36:0, 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 ); ^ /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartHeaderFooter_p.h:36:0, 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/KChartAttributesModel.h:23:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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/KChartHeaderFooter.cpp:25:0: /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/KChartLegend.cpp:21:0: /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:0: /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 ); ^ /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:85: 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:85: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] /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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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:0: /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 ); ^ /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:29: 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:36: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] hdsItem->separatorLine = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0: /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] [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 46%] 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartRelativePosition.cpp:20:0: /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/KChartPalette.cpp:20:0: /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0: /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:29: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KTextDocument.cpp:20:0: /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:28:0, 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:0, 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:0, from /usr/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(); ^ /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, from /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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, from /usr/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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0: /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartTextLabelCache.cpp:20:0: /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/ChartGraphicsItem.cpp:20:0: /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; } ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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] In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42:0, 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/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/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/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/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/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/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/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:0, 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:0, from /usr/src/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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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:0, 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:0, 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:0: /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:30: 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0: /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:0: /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/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.cpp:30:0: /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:0: /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/KChartAttributesModel.h:23:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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/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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/ReverseMapper.cpp:31:0: /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:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete m_scene; m_scene = 0; ^ /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 ) ^ /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 ) ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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:15: 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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] prevTickLabel = 0; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0: /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* ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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/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/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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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 ); ^ /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25:0, 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:0, 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:0: /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:0: /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:0, 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:0, 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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/Cartesian/KChartStockDiagram_p.h:23:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:29:0, 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; ^ /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/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0, 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:315:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( leftOpenPoint ), Position::South, Position::South, open.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:319:103: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( highPoint ), Position::South, Position::South, high.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:323:101: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( lowPoint ), Position::South, Position::South, low.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:327:110: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( rightClosePoint ), Position::South, Position::South, close.value ); ^ /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:439:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( lowPoint ), Position::South, Position::South, low.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:446:109: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( candlestick.bottomRight() ), Position::South, Position::South, open.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:448:107: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( candlestick.topRight() ), Position::South, Position::South, close.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartStockDiagram_p.cpp:452:93: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] PositionPoints( highPoint ), Position::South, Position::South, high.value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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/KChartLineDiagram.cpp:20:0: /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/KChartCartesianAxis.h:25:0, 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:0, 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:0, 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/KChartAbstractDiagram_p.h:42:0, 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/KChartLineDiagram_p.cpp:20:0: /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/KChartCartesianDiagramDataCompressor_p.h:43:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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/KChartAbstractDiagram_p.h:42:0, 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/KChartLineDiagram.cpp:29:0: /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:0: /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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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/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/KChartAbstractProxyModel.h:37:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractProxyModel( QObject* parent = 0 ); ^ /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/KChartAbstractDiagram.h:29:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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/KChartCartesianAxis.h:25:0, 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:0, 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:0, 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.cpp:20:0: /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/Cartesian/KChartPlotter_p.h:34:0, 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:0, 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:0, 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:0, 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/Cartesian/KChartAbstractCartesianDiagram_p.h:36:0, 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:0, 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:0, 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/KChartAbstractDiagram_p.h:42:0, 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/KChartPlotter.cpp:27:0: /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:0: /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:0: /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:42: 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:35: 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:0, 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/Cartesian/KChartPlotter.cpp: In member function 'void KChart::Plotter::setUseDataCompression(KChart::Plotter::CompressionMode)': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter.cpp:143:42: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->compressor.setModel( NULL ); ^ /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:0, 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:0, 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:0, 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:0, 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/KChartDataValueAttributes.h:27:0, 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:0, 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:0: /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/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0: /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:17: 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:0, 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:0, 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:23: 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:0, 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:17: 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:17: 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:34: 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:24: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:660:1: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:660:1: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:660:1: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.cpp:660:1: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/Cartesian/KChartPlotterDiagramCompressor.cpp:20:0: /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:13: 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:7: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/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(); ^ /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:19: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete _d; _d = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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:0, 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/Cartesian/KChartLineDiagram.h:23:0, 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/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractAreaBase.h:28:0, 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* ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23:0, 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/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/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/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* ); ^ /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/KChartAbstractAreaBase.h:29:0, 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/Cartesian/KChartLeveyJenningsCoordinatePlane.cpp:29:0: /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.h:29:0, 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:0, 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:0, 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:0: /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:0, 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:0, from /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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0: /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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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/KChartLeveyJenningsDiagram.h:23:0, 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/KChartAbstractCartesianDiagram.h:23:0, 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:0, 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:0, 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:0, 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.h:24:0, 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:0, 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/Cartesian/KChartLeveyJenningsDiagram.cpp:20:0: /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:0, 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:0, 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:0: /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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0, 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() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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(); ^ /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:31: 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0: /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:0: /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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:97:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::NorthWest, point.value ); ^ /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/DiagramFlavors/KChartNormalPlotter_p.cpp:165:75: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::NorthWest, point.value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartPlotter_p.h:34:0, 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 ); ^ /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:0, 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; ^ [ 77%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Cartesian/DiagramFlavors/KChartPercentLyingBarDiagram_p.cpp.o In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42:0, 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/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/KChartChart.h:319:66: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] void replaceLegend ( Legend* legend, Legend* oldLegend = 0 ); ^ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:195:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::South, value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractAreaBase.h:28:0, 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:0, 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/KChartAbstractDiagram_p.h:42:0, 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/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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/Cartesian/KChartPlotter_p.h:41:0, 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:0: /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/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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(); ^ /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:246:65: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::NorthWest, value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartCartesianAxis.h:25:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23:0, from /usr/src/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/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ /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:25:0, 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:0, 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/KChartAbstractCartesianDiagram.h:23:0, 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/KChartAbstractDiagram_p.h:42:0, 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/KChartCartesianAxis.h:25:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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/KChartLineDiagram_p.h:34:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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/Cartesian/KChartAbstractCartesianDiagram_p.h:36:0, 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/KChartAbstractCoordinatePlane.h:27:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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/KChartLineDiagram_p.h:39:0, 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:0: /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/KChartCartesianAxis.h:25:0, 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/DiagramFlavors/KChartStackedLineDiagram_p.cpp:24:0: /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* ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25:0, 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/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/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/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/KChartBarDiagram.h:23:0, 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:0, 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:0, 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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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/KChartCartesianDiagramDataCompressor_p.h:43:0, 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:0, 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:0, 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/KChartAbstractCartesianDiagram_p.h:36:0, 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/KChartAbstractDiagram_p.h:42:0, 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/KChartLineDiagram_p.h:39:0, 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/KChartBarDiagram_p.h:38:0, 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/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/DiagramFlavors/KChartPercentLineDiagram_p.cpp:20:0: /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/KChartAbstractDiagram_p.h:43:0, 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/DiagramFlavors/KChartPercentLineDiagram_p.cpp:24:0: /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/KChartStackedBarDiagram_p.cpp:26:0: /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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36:0, 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 ); ^ /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:205:61: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::South, value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartBarDiagram_p.h:38:0, 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:0: /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:195:56: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::South, value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:208:57: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::South, value ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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/KChartAbstractCoordinatePlane.h:26:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:175:63: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::South, point.value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:190:67: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::South, point.value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0, 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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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/KChartAbstractCoordinatePlane_p.h:34:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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:0: /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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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:34: 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:30: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] d->currentTransformation = 0; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/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:0, from /usr/src/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:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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 ); ^ [ 85%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Polar/KChartPieDiagram.cpp.o [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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 ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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:0, 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:0, 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:0, 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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0: /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:0, 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:0: /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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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:0, 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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/Cartesian/KChartCartesianDiagramDataCompressor_p.h:69:25: 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0: /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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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 ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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(); ^ [ 91%] Building CXX object src/KChart/CMakeFiles/KChart.dir/Ternary/KChartTernaryGrid.cpp.o [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:209:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::Center, Position::Center, value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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/KChartAbstractCoordinatePlane.h:26:0, 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/KChartAbstractDiagram_p.h:42:0, 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:0, 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:0, 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:0, 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:0, 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/KChartPieAttributes.cpp: In destructor 'KChart::PieAttributes::~PieAttributes()': /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Polar/KChartPieAttributes.cpp:63:19: 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/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:167:72: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] Position::Center, Position::Center, value ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:686:58: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] angleLen * sum / 360, favoriteTextAngle ); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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(); ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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/Polar/KChartAbstractPieDiagram_p.h:35:0, 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/KChartAbstractAreaBase.h:28:0, 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane_p.h:34:0, 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() ^ /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:0, 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/KChartAttributesModel.h:23:0, 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:0, from /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:0, 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:0, 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/Cartesian/KChartCartesianAxis.h:25:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27:0, 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 ); ^ /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.h:29:0, 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27:0, 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 ) ^ /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/KChartAbstractGrid.h:25:0, 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/KChartAbstractGrid.h:28:0, 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:0, 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/Cartesian/KChartCartesianAxis.h:25:0, 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:0, 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/Polar/KChartRingDiagram.cpp:27:0: /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/Ternary/KChartTernaryGrid.h:26:0, 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/KChartTernaryAxis.h:24:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Ternary/KChartTernaryGrid.cpp:20:0: /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; ^ /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:0: /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/KChartTernaryGrid.cpp:34:0: /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:24:0: /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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0: /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:0: /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:29: 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:29: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] delete m_fifty; m_fifty = 0; ^ [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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 [ 98%] Building CXX object src/KChart/CMakeFiles/KChart.dir/KChart_automoc.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_SIGNALS_SLOTS_KEYWORDS -DQT_NO_STL -DQT_NO_URL_CAST_FROM_STRING -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/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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -o CMakeFiles/KChart.dir/KChart_automoc.cpp.o -c /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAttributesModel.h:23:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractAreaBase.h:28:0, 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:0, 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:0, 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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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/KChartAbstractAreaBase.h:28:0, 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 ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/Cartesian/KChartCartesianAxis.h:25:0, 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/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/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/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/KChartAbstractAxis.h:62:59: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit AbstractAxis( AbstractDiagram* diagram = 0 ); ^ /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* ); ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractGrid.h:28:0, 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/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/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/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/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/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* ); ^ /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/KChartAbstractAreaBase.h:29:0, 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/Ternary/KChartTernaryGrid.h:26:0, 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:0, 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.h:26:0, 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/KChartAbstractCoordinatePlane_p.h:34:0, 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:0: /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:0: /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:0: /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/KChartAbstractAreaBase.h:28:0, 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, 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:0, from /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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: /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:0, 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:0, 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:0, 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:0, 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/KChartAttributesModel.h:23:0, 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/src/KChart/KChartAbstractCoordinatePlane.h:27, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/Cartesian/KChartCartesianAxis.h:25:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:25:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartAbstractCartesianDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartBarDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:3: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/Ternary/KChartAbstractTernaryDiagram_p.h:44:0, 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartCartesianDiagramDataCompressor_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:6: /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/BUILD/src/KChart/../../../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/Ternary/KChartTernaryLineDiagram_p.h:35:0, 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() ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartCartesianDiagramDataCompressor_p.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:6: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartLeveyJenningsAxis.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:7: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/moc_KChartLeveyJenningsCoordinatePlane.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:8: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../src/KChart/Cartesian/KChartLeveyJenningsCoordinatePlane.h:47:64: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] explicit LeveyJenningsCoordinatePlane( Chart* parent = 0 ); ^ /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; ^ In file included from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartLeveyJenningsDiagram.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartLeveyJenningsDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:9: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartLeveyJenningsDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:9: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartPlotter.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:11: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartPlotterDiagramCompressor.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:12: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/KChartAbstractDiagram_p.h:42:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartPlotter_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:14: /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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram_p.h:36:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartPlotter_p.h:39, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartPlotter_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:14: /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/../../../src/KChart/Cartesian/KChartPlotter_p.h:39:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartPlotter_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:14: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/moc_KChartStockDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:15: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartStockDiagram.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartAbstractAreaWidget.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:17: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/KChartChart_p.h:40:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartChart_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/moc_KChartChart_p.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:24: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/KChartChart_p.h: In constructor 'KChart::PlaneInfo::PlaneInfo()': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/KChartChart_p.h: In constructor 'KChart::LayoutGraphNode::LayoutGraphNode()': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/KChartChart_p.h: In constructor 'KChart::Chart::Private::AxisInfo::AxisInfo()': /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartDatasetProxyModel.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:25: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/KChartDatasetProxyModel.h: At global scope: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartDatasetSelector.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:26: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartDiagramObserver.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:27: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartHeaderFooter.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:28: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartLegend.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:29: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartPalette.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:31: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartWidget.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:33: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/moc_KTextDocument.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:34: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../src/KChart/Polar/KChartAbstractPolarDiagram.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Polar/KChartAbstractPieDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractPieDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:35: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/Polar/KChartAbstractPieDiagram.h:23:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractPieDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:35: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/moc_KChartAbstractPieDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:35: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/moc_KChartPieDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:37: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartPolarDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:39: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartRadarCoordinatePlane.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:40: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/moc_KChartRadarDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:41: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartRingDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:42: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/Ternary/KChartAbstractTernaryDiagram.h:24:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractTernaryDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:43: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartAbstractTernaryDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:43: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/moc_KChartTernaryCoordinatePlane.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:45: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartTernaryLineDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:46: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/moc_KChartTernaryPointDiagram.cpp:9:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:47: /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../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/../../../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/../../../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/../../../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/../../../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/../../../src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartCartesianDiagramDataCompressor_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:6: /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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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:0, 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianDiagramDataCompressor_p.h:43:0, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartCartesianDiagramDataCompressor_p.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:6: /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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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:0, 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/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartCartesianCoordinatePlane.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/../../../src/KChart/Cartesian/KChartAbstractCartesianDiagram.h:23, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/moc_KChartAbstractCartesianDiagram.cpp:9, from /usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD/src/KChart/KChart_automoc.cpp:2: /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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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/BUILD/src/KChart/moc_KChartTernaryPointDiagram.cpp:89:19: 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 ); ^ [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 -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 -pedantic -Wsuggest-override -Wlogical-op -Wzero-as-null-pointer-constant -O3 -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_automoc.cpp.o /usr/lib64/libQt5Svg.so.5.9.6 /usr/lib64/libQt5Widgets.so.5.9.6 /usr/lib64/libQt5Gui.so.5.9.6 /usr/lib64/libQt5Core.so.5.9.6 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' [100%] Built target KChart 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: 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.11492 + 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 -H/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_automoc.dir/build.make src/KChart/CMakeFiles/KChart_automoc.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_automoc.dir/DependInfo.cmake --color= make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KChart/CMakeFiles/KChart_automoc.dir/build.make src/KChart/CMakeFiles/KChart_automoc.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_automoc.dir/ Release make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 1%] Built target KChart_automoc 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_automoc.dir/build.make src/KGantt/CMakeFiles/KGantt_automoc.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_automoc.dir/DependInfo.cmake --color= make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' make -f src/KGantt/CMakeFiles/KGantt_automoc.dir/build.make src/KGantt/CMakeFiles/KGantt_automoc.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_automoc.dir/ Release make[2]: Leaving directory `/usr/src/RPM/BUILD/kdiagram-2.6.0/BUILD' [ 81%] Built target KGantt_automoc 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 ']' + read p + ls -1 /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKChart.so /usr/src/tmp/kf5-kdiagram-buildroot//usr/lib64/libKGantt.so + '[' -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 ']' + read s + ls -1 '/usr/src/tmp/kf5-kdiagram-buildroot//usr/share/kf5/dbus-1/services/*5*.service' + '[' -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 remove == remove ']' + '[' -d /usr/src/tmp/kf5-kdiagram-buildroot//usr/share/metainfo -a remove == 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) 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-alt1.M80P.1 Requires: kf5-filesystem Processing files: kf5-kdiagram-devel-2.6.0-alt1.M80P.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DhMyAQ 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.rV6hyP 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:19: fatal error: QWidget: No such file or directory 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:19: fatal error: QWidget: No such file or directory 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:19: fatal error: QWidget: No such file or directory 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:19: fatal error: QWidget: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:21: fatal error: qglobal.h: No such file or directory 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:21: fatal error: qglobal.h: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h:23:19: fatal error: QWidget: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractAreaWidget.h:23:19: fatal error: QWidget: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:14: fatal error: Qt: No such file or directory 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:14: fatal error: Qt: No such file or directory 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:29: fatal error: QAbstractItemView: No such file or directory 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:29: fatal error: QAbstractItemView: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:16: fatal error: QMap: No such file or directory 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:16: fatal error: QMap: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:31: fatal error: QAbstractProxyModel: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:31: fatal error: QAbstractProxyModel: No such file or directory 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:18: fatal error: QBrush: No such file or directory 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:18: fatal error: QBrush: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:21: fatal error: qglobal.h: No such file or directory 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:0, 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:21: fatal error: qglobal.h: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h:23:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartTextArea.h:23:19: fatal error: QObject: No such file or directory 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:18: fatal error: QRectF: No such file or directory 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:18: fatal error: QRectF: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:18: fatal error: QDebug: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:18: fatal error: QDebug: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:18: fatal error: QDebug: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartPosition.h:23:18: fatal error: QDebug: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:0, 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:14: fatal error: Qt: No such file or directory 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:0, 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:14: fatal error: Qt: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:25: fatal error: QGraphicsView: No such file or directory 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:25: fatal error: QGraphicsView: No such file or directory 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:25: fatal error: QItemDelegate: No such file or directory 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:25: fatal error: QItemDelegate: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:17: fatal error: QList: No such file or directory 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:17: fatal error: QList: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QDateTime: No such file or directory 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:21: fatal error: QDateTime: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:17: fatal error: QList: No such file or directory 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:17: fatal error: QList: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h:23:31: fatal error: QAbstractProxyModel: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractProxyModel.h:23:31: fatal error: QAbstractProxyModel: No such file or directory 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:18: fatal error: QFrame: No such file or directory 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:18: fatal error: QFrame: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartGlobal.h:27:21: fatal error: qglobal.h: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:23: fatal error: QModelIndex: No such file or directory 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:23: fatal error: QModelIndex: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:19: fatal error: QPointF: No such file or directory 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:19: fatal error: QPointF: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:19: fatal error: QVector: No such file or directory 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:19: fatal error: QVector: No such file or directory 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:17: fatal error: QList: No such file or directory 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:17: fatal error: QList: No such file or directory 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:19: fatal error: QWidget: No such file or directory 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:19: fatal error: QWidget: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:31: fatal error: QAbstractProxyModel: No such file or directory 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:31: fatal error: QAbstractProxyModel: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:14: fatal error: Qt: No such file or directory 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:14: fatal error: Qt: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:31: fatal error: QAbstractProxyModel: No such file or directory 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:31: fatal error: QAbstractProxyModel: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttglobal.h:27:14: fatal error: Qt: No such file or directory 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:17: fatal error: QPair: No such file or directory 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:17: fatal error: QPair: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:17: fatal error: QPair: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:17: fatal error: QPair: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:17: fatal error: QPair: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttabstractrowcontroller.h:23:17: fatal error: QPair: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h:23:17: fatal error: QList: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractDiagram.h:23:17: fatal error: QList: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:19: fatal error: QObject: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:18: fatal error: QDebug: No such file or directory 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:25: fatal error: QGraphicsItem: No such file or directory 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:25: fatal error: QGraphicsItem: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KChart/KChartAbstractCoordinatePlane.h:23:19: fatal error: QObject: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:31: fatal error: QAbstractProxyModel: No such file or directory 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:0: /usr/src/tmp/kf5-kdiagram-buildroot/usr/include/KF5/KGantt/kganttforwardingproxymodel.h:23:31: fatal error: QAbstractProxyModel: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:21: fatal error: QMetaType: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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:0, 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:19: fatal error: QObject: No such file or directory 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.XFVNUT Processing files: libkchart2-2.6.0-alt1.M80P.1 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.Ddl220 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: 2673 symbols, 22 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nHBwYa 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:pdBAWtiI4iJ5bnLajueaFrTNz0N8C6zaCGQiRET9oav66KZLzy854ivElHB5Q2iZ2QYR2V0u70PnHFo3CZj0y4z8FXwe10hIQMPCyCJ2CWtKM1fPlQo3qgUiZB5DpnBXww1ZnY24PicOhwtxSJABVgWv9HNAgLlyQnIWeat36vKEP8iUUdFiapBn02JIeQ2R35hKVAB1sc5osHb5MbwUMaQBo1Pfgu9XumQV2jJ0IsawhehLyMR30VxNNfODxreT1jbSvK4U7yM7CFmgaU61enpbI4KeUgT6EXHhPsZmlZAIEWEwrJoneRR3fYZ95b3IhfkfVcMe28Ob5HlXLPwY4adSdBkU8r6NE1mDsrecbJPsvpwKfQOW5XmAA5UP9gBoOBcX0rrsJFjFOEsSBwi7atdQ4nUhHw52BEqBLDUUFhDZ9PBhSEPmIZIoGKaGarn4ZnRGBP1uDwRa3mwYYPkSpiAVAwGBBAWkjFJSkAQ5qTkY2eZyL9GJAepXeoDrOorB5VYLos4O1MTZpMeZt6lff1lbpzm0EcoPTWYH36qrtbgo6asQzmimlCcZtr4r9FdjCxx5YQ2EZmBxMAm05Ijc7jTZjBNBmOz20ZjIzqUH9I8yJeK84mNR2slwnSjuWdnmscGVn5OEAEPs67iJU2nrL3TqOTffUTYZothtyqMdPYCJyT3q3gFmKLcDvC995UQS2FAIVhR57Mnlt9NEISZaJJoAelfDSujJ0T2Rc1p3TSH6ejyheBMRwdeWRYotKmUQhepw93AJcnMoXLFntO2BIMkU5GwsW2boPH7xYXEviZFiMCMANURdy5NbAX18vUZqnrA6pN1VV4orNLHZ6dLI2QJUpVZokfMm8S8F57uqh3arWBTdH3uVAYGmKZA4EZJWrtwo4oEtZbEYRsoKS2t9z2SWaamjjhmgZ2T4xyorZ6keHtny6M1PKRflJMs111BDjZm4XHHP60U5l7PXtd2oWaUwu5snCrwrQZoHtUzDQPFAIPYko9SJ5je1qZJvrEgPdaXQ2srRZhO5GRbrFS3l62vrCxBbHib7XpZ0LNmbgusmYwORTBKXjOR9o9V1bd5OYh8G1RDUxFeGXabwiz7zPc4Gngi9iXbyWleIZgUZGnCJ9Abge7iTlM3sUxGUKAENiioqHREGJrkx8NGjzDqqc0vQ4Y2PJotxZghRBonldjP18qK2T0GR1pPdmJ6l3FFZ5cQDUUvreZIZyiXKBwKaKiTToOb1wZjeXXKOYJYZ8Iy0CdiU8lP9tC2cgSZ2OFo0ZK2nfk5GSMk0guNZAqcfxUK5gK6hM56RByl9BEYJV4PyjeMZzxD1jR065PvREp3swsziZjTjt9eZ9gebP5u1VMhhAr3gPbgZc2B9RfQuFLI3C6qIl8t5MuewA1cBL90kj6RFRbc5qokdG8JsFixlRSJMjYqN16ajg55jZiNEhBDWtZIWDcv0PZhRXbNqRdjLs1NkaHZlr5Z8eux51l27bZH4izhFWT6UVcpm768SClQghuB6GjAb2PzADx41klWou8k2hpGhsuhgU882mhHGjLwwlBiFrECJnNJQnQwtYxYcKZBzGZAyFZBREC3lIeGwVGnft1kfhgLUMLGHSrjBUSM4MvBNwjhDhAQxBaLp3UlMoUQaTKTlgxpqsnENEHwkKSdkygOOV4g9XrpxTDyPgiGe9kauWBH7GYZ8kniNbFxW6FHg0hhf0BCTN24kl6ZhZsruq81FxrcavYB9d8WsAkqEUbCrZyHBQZrO0RPsFxmMpbYrPZmA1OaPYedEXvfbkBmIljaLuTN8xb9xrWi1SKNT9VVkGC2MXiKmNPRIn74aAJfO9qYEMEJ8Pz2t1lt1ifT9wCcFFoZAnW643BHckq8IuG3YTmCoKBfFMQ6hbcp2XjwZh0xNCZLOt4qgPO22yYIyZv0H1LLuqBRMa9LsRAIuHmgFea1imWt5IDhIc3VfXrYlXpordGxn4jDZ8qnrQlldPbCU3Dr28NkGIgdGEkV5IWkza6RzUPhVwXsCrgsfEbq7xLD6teoEHbQVQbrdHu6K6JtRv1QBD8ZCZwdd6HldIwe4TtLlzcWgZCO5XCZbHVYc1E5GPQgOXKm1aGiSq8esBpOcyMVe7zVGRlW9WVi8qmj0Vh2T2MyM4ZBTY2FFnkWFpHMFhV1wETOYUkNfb4pJD806R7FgIHbZeprx0t9wQ5D3uDzLnvt3tI9hnl02TE7ud3WKE7QsWhqN8amo52NkTY1EQagY3QXv5rz34yLcyPxJ2Zx3ptdZpstUwzSbvxSucQQ5wkekds8OvZdfZt2M40eZzjpWRb3NwQyTg7069o8Gxm4Hz20dNssfOcRP9RWL9tUwSZfFxhOk0oAvGsY6CCcLjN60p1F095JyK3540TgtZHMGHyVFZk7o3xWRYfNjhe4E1ZpR5LLIwkxlDwqUzUdEAa2ePhzSZoOg3oiuzZjkQR2XiA7VSrZFh3h0JqvEgRj1euOCIzVTBKZ0gbijfQVe6PTZoPcMv3bH7v8i63KeZoX3oZ5dZnjrmcZxyhvwi2c9I4mEkScvkzZJGMjUu1u1G8isoThYJRc2FjUPEVkKCZ0WAtgCuEY6Lek7RfKFdfvWDuULWS6yd5Gd1YP7nX2nvmUjCacOhMEDKvBuim5BEuKnkaRArLesu24rwcYDRNNAMKBXsKr2wUZ0llBXPAeOF9AP9VZtuLIGgAFVgZEtSLPQrhwHVDzs22fJ713ECAbUA2OdtGxjYi2UY9k3wVPw6mZfTBUSLGxJm2BeZlNUZzp1yjengzWRhlF9WV6adeQCpfZhLpMXW2nD4jf7coYEADIXuKb86tMK216a6TCzB4VRuy4M0Upu3YKo0Ec4mZlMDrDzY4NOvz932cb6nfCxssBfE5FeIMUZExZ2BAQiR3JZ47ssCSEu52r3hGaQq29mUTB2Tbo8zZxOnPp0v88eieHjKNwgIzLwkVvUp3oOgGABm2dwitORZoHUp5vWVsgxzD2ZcTM7hqwgU5jLG0dtZaZKoo9dZkzK9qoX26aN24wMTxhe4c6MI5qJtue7cr9DQZi9V1YMw7gyRS9q9s0gkxXM0OrJya6sskhygz8gjyfbprY0ITe1ogRvupBKwZ59Qet2r3KZo17Bd61eZISepRgHd1BCf9rbsmstKimKXrVqiNwnfI0qouWrQpU7OGaMQQ9WVBLH89ffZgclIdZzPQOM5hWhk3kTA3cILz88mQVYNFex113hyDwGtYNCaEAp3J4EZIoyUOAHEkcd47WgZEi8buikZ1AeJAmNOBpy0J8BybzfCZ03XLsGBmQ186EWyEEtFyet9C9Z68nQ00FK95Uxq2uZiZoN0xhorGP1Yfs4ycYx221RZnb8QhtekBHZ8MwCaf2b06h7joMQHn2AkANfAH0ss0fOJi27YN4MOM84In7oNyBqbrOC1ZLJwhqRZrNvyzQ4L8S3UzXd28jEGf1Go0E2ZC2sTqDt6FPA3ickr8HTHNFwZFUXIVSlnCkhfuc56K3JyEzUDJShjkLdQb54pqbtFZ2tgVkRvS1tm3IKEGS5kfPLJfGYUYNA2dd0Jo5oaV0ZtLTh4Zfdg3zlynvwOS2qs6L38Zd2eZmlvXffWCLo9Jjj7dNSaMHjR1HZddwfRkYZwwodWEdHTQsFuIb2nR7HcSjZt5fw7Z2LZGzHenL70h0OPWt8oxRkSOUx25efz4geZtpyVfccR1IZe1hQj25oOaZERZGAoCaC0m0Yg9sk6ZnvDbCmk5v1DK6RubEfU5jTwERQEU2tZcV5cab5JG8DSpZkrk6VLfNUXaYD4IhCZBI6wP7Ws8iUUY8Ea5wgSd69M4sQGdpkJ5xZFg6SsRW2FVabAF1l5WRejLHFzTIZ54kMKf6Z1iEGce0h71Ixnw0fAQFrcXMA0IhwtEJPVZ0U4Nzmw30zAYrlXUvaQKsnHlWuwB5yRxPF0cq55SyBJdjZjK6gdsjKfDq7L1Y7Z2xSuswc2b02TgFNmMHRgYAV8acs2s42Qu0xcn6pkNBkhsomzsQ1I2X56Qgo8Wy94qFGqvQf6b2tBLHkz2AaB4Qj9tul2xACiMICmOL9PaxhmAQzZ6sZmOmBZ3uN1H4r7bZt8PZwv7Go8I0C0R87DxY2f01WhE45o8Xcq4Kyl0yyDLf3bBQuF7WwfVZbzM3zYnUyOS7rcaloJPtuoC069eQB5AwQli8Uf6LZEqQArIfDKRzGjhN69nJYOWGAMa9KuzQ6lBxP00ZrZzVOViZg2CkXXlHht3IdEuYV80ZkNZ2nza5CRqpNCcgZoKMucYrT2WhJWme8EXdOyyfU2YVVh9cXVWGIA4oZIdI5ShQ9kxZnh4L0DoQ5nxLhqzOW8dg0QVgsgp60u8cgoNJBAHpDxF4fLbw1wrMUmgMYLN6R5JlwcKZipmYmbrV5RyXyVFkGjGEVTs142ZCMyJKGQgb3u6Oh9o1eyw21B0iLawxYUcggkGHbypTfAHJD9ZfL1l5Rdlxeb43ifTVoFk94KQSFqODfnrgwc3v2JYafq7MXFEX3VtZlhwQq2ArJ8PSvx1PEMvHVVdOcWxbAUyEqY4ijmph0lkFI59Kp81plJkUb5hoFVUY0CqWipHP6RhdAdicpJb5VSZDfTmiwBAvPgmKm8tUL8Wfb5HlbyePBKoczHzez7nK8Uz7TPBPOqwBPGUoAdwwqjLcoCy6z073DEkDOXRCt82Q5PxZ6ur9frwEJJWHlyxVgWMTFjLjw6mT7DrkTmkS67vYGgjxwtli4nR9FZwLcBoHQhVWBcxLRKoWw0iw7ZfIxXpk6ZqmKNQvyExq2Sk2WZ4PDp5HxRWXQePMZKDjPby14i5KnB0KvzAdhf7yBmzfs6xjMGxPSzW5zbjAf3BagiUZguWC2tKd8r5A8idxcZwGFGSq5t5dXYQq6ZlZhLJjXpVkURZKx0uGkvieJC94SYNdl0L0MOEOByZHXB5ebpO1Mj0cFfL1GDZB5u1QZgAFbYanONZqPoj4XUtw2gx59cQmulPEuLl1gGTUPZ5ZrrMc3uZHE1Rt948HR82EV6WtQxcXhAktJqJT2TLkfioSnXF6wQhBG4MPOb6e6nN7cOsYBDVh1gipKqea2O79eCRKlZENSx4qyEaaZmOcQ3uEJFUY2ZEzDBmIiwiII5F4Zzx68lM20rQrFAyZFR9eq5WgClpBgF4AeWSFwXlaZmgOmbruTWmrXW8B6yGk4ptlYvdio2aShl3Fr36zVnidBGLs0HpJELQlf6ndn7oTVQ4t8y2YOPcU7jJ6zvAYOinTTjqFTo4mfC0F9h3dSSfpzO2yA17abQXObGgrjc5gKo3Eof6FyhHTHAyZs8yCiAkEsk2ZAxM108Kvuhah08WycJZe0xbJFC75jA3LNVihLRnRWE7eAvG0lheswVJs36qGlZisZL3X8018SqT0h1Tlb7O0sZtntlOhyJvk3j6D5 Requires: kf5-kdiagram-common = 2.6.0-alt1.M80P.1, libQt5Core.so.5()(64bit) >= set:qh0R00obZbOKB0EU7JMCr6PwrrR61vyG6IAI5MOKgR24gbt1P16a9ERbV3Id4HWCwvAgbe5p5SV0stuU7Q1A0sw3uKUCEtmZizcGaqtKYqkwqSP0a9NI0hyg4b7Zns6XG2C2baHjiXyOvchwnm5n3L3cnKR5rZgJcJbUGP682mkKswTZav6PFQAgyjC2EZjQT8IK3Q1unICNZy0VZ2orZi27Vr5RT9wwNfukbjNbgD5JlQ1NsRF1NgQl5H4xIEpXRBOLWYioq5eLcacps0Mj2oKsBfxC8ytu2gauaM061creV6qz7M7lgMEKZpfZ8kP1kvAJogtyECQISPQLIF421QxXRSjPWhZ5Zr767YWAyq8qIbD2YJJ6wtn2NJQrsuUZj86K2QyJktWsK7Q5wOBCfxaMgZ8HCv5wofS6TxyogUFZ0YLTjNkidG4R0e6FonXCM0aic0g4TFt2FzwZawadpTXb7jCS0988rRftK2pYApfnZezR3Vt1qlwLXZxJ4Cu0Zx0tMgsG1gEoyZw2syvOxeLZaz0aNsFvaAycAXn53z8IZyWKT3HPdjQNmHCWnJsEjc8GNIeV6vQAwyQDSXuPCO3r1kzhgyCawHFN1QJeYard87JyC0YW4NZy706UmZ73bRGYJa0mYZgcUAPSRVykKYed2peUupt2M5NlFdeZHUilcx3iAXsF2Qv1L9gGOuhCG8L9FqxlJh2uqZBgHc0mwyCZpQJJX3, libQt5Core.so.5(Qt_5)(64bit), libQt5Core.so.5(Qt_5.9)(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:riOgiY808VaVqDdyRxC0wPGO9RWTrVL5yjGi525zM1pgYfEPZIJkwx0SU0eHZAA4wLRWO12f9sjFMFis6gZrGNXC9NaHauVgDrEPL9jFZwQG5bfeBWJrP5Fcm3W1WZc1xDbrYHjwPSffrGU81eo7MhKEktNBKJFCoyBTjs2K4jOgWM2PIz2kobXOKg1WqOSkZcMP6vipZlwOZqtOduvhZf7IOwaB5GwKty0nw2etiErmkACO8tpA1UgoD6T5aOapp4BMGUy0gipIiZfsISn7g1irQrJNi20YJaJ3VZgBPFy1fTNnrDFgBotvaJO7vWxaPhdVBebNvWbcp7oHM7OW5O0PLlgU53HIRMPi6cdy3n5ryAHSQcvrdW2di0wXRFsaaEqbedF7K5c7Br8ZmiiNB1b2A8rNZ7QYnI0rU5a9bd2cRXAVCy1YrwMt806NHQ228biT5m9Xw4kEwiEnxw7PapfvVZpi4ybeEC0EMNM1UGqZEfJZ1lGZ62gvjhZrQXcJybGZCsj2Pc2cJ56QwDHt2ipeL4tNAhxw8uZleFI01Yq65ZK4uh5dRsPhdH0qLxi6nlm52CXu3X8rjs6j0S8ej3i4RMP3OnY04cPc2OzALIVdibPO19t7Bl0Hn5LPoMIZsE0Fgj8k0oDzkhKmZmJC0qpDFdV7Z0UOJ4AF6YbbV8QhGNz0sVPLjQ0ylzctqdYzlVzpVAFslyODT4Fl7Zp5axCJFdfrK4ZK7LCWZFPoQc4n2ulFcsdZbmZc2EF40VxzfuopfhPc06ptWOYgZyKYorxGS1rom4ZAFcmQd1dt9mUJRoeEbJJcHZdOX2EExpV50, libQt5Widgets.so.5(Qt_5)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(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.D9olhq Creating libkchart2-debuginfo package Processing files: libkgantt2-2.6.0-alt1.M80P.1 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.TBitmI 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.XFGOb3 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-alt1.M80P.1, libQt5Core.so.5()(64bit) >= set:qi0eKEjeXw28nvnkINTnGdqnEq1OEWcsIff2nk5P1ZsZbCdMRbZ3MesZEvAYgrfZ2hpOT39Z5lnJGSebw4MJc1nXhtK4HLZH4ENViZ0eb2tyz4PyCyHXZpWza5mQamN7mosMnY4n3L3sKslncP7OOQs1nQqeanelvpAMphHZpNHaNFmdZrZn8MCuNmFoj0GbRIgwp67JL3Ld5hZ9jaIWXcwwyvIhJoau2QFySaWwdnZa1NIi5e58tiptFYHKL4KUxFTvYole0Ej2U2r2WidhAtuZtO1ZGW61sreh6SYhB26RZazKApUsGV1BJHR5XMF59fWnpGIOzhIZaMQF47s4HXLJR0Ibohc551ogHUv5EbSOxqYQPVs7hTtjhm16G7DqZp2gofS6ThBoLAv9REikje6p0KZkgpZrGrM3ICg7PGZ273257u4wZ3JDHZuzF7OS5El1ZtZ3g15lLgw8EVDsJQSroeZJhdyjFvgjTvfctKhr8fRfROhTcg4LrtOqYx8VbJTWdHkuobwF2su89L17ToFnpL1VhH6tyUZy7MZeCBqJYJGTtR7MTVTktB9O07BO5l4MUzAZz8AVC622mkHuGzK1yKDViVSEbrLRFferZbZm3ya1fqZBEl6Mljv4vtF4, libQt5Core.so.5(Qt_5)(64bit), libQt5Core.so.5(Qt_5.9)(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:riZ94BA28hXdHOSP0NfLhIeQ4AjCZ4MaBZeESIl8pQdpp5AOaZCZsIa2zcFJkxofxnOEPPVW0IjXZDDv6KFTvdyFnaOZxn7ZpRZzM2YK3NmNZo1hLMtdRrYfuKSn6qoaZ4K3N1fTy4bi89eooXUVsaVX0StRZjY8GaF5q5Jf9grUTgyngNcCi5QOo6VKl20KZb9OvZ69iZnPyLB6QPpKPZKPawU5dDutbkca81hOi5asyXhFVgZEOxhUbAZBc0HPCGVZ5TpgLhBy96c1SV6bSZhLXTZn6PI8lZmBs1D2YbAph9VUNkwFAxCg9MoG1AgjcIdJuJeaxAs8X2jqaVIlOSkZcMP6Pa1c9veVCby2aOwa5UAG722zNxJdIW9CgNGuihoGxgNFjG3X9orgn3azcYQIAqhyYSKXLIyxonenZC5CUcLdyhtZI6V6nYqrwnfZbKFewcNdVFYBnjVkNmQeW17KyV1O3GzaNijalnZuzhRlkqXpz6k5ZoXvAgPsXeZC5I7aIz2aboPPitRgAKCvallM0IifepZmHiqz7UaXZ1ewBPOAKzU0UtE8QH8Z0DEamZhAjbbsb6k6RaZKaZtgjDWsK2w4pXolPpAZ35NWjOyiwrupZmkcQ4mzZgLl69XQtOU7EEleMAd8GziFg65mtoEFZ0qI9J6jK4E4V98OGJPD2XQSYseFOAO4G0ERn1ZDy3DjevmYT6uXGrmZvqF3mKh9kTpm1q7wayVftA7aeeOvzu5FZeCTEjz1ra9SqZcDSZoaZ1YYs4Ti5AWZmwnWwWjTwwWr5nkZJIBEBDZgRKvQYZgc4tfBYxGMU8MDTpQZt0ZA638Zz46po96jHMcl30JFSI3vS5LfcxnQdV6o3RnKEetUYV938u7TPUJvYdWCtAtLNeyWs9eglH6CdU8Vsy9DsW3HP1M4BwiUgdPcl3zALMcY5mT6AZ62fH3Z2fjZ30Hicjyu8kAwpWqAUSsGmmb310AsiWwpIEZowHkCgAmPFpoIC4TOuAi8Bqntj4CAi7ItDDRWOEYpPp2IZBBSoqXtyKxOFTrfFBhbsnIfXQaalepanBRuXD5axCBrbNZuiYX7frsNEp8K4u60xDA0cIvbf4hWPZ1mLQZitHkf30O3DgWhOM9BcCbHzC8OZkZhOXHYUQaVP3MV9ISsiJJnzkZrfUZAgEcT06LdQ94gPTIBXhskCUfy27irhxcOyb9rqejgN8Z3EJfgrHq3BBPj3m8WFF0N5, libQt5Widgets.so.5(Qt_5)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.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.V8Oaot Creating libkgantt2-debuginfo package Processing files: libkchart2-debuginfo-2.6.0-alt1.M80P.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b1BWxW find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HlZZrs find-requires: running scripts (debuginfo) Provides: debug64(libKChart.so.2) Requires: libkchart2 = 2.6.0-alt1.M80P.1, 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-alt1.M80P.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5LjW70 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hsBTyC find-requires: running scripts (debuginfo) Provides: debug64(libKGantt.so.2) Requires: libkgantt2 = 2.6.0-alt1.M80P.1, 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 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-alt1.M80P.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/kf5-kdiagram-devel-2.6.0-alt1.M80P.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkchart2-2.6.0-alt1.M80P.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkgantt2-2.6.0-alt1.M80P.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkchart2-debuginfo-2.6.0-alt1.M80P.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libkgantt2-debuginfo-2.6.0-alt1.M80P.1.x86_64.rpm 208.59user 22.53system 1:08.65elapsed 336%CPU (0avgtext+0avgdata 414676maxresident)k 0inputs+0outputs (0major+11268081minor)pagefaults 0swaps 219.75user 25.76system 1:24.32elapsed 291%CPU (0avgtext+0avgdata 414676maxresident)k 0inputs+0outputs (0major+11683170minor)pagefaults 0swaps --- libkchart2-2.6.0-alt1.M80P.1.x86_64.rpm.repo 2017-03-14 13:34:47.000000000 +0000 +++ libkchart2-2.6.0-alt1.M80P.1.x86_64.rpm.hasher 2019-04-21 02:52:11.052954511 +0000 @@ -3,7 +3,7 @@ Requires: kf5-kdiagram-common = 2.6.0-alt1.M80P.1 -Requires: libQt5Core.so.5()(64bit) >= set:qh0R00obZbOKB0EU7JMCr6PwrrR61vyG6IAI5MOKgR24gbt1P16a9ERbV3Id4HWCwvAgbe5p5SV0stuU7Q1A0sw3uKUCEtmZizcGaqtKYqkwqSP0a9NI0hyg4b7Zns6XG2C2baHjiXyOvchwnm5n3L3cnKR5rZgJcJbUGP682mkKswTZav6PFQAgyjC2EZjQT8IK3Q1unICNZy0VZ2orZi27Vr5RT9wwNfukbjNbgD5JlQ1NsRF1NgQl5H4xIEpXRBOLWYioq5eLcacps0Mj2oKsBfxC8ytu2gauaM061creV6qz7M7lMBUvWhGV0GfOmcEehkjqmXpWnSk2x0WMZaJDCRzWbZJ3z3utihd4dSBj1Zmrd0XK4yrFTUYMZ7gcs5E5rFWQVsfEb0Bbdv2lwxWNlPL2gI7rzXghc8YQuwZJXFoaF6lyq07zkIHtjo059608yXQexQhMu5kF9XuvVoOQ6811pHZpenxcuOIDHuvIu8LbgH2YtZLEBMQ3Uf0WwxUk3wgN4Zx4U4ZAeQVJn71kyViZAxkAxsZGyxh4SvhTZexRVC9WoHljZbqVgDogkzptOdZoC4kAZkXtLpjVxJ0GN88hj5MRQU0Wm7uBJ6Azmhj0utyUvV0M0TGZCoFmBLl1MyT7oM9DJHP5FsVtq4OsMZ2Hj0K8KaJNVvNBGo27A8TVi5EZyUd1ilSbOk5Vd9lbIGdiMjXLwmp0I05dZ3FrrT7 +Requires: libQt5Core.so.5()(64bit) >= set:qh0R00obZbOKB0EU7JMCr6PwrrR61vyG6IAI5MOKgR24gbt1P16a9ERbV3Id4HWCwvAgbe5p5SV0stuU7Q1A0sw3uKUCEtmZizcGaqtKYqkwqSP0a9NI0hyg4b7Zns6XG2C2baHjiXyOvchwnm5n3L3cnKR5rZgJcJbUGP682mkKswTZav6PFQAgyjC2EZjQT8IK3Q1unICNZy0VZ2orZi27Vr5RT9wwNfukbjNbgD5JlQ1NsRF1NgQl5H4xIEpXRBOLWYioq5eLcacps0Mj2oKsBfxC8ytu2gauaM061creV6qz7M7lgMEKZpfZ8kP1kvAJogtyECQISPQLIF421QxXRSjPWhZ5Zr767YWAyq8qIbD2YJJ6wtn2NJQrsuUZj86K2QyJktWsK7Q5wOBCfxaMgZ8HCv5wofS6TxyogUFZ0YLTjNkidG4R0e6FonXCM0aic0g4TFt2FzwZawadpTXb7jCS0988rRftK2pYApfnZezR3Vt1qlwLXZxJ4Cu0Zx0tMgsG1gEoyZw2syvOxeLZaz0aNsFvaAycAXn53z8IZyWKT3HPdjQNmHCWnJsEjc8GNIeV6vQAwyQDSXuPCO3r1kzhgyCawHFN1QJeYard87JyC0YW4NZy706UmZ73bRGYJa0mYZgcUAPSRVykKYed2peUupt2M5NlFdeZHUilcx3iAXsF2Qv1L9gGOuhCG8L9FqxlJh2uqZBgHc0mwyCZpQJJX3 Requires: rpmlib(SetVersions) Requires: libQt5Core.so.5(Qt_5)(64bit) -Requires: libQt5Core.so.5(Qt_5.6)(64bit) -Requires: libQt5Gui.so.5()(64bit) >= set:qig69dNoiWo2wZgjTJ084UGxV5v5LaICv7GYj52HVOqlKoCwR5hcVtNjXo0sfZndivPg5NVRBR63f1RyS8GLCZAXZBZvz2ALflUNqKRKiPWzN8jyACZlHjqYyZ7IItkXKjZz33A5UPOzZfWAieinUQxSyPS0oK3jz3dDIib0F2qhlSzZBu9rMvilT07f9I7ZezYuCK7ZfU96ko2Nys5U7AGFTzTZ4BWcqdH3VGtzQpnrIVPxU7KCpCcZyvZhBfocgkeEznNNzlhkKVZ6TDvxpDZyZJbQ7YsKdt3atK0lLPnZp7HYhD1TQM8ePtnL2QT64ktNUXVZeGdKDGODMWSrKIIcyZBq6DMNdtCitGBKAN6Ltgnr1Z50Z5DFVQ0ySZHkgDDnZa2sjlkMguSkAWAJIwCGYSZLG88HcoYcQEZBwG9FW1W1Yt2xUyBWixKVMZJV4S5L7RHRsNccgqTedZuvwcr4lvN2gBabDkVwxpKZwZH2OtD5LcxUAniZ83NMMbpbnkcfxwC9QUAkM4N2YWuIeva1SfS7YsdXcvGMcAJc5BZ2aWkeSFULJVNSDZiIMzaoZ0oeJPojiTACEHQ5rXdjZcdxlkQJcGhyRZzN70z05uGwOnCncUjJPh6JAPCknZJSTmpjtHm1 +Requires: libQt5Core.so.5(Qt_5.9)(64bit) +Requires: libQt5Gui.so.5()(64bit) >= set:qig69dNoiWo2wZgjTJ084UGxV5v5LaICv7ZdxO0352HVOqlKoCwR5hcVtNjXo0sfZndivPg5NVRBR63f1RyS8GLCZAXZBZvz2ALflUNqKRKiPWzN8jyACZlHjqYyZ7IItkXKjZz33A5UPOzZfWAieinUQxSyPS0oK3jz3dDIib0F2qhlSzZBu9rMvilT07f9I7ZezYuCK7ZfU96ko2Nys5U7AGFTzTZ4BWcqdH3VGtzQpnrIVPxU7KCpCcZyvZhBfocgkeEznNNzlhkKVZ6TDvxpDZyZJbQ7YsKdt3atK0lLPnZp7HYhD1TQM8ePtnL2QT64ktNUXVZeGdKDGODMWSrKIIcyZBq6DMNdtCitGBKAN6Ltgte3Z5DFVQ0ySZHkgDDnZa2sjlkMguSkAWAJIwCGYSZLG88HcoYcQEZBwGuy4wLj84nIknaQd7ZveDMKUZ8WRqKo668JrD6vZzgCdyGLo1EiBBjGsMMcTvUv5AXebup2N9LAWNxooUBIBbaCDggP4qsiaoyo1utfmDfB0X7X3uKCtCflo6OmCyOuhhDONe5ZJSYoXjv1ugL0CjXcSAQdF9WatNSuPkfT4mhhTOE69mZL4v0c2kUF2avpuNwfRe7pQieritZ7rvrBdRJq5 Requires: libQt5Gui.so.5(Qt_5)(64bit) @@ -11,3 +11,3 @@ Requires: libQt5Svg.so.5(Qt_5)(64bit) -Requires: libQt5Widgets.so.5()(64bit) >= set:riOgiY808VaVqDdyRxC0wPGO9RWTrVL5yjGi525zM1pgYfEPZIJkwx0SU0eHZAA4wLRWO12f9sjFMFis6gZrGNXC9NaHauVgDrEPL9jFZwQG5bfeBWJrP5Fcm3W1WZc1xDbrYHjwPSffrGU81eo7MhKEktNBKJFCoyBTjs2K4jOgWM2PIz2kobXOKg1WqOSkZcMP6vipZlwOZqtOduvhZf7IOwaB5GwKty0nw2etiErmkACO8tpA1UgoD6T5aOapp4BMGUy0gipIiZfsISn7g1irQrJNi20YJaJ3VZgBPFy1fTNnrDFgBotvaJO7vWxaPhdVBebNvWbcp7oHM7OW5O0PLlgU53HIRMPi6cdy3n5ryAHSQcvrdW2di0wXRFsaaEqbedF7K5c7Br8ZmiiNB1b2A8rNZ7QYnI0rU5a9bd2cRXAVCy1YrwMt806NHQ228biT5m9Xw4kEwiEnxw7PapfvVZpi4ybeEC0EMNM1UGqZEfJZ1lGZ62gvjhZrQXcJybGZCsj2Pc2cJ56QwDHt2ipeL4tNAhxw8uZleFI01Yq65ZK4uh5dRsPhdH0qLxi6nlm52CXu3X8rjs6j0S8ej3i4RMP3OnY04cPc2OzALIVdibPO19t7Bl0Hn5LPoMIZsE0Fgj8k0oDzkhKmZmJC0qpDFdV7Z6Zj2EQ94AF6YbbV8QhGNz0sVPLjQ0ylzctqdYzlVzpVAFslyODT4Fl7Zp5axCJFdfrK4ZK7LCWZFPoQc4n2ulFcsdZbmZc2EF40VxzfuopfhPc06ptWOYgZyKYorxGS1rom4ZAFcmQd1dt9mUJRoeEbJJcHZdOX2EExpV50 +Requires: libQt5Widgets.so.5()(64bit) >= set:riOgiY808VaVqDdyRxC0wPGO9RWTrVL5yjGi525zM1pgYfEPZIJkwx0SU0eHZAA4wLRWO12f9sjFMFis6gZrGNXC9NaHauVgDrEPL9jFZwQG5bfeBWJrP5Fcm3W1WZc1xDbrYHjwPSffrGU81eo7MhKEktNBKJFCoyBTjs2K4jOgWM2PIz2kobXOKg1WqOSkZcMP6vipZlwOZqtOduvhZf7IOwaB5GwKty0nw2etiErmkACO8tpA1UgoD6T5aOapp4BMGUy0gipIiZfsISn7g1irQrJNi20YJaJ3VZgBPFy1fTNnrDFgBotvaJO7vWxaPhdVBebNvWbcp7oHM7OW5O0PLlgU53HIRMPi6cdy3n5ryAHSQcvrdW2di0wXRFsaaEqbedF7K5c7Br8ZmiiNB1b2A8rNZ7QYnI0rU5a9bd2cRXAVCy1YrwMt806NHQ228biT5m9Xw4kEwiEnxw7PapfvVZpi4ybeEC0EMNM1UGqZEfJZ1lGZ62gvjhZrQXcJybGZCsj2Pc2cJ56QwDHt2ipeL4tNAhxw8uZleFI01Yq65ZK4uh5dRsPhdH0qLxi6nlm52CXu3X8rjs6j0S8ej3i4RMP3OnY04cPc2OzALIVdibPO19t7Bl0Hn5LPoMIZsE0Fgj8k0oDzkhKmZmJC0qpDFdV7Z0UOJ4AF6YbbV8QhGNz0sVPLjQ0ylzctqdYzlVzpVAFslyODT4Fl7Zp5axCJFdfrK4ZK7LCWZFPoQc4n2ulFcsdZbmZc2EF40VxzfuopfhPc06ptWOYgZyKYorxGS1rom4ZAFcmQd1dt9mUJRoeEbJJcHZdOX2EExpV50 Requires: libQt5Widgets.so.5(Qt_5)(64bit) --- libkgantt2-2.6.0-alt1.M80P.1.x86_64.rpm.repo 2017-03-14 13:34:47.000000000 +0000 +++ libkgantt2-2.6.0-alt1.M80P.1.x86_64.rpm.hasher 2019-04-21 02:52:11.082954495 +0000 @@ -3,6 +3,6 @@ Requires: kf5-kdiagram-common = 2.6.0-alt1.M80P.1 -Requires: libQt5Core.so.5()(64bit) >= set:qi0eKEjeXw28nvnkINTnGdqnEq1OEWcsIff2nk5P1ZsZbCdMRbZ3MesZEvAYgrfZ2hpOT39Z5lnJGSebw4MJc1nXhtK4HLZH4ENViZ0eb2tyz4PyCyHXZpWza5mQamN7mosMnY4n3L3sKslncP7OOQs1nQqeanelvpAMphHZpNHaNFmdZrZn8MCuNmFoj0GbRIgwp67JL3Ld5hZ9jaIWXcwwyvIhJoau2QFySaWwdnZa1NIi5e58tiptFYHKL4KUxFTvYole0Ej2U2r2WidhAtuZtO1ZGW61sreh6SYhB26RZazKApUsGV1BJHR5XMF59fWnpGIOzhIZaMQF47s4HXLJR0Ibohc551ogHUv5EbSOxqYQPVs7hTtjhm16G7DqZp2gofS6ThBoLAv9REikje6p0KZkgpZrGrM3ICg7PGZ273257u4wZ3JDHZuzF7OS5El1ZtZ3gZn882qZpsJQSroeZJhdyjFvgjTvfctKhr8fRfROhTcg4LrtOqYxYnLTIiVxJ0CaMVxAY6sszBuBZ6guQGhD8ZvO1sLrmGROTGuTlv0vDvjRlC83skankh0zfiZvwgCrq88ohJWFeW68WuCbBrzKIZ6tWzPmZGLd8G4YEZ7xmp0ndZ1Nnna1 +Requires: libQt5Core.so.5()(64bit) >= set:qi0eKEjeXw28nvnkINTnGdqnEq1OEWcsIff2nk5P1ZsZbCdMRbZ3MesZEvAYgrfZ2hpOT39Z5lnJGSebw4MJc1nXhtK4HLZH4ENViZ0eb2tyz4PyCyHXZpWza5mQamN7mosMnY4n3L3sKslncP7OOQs1nQqeanelvpAMphHZpNHaNFmdZrZn8MCuNmFoj0GbRIgwp67JL3Ld5hZ9jaIWXcwwyvIhJoau2QFySaWwdnZa1NIi5e58tiptFYHKL4KUxFTvYole0Ej2U2r2WidhAtuZtO1ZGW61sreh6SYhB26RZazKApUsGV1BJHR5XMF59fWnpGIOzhIZaMQF47s4HXLJR0Ibohc551ogHUv5EbSOxqYQPVs7hTtjhm16G7DqZp2gofS6ThBoLAv9REikje6p0KZkgpZrGrM3ICg7PGZ273257u4wZ3JDHZuzF7OS5El1ZtZ3g15lLgw8EVDsJQSroeZJhdyjFvgjTvfctKhr8fRfROhTcg4LrtOqYx8VbJTWdHkuobwF2su89L17ToFnpL1VhH6tyUZy7MZeCBqJYJGTtR7MTVTktB9O07BO5l4MUzAZz8AVC622mkHuGzK1yKDViVSEbrLRFferZbZm3ya1fqZBEl6Mljv4vtF4 Requires: rpmlib(SetVersions) Requires: libQt5Core.so.5(Qt_5)(64bit) -Requires: libQt5Core.so.5(Qt_5.6)(64bit) +Requires: libQt5Core.so.5(Qt_5.9)(64bit) Requires: libQt5Gui.so.5()(64bit) >= set:qjI2H8FtJHKZuR7PY0MFD0XXKEZqPvGZ8uhbF98hFpNJDi79NnaEI8CoT2Izhpzm074BLWAieinVP3Grkrfalfbicaucyf9clPbzASqAKZGwAHBDfDXRSD3NfsJFK14szsWXQANTwPQA4VVdEPgAejMEpUcgmgDMPfcNc0fRoQ4nnGH3f8IP5DxxUndAt4NGDogZByjtPV1tFS2Vacf1h4fZ2UirAsWb0vZghQUU9W2DsVBEjZji7jHZmbpjd