Hello community, here is the log from the commit of package kguiaddons for openSUSE:Factory checked in at 2018-11-14 14:34:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kguiaddons (Old) and /work/SRC/openSUSE:Factory/.kguiaddons.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kguiaddons" Wed Nov 14 14:34:34 2018 rev:59 rq:648515 version:5.52.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kguiaddons/kguiaddons.changes 2018-10-22 11:12:09.583835386 +0200 +++ /work/SRC/openSUSE:Factory/.kguiaddons.new/kguiaddons.changes 2018-11-14 14:34:36.571254961 +0100 @@ -1,0 +2,13 @@ +Sun Nov 11 19:48:05 UTC 2018 - lbeltr...@kde.org + +- 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: + * Use more explicit constructors with internal classes + * Have more include guards match file the name + * Use more new style connect() + * Use Q_OBJECT with all QObject subclasses (helps debugging introspection) + +------------------------------------------------------------------- Old: ---- kguiaddons-5.51.0.tar.xz New: ---- kguiaddons-5.52.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kguiaddons.spec ++++++ --- /var/tmp/diff_new_pack.2UfHhk/_old 2018-11-14 14:34:37.091254454 +0100 +++ /var/tmp/diff_new_pack.2UfHhk/_new 2018-11-14 14:34:37.095254451 +0100 @@ -17,13 +17,13 @@ %define lname libKF5GuiAddons5 -%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}')} Name: kguiaddons -Version: 5.51.0 +Version: 5.52.0 Release: 0 Summary: Utilities for graphical user interfaces License: LGPL-2.1-or-later ++++++ kguiaddons-5.51.0.tar.xz -> kguiaddons-5.52.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-5.51.0/CMakeLists.txt new/kguiaddons-5.52.0/CMakeLists.txt --- old/kguiaddons-5.51.0/CMakeLists.txt 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/CMakeLists.txt 2018-11-03 13:00:17.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(KGuiAddons 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) @@ -36,11 +36,6 @@ option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") -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/kguiaddons-5.51.0/src/colors/kguiaddons_colorhelpers_p.h new/kguiaddons-5.52.0/src/colors/kguiaddons_colorhelpers_p.h --- old/kguiaddons-5.51.0/src/colors/kguiaddons_colorhelpers_p.h 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/src/colors/kguiaddons_colorhelpers_p.h 2018-11-03 13:00:17.000000000 +0100 @@ -18,8 +18,8 @@ * Boston, MA 02110-1301, USA. */ -#ifndef KGUIADDONS_KCOLORHELPERS_P_H -#define KGUIADDONS_KCOLORHELPERS_P_H +#ifndef KGUIADDONS_COLORHELPERS_P_H +#define KGUIADDONS_COLORHELPERS_P_H // normalize: like qBound(a, 0.0, 1.0) but without needing the args and with // "safer" behavior on NaN (isnan(a) -> return 0.0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-5.51.0/src/fonts/kfontutils.h new/kguiaddons-5.52.0/src/fonts/kfontutils.h --- old/kguiaddons-5.51.0/src/fonts/kfontutils.h 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/src/fonts/kfontutils.h 2018-11-03 13:00:17.000000000 +0100 @@ -20,8 +20,8 @@ * * *********************************************************************************/ -#ifndef KFONTMETRICS_H -#define KFONTMETRICS_H +#ifndef KFONTUTILS_H +#define KFONTUTILS_H #include <kguiaddons_export.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-5.51.0/src/text/kdatevalidator.h new/kguiaddons-5.52.0/src/text/kdatevalidator.h --- old/kguiaddons-5.51.0/src/text/kdatevalidator.h 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/src/text/kdatevalidator.h 2018-11-03 13:00:17.000000000 +0100 @@ -33,6 +33,7 @@ */ class KGUIADDONS_EXPORT KDateValidator : public QValidator { + Q_OBJECT public: explicit KDateValidator(QObject *parent = nullptr); State validate(QString &text, int &e) const override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-5.51.0/src/util/klocalimagecacheimpl.h new/kguiaddons-5.52.0/src/util/klocalimagecacheimpl.h --- old/kguiaddons-5.51.0/src/util/klocalimagecacheimpl.h 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/src/util/klocalimagecacheimpl.h 2018-11-03 13:00:17.000000000 +0100 @@ -37,7 +37,7 @@ class KGUIADDONS_EXPORT KLocalImageCacheImplementation { private: - KLocalImageCacheImplementation(unsigned defaultCacheSize); + explicit KLocalImageCacheImplementation(unsigned defaultCacheSize); public: virtual ~KLocalImageCacheImplementation(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-5.51.0/src/util/kmodifierkeyinfo.cpp new/kguiaddons-5.52.0/src/util/kmodifierkeyinfo.cpp --- old/kguiaddons-5.51.0/src/util/kmodifierkeyinfo.cpp 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/src/util/kmodifierkeyinfo.cpp 2018-11-03 13:00:17.000000000 +0100 @@ -24,13 +24,18 @@ KModifierKeyInfo::KModifierKeyInfo(QObject *parent) : QObject(parent), p(new KModifierKeyInfoProvider) { - connect(p, SIGNAL(keyPressed(Qt::Key,bool)), this, SIGNAL(keyPressed(Qt::Key,bool))); - connect(p, SIGNAL(keyLatched(Qt::Key,bool)), this, SIGNAL(keyLatched(Qt::Key,bool))); - connect(p, SIGNAL(keyLocked(Qt::Key,bool)), this, SIGNAL(keyLocked(Qt::Key,bool))); - connect(p, SIGNAL(buttonPressed(Qt::MouseButton,bool)), - this, SIGNAL(buttonPressed(Qt::MouseButton,bool))); - connect(p, SIGNAL(keyAdded(Qt::Key)), this, SIGNAL(keyAdded(Qt::Key))); - connect(p, SIGNAL(keyRemoved(Qt::Key)), this, SIGNAL(keyRemoved(Qt::Key))); + connect(p, &KModifierKeyInfoProvider::keyPressed, + this, &KModifierKeyInfo::keyPressed); + connect(p, &KModifierKeyInfoProvider::keyLatched, + this, &KModifierKeyInfo::keyLatched); + connect(p, &KModifierKeyInfoProvider::keyLocked, + this, &KModifierKeyInfo::keyLocked); + connect(p, &KModifierKeyInfoProvider::buttonPressed, + this, &KModifierKeyInfo::buttonPressed); + connect(p, &KModifierKeyInfoProvider::keyAdded, + this, &KModifierKeyInfo::keyAdded); + connect(p, &KModifierKeyInfoProvider::keyRemoved, + this, &KModifierKeyInfo::keyRemoved); } KModifierKeyInfo::~KModifierKeyInfo() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-5.51.0/tests/kmodifierkeyinfotest.cpp new/kguiaddons-5.52.0/tests/kmodifierkeyinfotest.cpp --- old/kguiaddons-5.51.0/tests/kmodifierkeyinfotest.cpp 2018-10-07 12:06:02.000000000 +0200 +++ new/kguiaddons-5.52.0/tests/kmodifierkeyinfotest.cpp 2018-11-03 13:00:17.000000000 +0100 @@ -136,13 +136,18 @@ setLayout(layout); - connect(&m_lock, SIGNAL(keyPressed(Qt::Key,bool)), SLOT(keyPressed(Qt::Key,bool))); - connect(&m_lock, SIGNAL(keyLatched(Qt::Key,bool)), SLOT(keyLatched(Qt::Key,bool))); - connect(&m_lock, SIGNAL(keyLocked(Qt::Key,bool)), SLOT(keyLocked(Qt::Key,bool))); - connect(&m_lock, SIGNAL(buttonPressed(Qt::MouseButton,bool)), - SLOT(mouseButtonPressed(Qt::MouseButton,bool))); - connect(&m_lock, SIGNAL(keyAdded(Qt::Key)), SLOT(keyAdded(Qt::Key))); - connect(&m_lock, SIGNAL(keyRemoved(Qt::Key)), SLOT(keyRemoved(Qt::Key))); + connect(&m_lock, &KModifierKeyInfo::keyPressed, + this, &TestWidget::keyPressed); + connect(&m_lock, &KModifierKeyInfo::keyLatched, + this, &TestWidget::keyLatched); + connect(&m_lock, &KModifierKeyInfo::keyLocked, + this, &TestWidget::keyLocked); + connect(&m_lock, &KModifierKeyInfo::buttonPressed, + this, &TestWidget::mouseButtonPressed); + connect(&m_lock, &KModifierKeyInfo::keyAdded, + this, &TestWidget::keyAdded); + connect(&m_lock, &KModifierKeyInfo::keyRemoved, + this, &TestWidget::keyRemoved); } void TestWidget::keyPressed(Qt::Key key, bool pressed)