Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kontactinterface for 
openSUSE:Factory checked in at 2021-08-16 10:06:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kontactinterface (Old)
 and      /work/SRC/openSUSE:Factory/.kontactinterface.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kontactinterface"

Mon Aug 16 10:06:42 2021 rev:71 rq:911718 version:21.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kontactinterface/kontactinterface.changes        
2021-07-09 23:59:10.500601175 +0200
+++ 
/work/SRC/openSUSE:Factory/.kontactinterface.new.1899/kontactinterface.changes  
    2021-08-16 10:08:08.159342690 +0200
@@ -1,0 +2,28 @@
+Fri Aug  6 09:39:57 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 21.08.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/gear/21.08.0
+- No code change since 21.07.90
+
+-------------------------------------------------------------------
+Fri Jul 30 10:05:20 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 21.07.90
+  * New feature release
+- No code change since 21.07.80
+
+-------------------------------------------------------------------
+Sat Jul 17 20:06:28 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Update to 21.07.80
+  * New feature release
+- Changes since 21.04.3:
+  * Fix moc setup for EXPORT_KONTACT_PLUGIN_WITH_JSON macro
+  * Remove unneeded K_EXPORT_PLUGIN_VERSION usage
+  * Fix compile
+  * Modernize code
+- Only install the license files once
+
+-------------------------------------------------------------------

Old:
----
  kontactinterface-21.04.3.tar.xz
  kontactinterface-21.04.3.tar.xz.sig

New:
----
  kontactinterface-21.08.0.tar.xz
  kontactinterface-21.08.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kontactinterface.spec ++++++
--- /var/tmp/diff_new_pack.uJhuFm/_old  2021-08-16 10:08:10.687339662 +0200
+++ /var/tmp/diff_new_pack.uJhuFm/_new  2021-08-16 10:08:10.691339657 +0200
@@ -21,7 +21,7 @@
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 %bcond_without lang
 Name:           kontactinterface
-Version:        21.04.3
+Version:        21.08.0
 Release:        0
 Summary:        KDE PIM Libraries: Interface to Contacts
 License:        LGPL-2.1-or-later
@@ -89,7 +89,6 @@
 %{_kf5_servicetypesdir}/kontactplugin.desktop
 
 %files devel
