Hello community, here is the log from the commit of package kitemmodels for openSUSE:Factory checked in at 2018-11-14 14:35:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kitemmodels (Old) and /work/SRC/openSUSE:Factory/.kitemmodels.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kitemmodels" Wed Nov 14 14:35:36 2018 rev:59 rq:648525 version:5.52.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kitemmodels/kitemmodels.changes 2018-10-22 11:13:32.943768840 +0200 +++ /work/SRC/openSUSE:Factory/.kitemmodels.new/kitemmodels.changes 2018-11-14 14:35:41.791191205 +0100 @@ -1,0 +2,12 @@ +Sun Nov 11 19:48:05 UTC 2018 - [email protected] + +- Update to 5.52.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.52.0.php +- Changes since 5.51.0: + * Add missing "emit" + * Fix minor EBN issues and typos + * USe new syntax + +------------------------------------------------------------------- Old: ---- kitemmodels-5.51.0.tar.xz New: ---- kitemmodels-5.52.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kitemmodels.spec ++++++ --- /var/tmp/diff_new_pack.I7XRvX/_old 2018-11-14 14:35:42.375190634 +0100 +++ /var/tmp/diff_new_pack.I7XRvX/_new 2018-11-14 14:35:42.375190634 +0100 @@ -18,14 +18,14 @@ %define clang_sonum 3.8 %define lname libKF5ItemModels5 -%define _tar_path 5.51 +%define _tar_path 5.52 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_with python Name: kitemmodels -Version: 5.51.0 +Version: 5.52.0 Release: 0 Summary: Set of item models extending the Qt model-view framework License: LGPL-2.1-or-later ++++++ kitemmodels-5.51.0.tar.xz -> kitemmodels-5.52.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/CMakeLists.txt new/kitemmodels-5.52.0/CMakeLists.txt --- old/kitemmodels-5.51.0/CMakeLists.txt 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/CMakeLists.txt 2018-11-03 13:01:01.000000000 +0100 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.51.0") # handled by release scripts +set(KF5_VERSION "5.52.0") # handled by release scripts project(KItemModels VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.51.0 NO_MODULE) +find_package(ECM 5.52.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) @@ -34,11 +34,6 @@ PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ItemModelsConfigVersion.cmake" SOVERSION 5) -add_definitions(-DQT_NO_CAST_FROM_ASCII) -add_definitions(-DQT_NO_CAST_TO_ASCII) -add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) -add_definitions(-DQT_NO_URL_CAST_FROM_STRING) -add_definitions(-DQT_USE_QSTRINGBUILDER) add_subdirectory(src) if (BUILD_TESTING) add_subdirectory(autotests) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/autotests/kdescendantsproxymodeltest.cpp new/kitemmodels-5.52.0/autotests/kdescendantsproxymodeltest.cpp --- old/kitemmodels-5.51.0/autotests/kdescendantsproxymodeltest.cpp 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/autotests/kdescendantsproxymodeltest.cpp 2018-11-03 13:01:01.000000000 +0100 @@ -130,7 +130,7 @@ delete model1; } -/// tests that change seperator that is not shown does not change the content and does not +/// tests that change separator that is not shown does not change the content and does not /// emit data changed signals, since the data isn't changed void tst_KDescendantProxyModel::testChangeInvisibleSeparator() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/autotests/proxymodeltestsuite/proxymodeltest.cpp new/kitemmodels-5.52.0/autotests/proxymodeltestsuite/proxymodeltest.cpp --- old/kitemmodels-5.51.0/autotests/proxymodeltestsuite/proxymodeltest.cpp 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/autotests/proxymodeltestsuite/proxymodeltest.cpp 2018-11-03 13:01:01.000000000 +0100 @@ -189,7 +189,7 @@ QVariantList result = getResultSignal(); QCOMPARE(result.takeAt(0).toInt(), signalType); - // Check that the signal we expected to recieve was emitted exactly. + // Check that the signal we expected to receive was emitted exactly. switch (signalType) { case RowsAboutToBeInserted: case RowsInserted: @@ -577,7 +577,7 @@ const bool isLayoutChange = signalList.contains(QVariantList() << LayoutAboutToBeChanged); while (!signalList.isEmpty()) { - // Process each signal we recieved as a result of running the test. + // Process each signal we received as a result of running the test. QVariantList expected = signalList.takeAt(0); handleSignal(expected); } @@ -641,9 +641,9 @@ m_modelSpy->clearTestData(); } -void ProxyModelTest::connectTestSignals(QObject *reciever) +void ProxyModelTest::connectTestSignals(QObject *receiver) { - if (!reciever) { + if (!receiver) { return; } for (int methodIndex = 0; methodIndex < metaObject()->methodCount(); ++methodIndex) { @@ -651,16 +651,16 @@ if (mm.methodType() == QMetaMethod::Signal && QString(mm.methodSignature()).startsWith(QLatin1String("test")) && QString(mm.methodSignature()).endsWith(QLatin1String("Data()"))) { - int slotIndex = reciever->metaObject()->indexOfSlot(mm.methodSignature()); + int slotIndex = receiver->metaObject()->indexOfSlot(mm.methodSignature()); Q_ASSERT(slotIndex >= 0); - metaObject()->connect(this, methodIndex, reciever, slotIndex); + metaObject()->connect(this, methodIndex, receiver, slotIndex); } } } -void ProxyModelTest::disconnectTestSignals(QObject *reciever) +void ProxyModelTest::disconnectTestSignals(QObject *receiver) { - if (!reciever) { + if (!receiver) { return; } for (int methodIndex = 0; methodIndex < metaObject()->methodCount(); ++methodIndex) { @@ -668,9 +668,9 @@ if (mm.methodType() == QMetaMethod::Signal && QString(mm.methodSignature()).startsWith(QLatin1String("test")) && QString(mm.methodSignature()).endsWith(QLatin1String("Data()"))) { - int slotIndex = reciever->metaObject()->indexOfSlot(mm.methodSignature()); + int slotIndex = receiver->metaObject()->indexOfSlot(mm.methodSignature()); Q_ASSERT(slotIndex >= 0); - metaObject()->disconnect(this, methodIndex, reciever, slotIndex); + metaObject()->disconnect(this, methodIndex, receiver, slotIndex); } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/autotests/proxymodeltestsuite/proxymodeltest.h new/kitemmodels-5.52.0/autotests/proxymodeltestsuite/proxymodeltest.h --- old/kitemmodels-5.51.0/autotests/proxymodeltestsuite/proxymodeltest.h 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/autotests/proxymodeltestsuite/proxymodeltest.h 2018-11-03 13:01:01.000000000 +0100 @@ -326,8 +326,8 @@ } protected: - void connectTestSignals(QObject *reciever); - void disconnectTestSignals(QObject *reciever); + void connectTestSignals(QObject *receiver); + void disconnectTestSignals(QObject *receiver); void connectProxy(QAbstractProxyModel *proxyModel); void doTestMappings(const QModelIndex &parent); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/autotests/test_model_helpers.h new/kitemmodels-5.52.0/autotests/test_model_helpers.h --- old/kitemmodels-5.51.0/autotests/test_model_helpers.h 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/autotests/test_model_helpers.h 2018-11-03 13:01:01.000000000 +0100 @@ -18,6 +18,9 @@ 02110-1301, USA. */ +#ifndef TEST_MODEL_HELPERS_H +#define TEST_MODEL_HELPERS_H + #include <QString> #include <QStandardItem> #include <QSignalSpy> @@ -76,4 +79,4 @@ } } - +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/kitemmodels.categories new/kitemmodels-5.52.0/kitemmodels.categories --- old/kitemmodels-5.51.0/kitemmodels.categories 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/kitemmodels.categories 2018-11-03 13:01:01.000000000 +0100 @@ -1 +1 @@ -kf5.kitemmodels KItemModels +kf5.kitemmodels KItemModels IDENTIFIER [KITEMMODELS_LOG] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/src/kbreadcrumbselectionmodel.h new/kitemmodels-5.52.0/src/kbreadcrumbselectionmodel.h --- old/kitemmodels-5.51.0/src/kbreadcrumbselectionmodel.h 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/src/kbreadcrumbselectionmodel.h 2018-11-03 13:01:01.000000000 +0100 @@ -19,8 +19,8 @@ 02110-1301, USA. */ -#ifndef KBREADCRUMBSPROXYMODEL_H -#define KBREADCRUMBSPROXYMODEL_H +#ifndef KBREADCRUMBSELECTIONMODEL_H +#define KBREADCRUMBSELECTIONMODEL_H #include <QItemSelectionModel> #include <QAbstractItemModel> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/src/kcheckableproxymodel.cpp new/kitemmodels-5.52.0/src/kcheckableproxymodel.cpp --- old/kitemmodels-5.51.0/src/kcheckableproxymodel.cpp 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/src/kcheckableproxymodel.cpp 2018-11-03 13:01:01.000000000 +0100 @@ -119,10 +119,10 @@ { Q_Q(KCheckableProxyModel); Q_FOREACH (const QItemSelectionRange &range, q->mapSelectionFromSource(selected)) { - q->dataChanged(range.topLeft(), range.bottomRight()); + emit q->dataChanged(range.topLeft(), range.bottomRight()); } Q_FOREACH (const QItemSelectionRange &range, q->mapSelectionFromSource(deselected)) { - q->dataChanged(range.topLeft(), range.bottomRight()); + emit q->dataChanged(range.topLeft(), range.bottomRight()); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/src/kdescendantsproxymodel.cpp new/kitemmodels-5.52.0/src/kdescendantsproxymodel.cpp --- old/kitemmodels-5.51.0/src/kdescendantsproxymodel.cpp 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/src/kdescendantsproxymodel.cpp 2018-11-03 13:01:01.000000000 +0100 @@ -901,7 +901,7 @@ return; } - q->layoutAboutToBeChanged(); + emit q->layoutAboutToBeChanged(); QPersistentModelIndex srcPersistentIndex; Q_FOREACH (const QPersistentModelIndex &proxyPersistentIndex, q->persistentIndexList()) { @@ -937,7 +937,7 @@ m_layoutChangePersistentIndexes.clear(); m_proxyIndexes.clear(); - q->layoutChanged(); + emit q->layoutChanged(); } void KDescendantsProxyModelPrivate::sourceDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/src/kselectionproxymodel.cpp new/kitemmodels-5.52.0/src/kselectionproxymodel.cpp --- old/kitemmodels-5.51.0/src/kselectionproxymodel.cpp 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/src/kselectionproxymodel.cpp 2018-11-03 13:01:01.000000000 +0100 @@ -1667,7 +1667,7 @@ if (proxyGrandParent == parent) { if (!flatList) // Due to recursive calls, we could have several iterators on the container - // when erase is called. That's safe accoring to the QHash::iterator docs though. + // when erase is called. That's safe according to the QHash::iterator docs though. { removeParentMappings(it.key(), 0, q->sourceModel()->rowCount(it.value()) - 1); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/tests/proxymodeltestapp/breadcrumbswidget.h new/kitemmodels-5.52.0/tests/proxymodeltestapp/breadcrumbswidget.h --- old/kitemmodels-5.51.0/tests/proxymodeltestapp/breadcrumbswidget.h 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/tests/proxymodeltestapp/breadcrumbswidget.h 2018-11-03 13:01:01.000000000 +0100 @@ -19,8 +19,8 @@ 02110-1301, USA. */ -#ifndef BREADCRUBS_WIDGET_H -#define BREADCRUBS_WIDGET_H +#ifndef BREADCRUMBS_WIDGET_H +#define BREADCRUMBS_WIDGET_H #include <QWidget> #include <QItemSelection> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/tests/proxymodeltestapp/kreparentingproxymodel.cpp new/kitemmodels-5.52.0/tests/proxymodeltestapp/kreparentingproxymodel.cpp --- old/kitemmodels-5.51.0/tests/proxymodeltestapp/kreparentingproxymodel.cpp 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/tests/proxymodeltestapp/kreparentingproxymodel.cpp 2018-11-03 13:01:01.000000000 +0100 @@ -821,7 +821,7 @@ QHash<QModelIndex, QModelIndexList> newItemMappings = recreateMappings(parent, start, end, KReparentingProxyModelPrivate::MapDescendants); // iterate over keys. if key in keys iterate up. This gives list of top level parents. - // Pick the one whoes parent is @p parent. Insert it. Look up until find the parent of another one and insert that. + // Pick the one whose parent is @p parent. Insert it. Look up until find the parent of another one and insert that. // If one of the parents is invalid it is necessarily the last one to be processed (if there are more to process, they'll be children of it) // That case should work too. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.51.0/tests/proxymodeltestapp/recursivefilterpmwidget.h new/kitemmodels-5.52.0/tests/proxymodeltestapp/recursivefilterpmwidget.h --- old/kitemmodels-5.51.0/tests/proxymodeltestapp/recursivefilterpmwidget.h 2018-10-07 12:07:31.000000000 +0200 +++ new/kitemmodels-5.52.0/tests/proxymodeltestapp/recursivefilterpmwidget.h 2018-11-03 13:01:01.000000000 +0100 @@ -19,8 +19,8 @@ * 02110-1301 USA */ -#ifndef RECURSIVE_PM_WIDGET_H -#define RECURSIVE_PM_WIDGET_H +#ifndef RECURSIVE_FILTER_PM_WIDGET_H +#define RECURSIVE_FILTER_PM_WIDGET_H #include <QWidget> #include <QRegExp>
