Hello community, here is the log from the commit of package kitemmodels for openSUSE:Factory checked in at 2016-07-15 12:36:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kitemmodels (Old) and /work/SRC/openSUSE:Factory/.kitemmodels.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kitemmodels" Changes: -------- --- /work/SRC/openSUSE:Factory/kitemmodels/kitemmodels.changes 2016-07-03 12:23:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kitemmodels.new/kitemmodels.changes 2016-07-15 12:36:03.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Jul 6 15:04:44 UTC 2016 - hrvoje.sen...@gmail.com + +- Update to 5.24.0 + * Add KExtraColumnsProxyModel::removeExtraColumn, + will be needed by StatisticsProxyModel + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.24.0.php + +------------------------------------------------------------------- Old: ---- kitemmodels-5.23.0.tar.xz New: ---- kitemmodels-5.24.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kitemmodels.spec ++++++ --- /var/tmp/diff_new_pack.eMYemi/_old 2016-07-15 12:36:04.000000000 +0200 +++ /var/tmp/diff_new_pack.eMYemi/_new 2016-07-15 12:36:04.000000000 +0200 @@ -17,9 +17,9 @@ %define lname libKF5ItemModels5 -%define _tar_path 5.23 +%define _tar_path 5.24 Name: kitemmodels -Version: 5.23.0 +Version: 5.24.0 Release: 0 BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= %{_tar_path} ++++++ kitemmodels-5.23.0.tar.xz -> kitemmodels-5.24.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.23.0/CMakeLists.txt new/kitemmodels-5.24.0/CMakeLists.txt --- old/kitemmodels-5.23.0/CMakeLists.txt 2016-06-06 11:32:01.000000000 +0200 +++ new/kitemmodels-5.24.0/CMakeLists.txt 2016-07-03 11:49:44.000000000 +0200 @@ -3,7 +3,7 @@ project(KItemModels) include(FeatureSummary) -find_package(ECM 5.23.0 NO_MODULE) +find_package(ECM 5.24.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -23,7 +23,7 @@ include(ECMSetupVersion) include(ECMGenerateHeaders) -set(KF5_VERSION "5.23.0") # handled by release scripts +set(KF5_VERSION "5.24.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KITEMMODELS VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.23.0/autotests/kextracolumnsproxymodeltest.cpp new/kitemmodels-5.24.0/autotests/kextracolumnsproxymodeltest.cpp --- old/kitemmodels-5.23.0/autotests/kextracolumnsproxymodeltest.cpp 2016-06-06 11:32:01.000000000 +0200 +++ new/kitemmodels-5.24.0/autotests/kextracolumnsproxymodeltest.cpp 2016-07-03 11:49:44.000000000 +0200 @@ -52,7 +52,9 @@ TwoExtraColumnsProxyModel() : KExtraColumnsProxyModel(), m_extraColumnData('Z') { appendColumn(QStringLiteral("H5")); + appendColumn(QStringLiteral("WRONG")); // removed two lines below, just to test removeColumn appendColumn(QStringLiteral("H6")); + removeExtraColumn(1); } QVariant extraColumnData(const QModelIndex &, int row, int extraColumn, int role) const Q_DECL_OVERRIDE { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.23.0/metainfo.yaml new/kitemmodels-5.24.0/metainfo.yaml --- old/kitemmodels-5.23.0/metainfo.yaml 2016-06-06 11:32:01.000000000 +0200 +++ new/kitemmodels-5.24.0/metainfo.yaml 2016-07-03 11:49:44.000000000 +0200 @@ -3,7 +3,10 @@ tier: 1 type: functional platforms: - - name: All + - name: Linux + - name: Windows + - name: MacOSX + - name: Android portingAid: false deprecated: false release: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.23.0/src/kextracolumnsproxymodel.cpp new/kitemmodels-5.24.0/src/kextracolumnsproxymodel.cpp --- old/kitemmodels-5.23.0/src/kextracolumnsproxymodel.cpp 2016-06-06 11:32:01.000000000 +0200 +++ new/kitemmodels-5.24.0/src/kextracolumnsproxymodel.cpp 2016-07-03 11:49:44.000000000 +0200 @@ -61,6 +61,12 @@ d->m_extraHeaders.append(header); } +void KExtraColumnsProxyModel::removeExtraColumn(int idx) +{ + Q_D(KExtraColumnsProxyModel); + d->m_extraHeaders.remove(idx); +} + bool KExtraColumnsProxyModel::setExtraColumnData(const QModelIndex &parent, int row, int extraColumn, const QVariant &data, int role) { Q_UNUSED(parent); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.23.0/src/kextracolumnsproxymodel.h new/kitemmodels-5.24.0/src/kextracolumnsproxymodel.h --- old/kitemmodels-5.23.0/src/kextracolumnsproxymodel.h 2016-06-06 11:32:01.000000000 +0200 +++ new/kitemmodels-5.24.0/src/kextracolumnsproxymodel.h 2016-07-03 11:49:44.000000000 +0200 @@ -65,10 +65,19 @@ /** * Appends an extra column. * @param header an optional text for the horizontal header + * This does not emit any signals - do it in the initial setup phase */ void appendColumn(const QString &header = QString()); /** + * Removes an extra column. + * @param idx index of the extra column (starting from 0). + * This does not emit any signals - do it in the initial setup phase + * @since 5.24 + */ + void removeExtraColumn(int idx); + + /** * This method is called by data() for extra columns. * Reimplement this method to return the data for the extra columns. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.23.0/tests/proxymodeltestapp/CMakeLists.txt new/kitemmodels-5.24.0/tests/proxymodeltestapp/CMakeLists.txt --- old/kitemmodels-5.23.0/tests/proxymodeltestapp/CMakeLists.txt 2016-06-06 11:32:01.000000000 +0200 +++ new/kitemmodels-5.24.0/tests/proxymodeltestapp/CMakeLists.txt 2016-07-03 11:49:44.000000000 +0200 @@ -19,6 +19,7 @@ matchcheckingwidget.cpp ) +find_package(Qt5Widgets ${REQUIRED_QT_VERSION} QUIET CONFIG) find_package(Qt5Script ${REQUIRED_QT_VERSION} QUIET CONFIG) if (Qt5Script_FOUND) list(APPEND proxymodeltestapp_SRCS