-%license LICENSES/*
 %{_kf5_cmakedir}/KF5KontactInterface/
 %{_kf5_includedir}/KontactInterface/
 %{_kf5_includedir}/kontactinterface_version.h
@@ -98,7 +97,6 @@
 
 %if %{with lang}
 %files lang -f %{name}.lang
-%license LICENSES/*
 %endif
 
 %changelog


++++++ kontactinterface-21.04.3.tar.xz -> kontactinterface-21.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/.clang-format 
new/kontactinterface-21.08.0/.clang-format
--- old/kontactinterface-21.04.3/.clang-format  2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/.clang-format  1970-01-01 01:00:00.000000000 
+0100
@@ -1,76 +0,0 @@
----
-# SPDX-FileCopyrightText: 2019 Christoph Cullmann <[email protected]>
-# SPDX-FileCopyrightText: 2019 Gernot Gebhard <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-
-# Style for C++
-Language: Cpp
-
-# base is WebKit coding style: https://webkit.org/code-style-guidelines/
-# below are only things set that diverge from this style!
-BasedOnStyle: WebKit
-
-# enforce C++11 (e.g. for std::vector<std::vector<lala>>
-Standard: Cpp11
-
-# 4 spaces indent
-TabWidth: 4
-
-# 2 * 80 wide lines
-ColumnLimit: 160
-
-# sort includes inside line separated groups
-SortIncludes: true
-
-# break before braces on function, namespace and class definitions.
-BreakBeforeBraces: Linux
-
-# CrlInstruction *a;
-PointerAlignment: Right
-
-# horizontally aligns arguments after an open bracket.
-AlignAfterOpenBracket: Align
-
-# don't move all parameters to new line
-AllowAllParametersOfDeclarationOnNextLine: false
-
-# no single line functions
-AllowShortFunctionsOnASingleLine: None
-
-# always break before you encounter multi line strings
-AlwaysBreakBeforeMultilineStrings: true
-
-# don't move arguments to own lines if they are not all on the same
-BinPackArguments: false
-
-# don't move parameters to own lines if they are not all on the same
-BinPackParameters: false
-
-# In case we have an if statement whith multiple lines the operator should be 
at the beginning of the line
-# but we do not want to break assignments
-BreakBeforeBinaryOperators: NonAssignment
-
-# format C++11 braced lists like function calls
-Cpp11BracedListStyle: true
-
-# do not put a space before C++11 braced lists
-SpaceBeforeCpp11BracedList: false
-
-# remove empty lines
-KeepEmptyLinesAtTheStartOfBlocks: false
-
-# no namespace indentation to keep indent level low
-NamespaceIndentation: None
-
-# we use template< without space.
-SpaceAfterTemplateKeyword: false
-
-# macros for which the opening brace stays attached.
-ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, 
QBENCHMARK, QBENCHMARK_ONCE ]
-
-# keep lambda formatting multi-line if not empty
-AllowShortLambdasOnASingleLine: Empty
-
-# We do not want clang-format to put all arguments on a new line
-AllowAllArgumentsOnNextLine: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/.gitignore 
new/kontactinterface-21.08.0/.gitignore
--- old/kontactinterface-21.04.3/.gitignore     2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/.gitignore     2021-07-30 14:44:35.000000000 
+0200
@@ -19,3 +19,8 @@
 CMakeLists.txt.user*
 *.unc-backup*
 compile_commands.json
+.clang-format
+.clangd
+.idea
+/cmake-build*
+.cache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/CMakeLists.txt 
new/kontactinterface-21.08.0/CMakeLists.txt
--- old/kontactinterface-21.04.3/CMakeLists.txt 2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/CMakeLists.txt 2021-07-30 14:44:35.000000000 
+0200
@@ -1,10 +1,10 @@
-cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
-set(PIM_VERSION "5.17.3")
+cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
+set(PIM_VERSION "5.18.0")
 
 project(KontactInterface VERSION ${PIM_VERSION})
 
 # ECM setup
-set(KF5_MIN_VERSION "5.79.0")
+set(KF5_MIN_VERSION "5.83.0")
 
 find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
@@ -39,7 +39,7 @@
 ecm_setup_qtplugin_macro_names(
     JSON_NONE
         EXPORT_KONTACT_PLUGIN
-    JSON_ARG3
+    JSON_ARG2
         EXPORT_KONTACT_PLUGIN_WITH_JSON
     CONFIG_CODE_VARIABLE
         PACKAGE_SETUP_AUTOMOC_VARIABLES
@@ -57,7 +57,7 @@
 if (NOT APPLE)
     find_package(X11)
 endif()
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 17)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 set(KONTACTINTERFACE_HAVE_X11 ${X11_FOUND})
@@ -92,17 +92,12 @@
 add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054C00)
 
 
-option(USE_UNITY_CMAKE_SUPPORT "Use UNITY cmake support (speedup compile 
time)" FALSE)
+option(USE_UNITY_CMAKE_SUPPORT "Use UNITY cmake support (speedup compile 
time)" OFF)
 
-set(COMPILE_WITH_UNITY_CMAKE_SUPPORT false)
+set(COMPILE_WITH_UNITY_CMAKE_SUPPORT OFF)
 if (USE_UNITY_CMAKE_SUPPORT)
-    if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
-        message(STATUS "CMAKE version is less than 3.16.0 . We can't use cmake 
unify build support")
-    else()
-        set(COMPILE_WITH_UNITY_CMAKE_SUPPORT true)
-    endif()
+    set(COMPILE_WITH_UNITY_CMAKE_SUPPORT ON)
 endif()
-
 add_subdirectory(src)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/CMakePresets.json 
new/kontactinterface-21.08.0/CMakePresets.json
--- old/kontactinterface-21.04.3/CMakePresets.json      2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/CMakePresets.json      2021-07-30 
14:44:35.000000000 +0200
@@ -1,5 +1,5 @@
 {
-    "version": 1,
+    "version": 2,
     "configurePresets": [
         {
             "name": "dev",
@@ -23,6 +23,20 @@
             }
         },
         {
+            "name": "dev-clang",
+            "displayName": "dev-clang",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-clang",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug",
+                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
+            },
+            "environment": {
+                "CXX": "clang++",
+                "CCACHE_DISABLE": "ON"
+            }
+        },
+        {
             "name": "unity",
             "displayName": "Build with CMake unity support.",
             "generator": "Ninja",
@@ -51,6 +65,64 @@
                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
             }
+        },
+        {
+            "name": "clazy",
+            "displayName": "clazy",
+            "generator": "Ninja",
+            "binaryDir": "${sourceDir}/build-clazy",
+            "cacheVariables": {
+                "CMAKE_BUILD_TYPE": "Debug"
+            },
+            "environment": {
+                "CXX": "clazy",
+                "CCACHE_DISABLE": "ON"
+            }
+        }
+
+    ],
+    "buildPresets": [
+        {
+            "name": "dev",
+            "configurePreset": "dev"
+        },
+        {
+            "name": "release",
+            "configurePreset": "release"
+        },
+        {
+            "name": "dev-clang",
+            "configurePreset": "dev-clang"
+        },
+        {
+            "name": "asan",
+            "configurePreset": "asan"
+        },
+        {
+            "name": "unity",
+            "configurePreset": "unity"
+        },
+        {
+            "name": "clazy",
+            "configurePreset": "clazy",
+            "environment": {
+                "CLAZY_CHECKS" : 
"level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs,level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo",
+                "CCACHE_DISABLE" : "ON"
+            }
         }
+    ],
+    "testPresets": [
+    { 
+      "name": "dev",
+      "configurePreset": "dev",
+      "output": {"outputOnFailure": true},
+      "execution": {"noTestsAction": "error", "stopOnFailure": false}
+    },
+    { 
+      "name": "asan",
+      "configurePreset": "asan",
+      "output": {"outputOnFailure": true},
+      "execution": {"noTestsAction": "error", "stopOnFailure": true}
+    }
     ]
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/metainfo.yaml.license 
new/kontactinterface-21.08.0/metainfo.yaml.license
--- old/kontactinterface-21.04.3/metainfo.yaml.license  1970-01-01 
01:00:00.000000000 +0100
+++ new/kontactinterface-21.08.0/metainfo.yaml.license  2021-07-30 
14:44:35.000000000 +0200
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: none
+SPDX-License-Identifier: CC0-1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/po/eu/kontactinterfaces5.po 
new/kontactinterface-21.08.0/po/eu/kontactinterfaces5.po
--- old/kontactinterface-21.04.3/po/eu/kontactinterfaces5.po    1970-01-01 
01:00:00.000000000 +0100
+++ new/kontactinterface-21.08.0/po/eu/kontactinterfaces5.po    2021-08-06 
02:22:42.000000000 +0200
@@ -0,0 +1,31 @@
+# Translation for kontactinterfaces5.po to Euskara/Basque (eu).
+# Copyright (C) 2021, This file is copyright:
+# This file is distributed under the same license as the kontactinterface 
package.
+# KDE euskaratzeko proiektuko arduraduna <[email protected]>.
+#
+# Translators:
+# I??igo Salvador Azurmendi <[email protected]>, 2021.
+msgid ""
+msgstr ""
+"Project-Id-Version: kontactinterface\n"
+"Report-Msgid-Bugs-To: https://bugs.kde.org\n";
+"POT-Creation-Date: 2019-05-20 03:17+0200\n"
+"PO-Revision-Date: 2021-07-24 21:25+0200\n"
+"Last-Translator: I??igo Salvador Azurmendi <[email protected]>\n"
+"Language-Team: Basque <[email protected]>\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Lokalize 21.04.3\n"
+
+#, kde-format
+msgctxt "NAME OF TRANSLATORS"
+msgid "Your names"
+msgstr "I??igo Salvador Azurmendi"
+
+#, kde-format
+msgctxt "EMAIL OF TRANSLATORS"
+msgid "Your emails"
+msgstr "[email protected]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/po/sq/kontactinterfaces5.po 
new/kontactinterface-21.08.0/po/sq/kontactinterfaces5.po
--- old/kontactinterface-21.04.3/po/sq/kontactinterfaces5.po    2021-07-06 
07:26:51.000000000 +0200
+++ new/kontactinterface-21.08.0/po/sq/kontactinterfaces5.po    2021-08-06 
02:22:42.000000000 +0200
@@ -1,22 +1,23 @@
 # Albanian translation for kdepim
 # Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
 # This file is distributed under the same license as the kdepim package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
 #
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
+# Agron Selimaj <[email protected]>, 2021.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdepim\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2019-05-20 03:17+0200\n"
-"PO-Revision-Date: 2009-05-17 13:56+0000\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: Albanian <[email protected]>\n"
+"PO-Revision-Date: 2021-03-24 11:01-0400\n"
+"Last-Translator: Agron Selimaj <[email protected]>\n"
+"Language-Team: kdeshqip\n"
 "Language: sq\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "X-Launchpad-Export-Date: 2011-04-21 23:53+0000\n"
-"X-Generator: Launchpad (build 12883)\n"
+"X-Generator: Lokalize 20.12.3\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 
 #, kde-format
@@ -27,4 +28,4 @@
 #, kde-format
 msgctxt "EMAIL OF TRANSLATORS"
 msgid "Your emails"
-msgstr "[email protected]"
+msgstr "[email protected]"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kontactinterface-21.04.3/po/zh_CN/kontactinterfaces5.po 
new/kontactinterface-21.08.0/po/zh_CN/kontactinterfaces5.po
--- old/kontactinterface-21.04.3/po/zh_CN/kontactinterfaces5.po 2021-07-06 
07:26:51.000000000 +0200
+++ new/kontactinterface-21.08.0/po/zh_CN/kontactinterfaces5.po 2021-08-06 
02:22:42.000000000 +0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2019-05-20 03:17+0200\n"
-"PO-Revision-Date: 2021-06-20 07:37\n"
+"PO-Revision-Date: 2021-07-26 13:50\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/sanitizers.supp 
new/kontactinterface-21.08.0/sanitizers.supp
--- old/kontactinterface-21.04.3/sanitizers.supp        2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/sanitizers.supp        2021-07-30 
14:44:35.000000000 +0200
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2021 Laurent Montel <[email protected]>
+# SPDX-License-Identifier: CC0-1.0
 # Suppression file for ASAN/LSAN
 
 leak:libspeechd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/CMakeLists.txt 
new/kontactinterface-21.08.0/src/CMakeLists.txt
--- old/kontactinterface-21.04.3/src/CMakeLists.txt     2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/CMakeLists.txt     2021-07-30 
14:44:35.000000000 +0200
@@ -1,4 +1,6 @@
-set(kontactinterface_LIB_SRCS
+add_library(KF5KontactInterface)
+add_library(KF5::KontactInterface ALIAS KF5KontactInterface)
+target_sources(KF5KontactInterface PRIVATE
     core.cpp
     plugin.cpp
     summary.cpp
@@ -6,19 +8,16 @@
     uniqueapphandler.cpp
     pimuniqueapplication.cpp)
 
-ecm_qt_declare_logging_category(kontactinterface_LIB_SRCS HEADER 
kontactinterface_debug.h IDENTIFIER KONTACTINTERFACE_LOG CATEGORY_NAME 
org.kde.pim.kontactinterface
+ecm_qt_declare_logging_category(KF5KontactInterface HEADER 
kontactinterface_debug.h IDENTIFIER KONTACTINTERFACE_LOG CATEGORY_NAME 
org.kde.pim.kontactinterface
         OLD_CATEGORY_NAMES log_kontactinterface
         DESCRIPTION "kontactinterface (pim lib)" EXPORT KONTACTINTERFACE)
 
-add_library(KF5KontactInterface ${kontactinterface_LIB_SRCS})
 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
     set_target_properties(KF5KontactInterface PROPERTIES UNITY_BUILD ON)
 endif()
 
 generate_export_header(KF5KontactInterface BASE_NAME kontactinterface)
 
-add_library(KF5::KontactInterface ALIAS KF5KontactInterface)
-
 target_include_directories(KF5KontactInterface INTERFACE 
"$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KontactInterface>")
 target_include_directories(KF5KontactInterface PUBLIC 
"$<BUILD_INTERFACE:${KontactInterface_SOURCE_DIR}/src;${KontactInterface_BINARY_DIR}/src;${KontactInterface_BINARY_DIR}>")
 
@@ -33,7 +32,7 @@
 )
 
 set_target_properties(KF5KontactInterface PROPERTIES
-    VERSION ${KONTACTINTERFACE_VERSION_STRING}
+    VERSION ${KONTACTINTERFACE_VERSION}
     SOVERSION ${KONTACTINTERFACE_SOVERSION}
     EXPORT_NAME KontactInterface
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/core.cpp 
new/kontactinterface-21.08.0/src/core.cpp
--- old/kontactinterface-21.04.3/src/core.cpp   2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/src/core.cpp   2021-07-30 14:44:35.000000000 
+0200
@@ -47,7 +47,7 @@
     : KParts::MainWindow(parent, f)
     , d(new Private(this))
 {
-    QTimer *timer = new QTimer(this);
+    auto timer = new QTimer(this);
     connect(timer, &QTimer::timeout, this, [this]() {
         d->checkNewDay();
     });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/core.h 
new/kontactinterface-21.08.0/src/core.h
--- old/kontactinterface-21.04.3/src/core.h     2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/src/core.h     2021-07-30 14:44:35.000000000 
+0200
@@ -7,8 +7,7 @@
   SPDX-License-Identifier: LGPL-2.0-or-later
 
 */
-#ifndef KONTACTINTERFACE_CORE_H
-#define KONTACTINTERFACE_CORE_H
+#pragma once
 
 #include "kontactinterface_export.h"
 
@@ -102,4 +101,3 @@
 
 }
 
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/kontactplugin.desktop 
new/kontactinterface-21.08.0/src/kontactplugin.desktop
--- old/kontactinterface-21.04.3/src/kontactplugin.desktop      2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/kontactplugin.desktop      2021-07-30 
14:44:35.000000000 +0200
@@ -15,6 +15,7 @@
 Name[en_GB]=Kontact Plugin
 Name[es]=Complemento de Kontact
 Name[et]=Kontacti plugin
+Name[eu]=Kontact plugina
 Name[fi]=Kontact-liit??nn??inen
 Name[fr]=Module externe pour Kontact
 Name[ga]=Breise??n Kontact
@@ -43,6 +44,7 @@
 Name[ru]=???????????? Kontact
 Name[sk]=Plugin Kontact
 Name[sl]=Vstavek za Kontact
+Name[sq]=Shtojca Kontact
 Name[sr]=?????????????????? ???? ??????????????
 Name[sr@ijekavian]=?????????????????? ???? ??????????????
 Name[sr@ijekavianlatin]=Priklju??ak za Kontact
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/pimuniqueapplication.h 
new/kontactinterface-21.08.0/src/pimuniqueapplication.h
--- old/kontactinterface-21.04.3/src/pimuniqueapplication.h     2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/pimuniqueapplication.h     2021-07-30 
14:44:35.000000000 +0200
@@ -4,8 +4,7 @@
 
    SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR 
LicenseRef-KDE-Accepted-LGPL
 */
-#ifndef KONTACTINTERFACE_PIMUNIQUEAPPLICATION_H
-#define KONTACTINTERFACE_PIMUNIQUEAPPLICATION_H
+#pragma once
 
 #include "kontactinterface_export.h"
 
@@ -64,4 +63,3 @@
 
 }
 
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/plugin.cpp 
new/kontactinterface-21.08.0/src/plugin.cpp
--- old/kontactinterface-21.04.3/src/plugin.cpp 2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/src/plugin.cpp 2021-07-30 14:44:35.000000000 
+0200
@@ -324,7 +324,7 @@
 #ifdef Q_OS_WIN
     activateWindowForProcess(d->executableName);
 #else
-    KIO::CommandLauncherJob *job = new 
KIO::CommandLauncherJob(d->executableName);
+    auto job = new KIO::CommandLauncherJob(d->executableName);
     job->start();
 #endif
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/plugin.h 
new/kontactinterface-21.08.0/src/plugin.h
--- old/kontactinterface-21.04.3/src/plugin.h   2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/src/plugin.h   2021-07-30 14:44:35.000000000 
+0200
@@ -8,8 +8,7 @@
   SPDX-License-Identifier: LGPL-2.0-or-later
 */
 
-#ifndef KONTACTINTERFACE_PLUGIN_H
-#define KONTACTINTERFACE_PLUGIN_H
+#pragma once
 
 #include "kontactinterface_export.h"
 
@@ -65,8 +64,7 @@
             return new pluginclass(static_cast<KontactInterface::Core 
*>(parent), list);                                                              
         \
         }                                                                      
                                                                                
\
     };                                                                         
                                                                                
\
-    K_PLUGIN_FACTORY_WITH_JSON(KontactPluginFactory, jsonFile, 
registerPlugin<pluginclass>(QString(), Instance::createInstance);)              
                \
-    K_EXPORT_PLUGIN_VERSION(KONTACT_PLUGIN_VERSION)
+    K_PLUGIN_FACTORY_WITH_JSON(KontactPluginFactory, jsonFile, 
registerPlugin<pluginclass>(QString(), Instance::createInstance);)
 
 namespace KontactInterface
 {
@@ -330,4 +328,3 @@
 
 }
 
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/processes.cpp 
new/kontactinterface-21.08.0/src/processes.cpp
--- old/kontactinterface-21.04.3/src/processes.cpp      2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/processes.cpp      2021-07-30 
14:44:35.000000000 +0200
@@ -122,7 +122,7 @@
     QList<int> pids;
     getProcessesIdForName(processName, pids);
     int myPid = QCoreApplication::applicationPid();
-    for (int pid : qAsConst(pids)) {
+    for (int pid : std::as_const(pids)) {
         if (myPid != pid) {
             // qCDebug(KONTACTINTERFACE_LOG) << "Process ID is " << pid;
             return true;
@@ -143,7 +143,7 @@
     int overallResult = 0;
     qDebug() << "NEED TO PORT KILL PROCESS ON WINDOWS";
 #if 0
-    for (int pid : qAsConst(pids)) {
+    for (int pid : std::as_const(pids)) {
         int result;
         result = kill(pid, SIGTERM);
         if (result == 0) {
@@ -187,7 +187,7 @@
     KontactInterface::getProcessesIdForName(executableName, pids);
     int myPid = QCoreApplication::applicationPid();
     int foundPid = 0;
-    for (int pid : qAsConst(pids)) {
+    for (int pid : std::as_const(pids)) {
         if (myPid != pid) {
             qCDebug(KONTACTINTERFACE_LOG) << "activateWindowForProcess(): PID 
to activate:" << pid;
             foundPid = pid;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/processes.h 
new/kontactinterface-21.08.0/src/processes.h
--- old/kontactinterface-21.04.3/src/processes.h        2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/processes.h        2021-07-30 
14:44:35.000000000 +0200
@@ -16,8 +16,7 @@
   @author Jaros??aw Staniek \<[email protected]\>
 */
 
-#ifndef KONTACTINTERFACE_PROCESSES_H
-#define KONTACTINTERFACE_PROCESSES_H
+#pragma once
 
 #include "kontactinterface_export.h"
 
@@ -56,4 +55,3 @@
 
 }
 
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/summary.cpp 
new/kontactinterface-21.08.0/src/summary.cpp
--- old/kontactinterface-21.04.3/src/summary.cpp        2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/summary.cpp        2021-07-30 
14:44:35.000000000 +0200
@@ -68,15 +68,15 @@
 
 QWidget *Summary::createHeader(QWidget *parent, const QString &iconname, const 
QString &heading)
 {
-    QWidget *box = new QWidget(parent);
-    QHBoxLayout *hbox = new QHBoxLayout(box);
+    auto box = new QWidget(parent);
+    auto hbox = new QHBoxLayout(box);
     hbox->setContentsMargins(0, 0, 0, 0);
     hbox->setSpacing(0);
     box->setAutoFillBackground(true);
 
     QIcon icon = QIcon::fromTheme(iconname);
 
-    QLabel *label = new QLabel(box);
+    auto label = new QLabel(box);
     hbox->addWidget(label);
     
label->setPixmap(icon.pixmap(style()->pixelMetric(QStyle::PM_ToolBarIconSize)));
 
@@ -116,7 +116,7 @@
 void Summary::mouseMoveEvent(QMouseEvent *event)
 {
     if ((event->buttons() & Qt::LeftButton) && (event->pos() - 
d->mDragStartPoint).manhattanLength() > 4) {
-        QDrag *drag = new QDrag(this);
+        auto drag = new QDrag(this);
         drag->setMimeData(new SummaryMimeData());
         drag->setObjectName(QStringLiteral("SummaryWidgetDrag"));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/summary.h 
new/kontactinterface-21.08.0/src/summary.h
--- old/kontactinterface-21.04.3/src/summary.h  2021-06-08 21:04:59.000000000 
+0200
+++ new/kontactinterface-21.08.0/src/summary.h  2021-07-30 14:44:35.000000000 
+0200
@@ -5,8 +5,7 @@
 
   SPDX-License-Identifier: LGPL-2.0-or-later
 */
-#ifndef KONTACTINTERFACE_SUMMARY_H
-#define KONTACTINTERFACE_SUMMARY_H
+#pragma once
 
 #include "kontactinterface_export.h"
 
@@ -108,4 +107,3 @@
 
 }
 
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/uniqueapphandler.cpp 
new/kontactinterface-21.08.0/src/uniqueapphandler.cpp
--- old/kontactinterface-21.04.3/src/uniqueapphandler.cpp       2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/uniqueapphandler.cpp       2021-07-30 
14:44:35.000000000 +0200
@@ -168,7 +168,7 @@
         getProcessesIdForName(plugin->objectName(), pids);
         const int mypid = getpid();
         bool processExits = false;
-        for (int pid : qAsConst(pids)) {
+        for (int pid : std::as_const(pids)) {
             if (mypid != pid) {
                 processExits = true;
                 break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kontactinterface-21.04.3/src/uniqueapphandler.h 
new/kontactinterface-21.08.0/src/uniqueapphandler.h
--- old/kontactinterface-21.04.3/src/uniqueapphandler.h 2021-06-08 
21:04:59.000000000 +0200
+++ new/kontactinterface-21.08.0/src/uniqueapphandler.h 2021-07-30 
14:44:35.000000000 +0200
@@ -6,8 +6,7 @@
   SPDX-License-Identifier: LGPL-2.0-or-later
 */
 
-#ifndef KONTACTINTERFACE_UNIQUEAPPHANDLER_H
-#define KONTACTINTERFACE_UNIQUEAPPHANDLER_H
+#pragma once
 
 #include "kontactinterface_export.h"
 #include "plugin.h"
@@ -125,4 +124,3 @@
 
 } // namespace
 
-#endif

Reply via email to