Hello community,

here is the log from the commit of package akonadi-mime for openSUSE:Factory 
checked in at 2018-08-22 14:10:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/akonadi-mime (Old)
 and      /work/SRC/openSUSE:Factory/.akonadi-mime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "akonadi-mime"

Wed Aug 22 14:10:59 2018 rev:25 rq:630099 version:18.08.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/akonadi-mime/akonadi-mime.changes        
2018-07-18 22:38:50.625963408 +0200
+++ /work/SRC/openSUSE:Factory/.akonadi-mime.new/akonadi-mime.changes   
2018-08-22 14:11:02.489027665 +0200
@@ -1,0 +2,21 @@
+Thu Aug 16 21:59:40 UTC 2018 - [email protected]
+
+- Update to 18.08.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.08.0.php
+- Changes since 18.07.80:
+  * None
+
+-------------------------------------------------------------------
+Thu Jul 26 13:00:24 UTC 2018 - [email protected]
+
+- Update to 18.07.80
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.07.80.php
+- Changes since 18.04.3:
+  * Fix warning about TRANSLATION_DOMAIN
+  * Use Q_REQUIRED_RESULT
+
+-------------------------------------------------------------------

Old:
----
  akonadi-mime-18.04.3.tar.xz

New:
----
  akonadi-mime-18.08.0.tar.xz

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

Other differences:
------------------
++++++ akonadi-mime.spec ++++++
--- /var/tmp/diff_new_pack.hYivOo/_old  2018-08-22 14:11:03.173029287 +0200
+++ /var/tmp/diff_new_pack.hYivOo/_new  2018-08-22 14:11:03.173029287 +0200
@@ -21,11 +21,11 @@
 %define sonum   5
 %define kf5_version 5.23.0
 Name:           akonadi-mime
-Version:        18.04.3
+Version:        18.08.0
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
-%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
+%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Summary:        MIME email parser for KDE PIM
 License:        LGPL-2.1-or-later
 Group:          System/GUI/KDE
@@ -46,16 +46,14 @@
 BuildRequires:  shared-mime-info
 BuildRequires:  pkgconfig(Qt5Test) >= 5.6.0
 BuildRequires:  pkgconfig(Qt5Widgets) >= 5.6.0
-%if %{with lang}
 Recommends:     %{name}-lang
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This package provides libraries needed for the correct parsing of email 
messages.
 
 %package -n libKF5AkonadiMime5
-Summary:        KDE PIM Libraries: Build Environment
+Summary:        MIME email parser for KDE PIM - core library
 Group:          System/Libraries
 Requires:       %{name} >= %{version}
 
@@ -71,18 +69,16 @@
 This package provides plugins required by PIM applications read and write 
parsed email data.
 
 %package devel
-Summary:        KDE PIM Libraries: Build Environment
+Summary:        MIME email parser for KDE PIM - development files
 Group:          Development/Libraries/KDE
 Requires:       akonadi-server-devel
 Requires:       libKF5AkonadiMime5 = %{version}
 
 %description devel
-This package contains all necessary include files and libraries needed
-to develop KDE PIM applications.
+This package contains development headers needed to use MIME message parsing
+in KDE PIM applications.
 
-%if %{with lang}
 %lang_package
-%endif
 
 %prep
 %setup -q -n akonadi-mime-%{version}

++++++ akonadi-mime-18.04.3.tar.xz -> akonadi-mime-18.08.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/CMakeLists.txt 
new/akonadi-mime-18.08.0/CMakeLists.txt
--- old/akonadi-mime-18.04.3/CMakeLists.txt     2018-07-10 02:14:09.000000000 
+0200
+++ new/akonadi-mime-18.08.0/CMakeLists.txt     2018-08-10 02:13:38.000000000 
+0200
@@ -1,14 +1,14 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(PIM_VERSION "5.8.3")
+set(PIM_VERSION "5.9.0")
 project(Akonadi-Mime VERSION ${PIM_VERSION})
 
 # ECM setup
-set(KF5_VERSION "5.44.0")
+set(KF5_VERSION "5.47.0")
 
 find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
-set(QT_REQUIRED_VERSION "5.8.0")
+set(QT_REQUIRED_VERSION "5.9.0")
 include(GenerateExportHeader)
 include(ECMGenerateHeaders)
 include(ECMGeneratePriFile)
@@ -23,8 +23,8 @@
 
 
 set(AKONADI_MIME_VERSION ${PIM_VERSION})
-set(AKONADI_VERSION "5.8.3")
-set(KF5_MIME_VERSION "5.8.3")
+set(AKONADI_VERSION "5.9.0")
+set(KF5_MIME_VERSION "5.9.0")
 
 ecm_setup_version(PROJECT VARIABLE_PREFIX AKONADIMIME
     VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/akonadi-mime_version.h"
@@ -56,7 +56,6 @@
 
 ########### Targets ###########
 
-add_definitions(-DTRANSLATION_DOMAIN=\"libakonadi-kmime5\")
 add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
 add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/po/da/libakonadi-kmime5.po 
new/akonadi-mime-18.08.0/po/da/libakonadi-kmime5.po
--- old/akonadi-mime-18.04.3/po/da/libakonadi-kmime5.po 2018-07-10 
02:14:09.000000000 +0200
+++ new/akonadi-mime-18.08.0/po/da/libakonadi-kmime5.po 2018-08-10 
02:13:38.000000000 +0200
@@ -20,12 +20,12 @@
 #: emptytrashcommand.cpp:60
 #, kde-format
 msgid "Empty Trash"
-msgstr "Tøm affald"
+msgstr "Tøm papirkurv"
 
 #: emptytrashcommand.cpp:61
 #, kde-format
 msgid "Are you sure you want to empty the trash folders of all accounts?"
-msgstr "Vil du virkelig tømme affaldsmapperne for alle konti?"
+msgstr "Vil du virkelig tømme papirkurvsmapperne for alle konti?"
 
 #: markascommand.cpp:141
 #, fuzzy, kde-format
@@ -126,7 +126,7 @@
 #, kde-format
 msgctxt "local mail folder"
 msgid "trash"
-msgstr "affald"
+msgstr "papirkurv"
 
 #: specialmailcollections.cpp:159
 #, kde-format
@@ -584,7 +584,7 @@
 #: standardmailactionmanager.cpp:862 standardmailactionmanager.cpp:863
 #, kde-format
 msgid "Move selected messages to the trash folder."
-msgstr "Flyt de markerede breve til affaldsmappen."
+msgstr "Flyt de markerede breve til papirkurvsmappen."
 
 #: standardmailactionmanager.cpp:873
 #, kde-format
@@ -594,7 +594,7 @@
 #: standardmailactionmanager.cpp:874 standardmailactionmanager.cpp:875
 #, kde-format
 msgid "Move all messages to the trash folder."
-msgstr "Flyt alle breve til affaldsmappen."
+msgstr "Flyt alle breve til papirkurvsmappen."
 
 #: standardmailactionmanager.cpp:884
 #, kde-format
@@ -614,17 +614,17 @@
 #: standardmailactionmanager.cpp:897 standardmailactionmanager.cpp:898
 #, kde-format
 msgid "Permanently delete all messages from all trash folders."
-msgstr "Slet alle breve fra alle affaldsmapper permanent."
+msgstr "Slet alle breve fra alle papirkurvsmapper permanent."
 
 #: standardmailactionmanager.cpp:907
 #, kde-format
 msgid "E&mpty Trash"
-msgstr "&Tøm affald"
+msgstr "&Tøm papirkurv"
 
 #: standardmailactionmanager.cpp:908 standardmailactionmanager.cpp:909
 #, kde-format
 msgid "Permanently delete all messages from the trash folder."
-msgstr "Slet alle breve fra affaldsmappen permanent."
+msgstr "Slet alle breve fra papirkurvsmappen permanent."
 
 #~ msgid "&Mark Mail as Important"
 #~ msgstr "Markér e-mail som vigtig"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/po/zh_CN/libakonadi-kmime5.po 
new/akonadi-mime-18.08.0/po/zh_CN/libakonadi-kmime5.po
--- old/akonadi-mime-18.04.3/po/zh_CN/libakonadi-kmime5.po      2018-07-10 
02:14:09.000000000 +0200
+++ new/akonadi-mime-18.08.0/po/zh_CN/libakonadi-kmime5.po      2018-08-10 
02:13:38.000000000 +0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2018-02-11 03:20+0100\n"
-"PO-Revision-Date: 2018-07-03 17:39\n"
+"PO-Revision-Date: 2018-07-24 08:46\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/po/zh_TW/libakonadi-kmime5.po 
new/akonadi-mime-18.08.0/po/zh_TW/libakonadi-kmime5.po
--- old/akonadi-mime-18.04.3/po/zh_TW/libakonadi-kmime5.po      2018-07-10 
02:14:09.000000000 +0200
+++ new/akonadi-mime-18.08.0/po/zh_TW/libakonadi-kmime5.po      2018-08-10 
02:13:38.000000000 +0200
@@ -605,97 +605,3 @@
 #, kde-format
 msgid "Permanently delete all messages from the trash folder."
 msgstr "永久刪除垃圾桶裡的所有信件。"
-
-#~ msgid "&Mark Mail as Important"
-#~ msgstr "將郵件標為重要(&M)"
-
-#~ msgid "&Mark Mail as Action Item"
-#~ msgstr "將郵件標為動作項目(&M)"
-
-#, fuzzy
-#~| msgid "Cut Email"
-#~| msgid_plural "Cut %1 Emails"
-#~ msgctxt "EMAIL OF TRANSLATORS"
-#~ msgid "Your emails"
-#~ msgstr "剪下 %1 封電子郵件"
-
-#~ msgid "IMAP server"
-#~ msgstr "IMAP 伺服器"
-
-#~ msgid "Defines the port the IMAP service is running on"
-#~ msgstr "定義 IMAP 服務的連接埠"
-
-#~ msgid "Username"
-#~ msgstr "使用者名稱"
-
-#~ msgid "Defines the encryption type to use"
-#~ msgstr "定義要使用的加密型態"
-
-#~ msgid "Defines the authentication type to use"
-#~ msgstr "定義要使用的認證型態"
-
-#~ msgid "Defines if the server side subscription is enabled"
-#~ msgstr "定義伺服器端的訂閱是否已開啟"
-
-#~ msgid "Defines if all the IMAP data should be cached locally all the time"
-#~ msgstr "定義是否所有 IMAP 資料都要快取在本地端。"
-
-#~ msgid "Defines if interval checking is enabled."
-#~ msgstr "定義是否要開啟間隔檢查。"
-
-#~ msgid "Check interval in minutes"
-#~ msgstr "檢查間隔(分)"
-
-#~ msgid ""
-#~ "Defines if the annotations, ACLs and quota information of mailboxes "
-#~ "should\n"
-#~ "             also be retrieved when the mailboxes get listed."
-#~ msgstr ""
-#~ "定義是否在列出信箱時,同時要取得信箱的註記、權限控制清單與大小限制資訊。"
-
-#~ msgid ""
-#~ "Defines if the expunge command is issued automatically, otherwise it "
-#~ "should be\n"
-#~ "             triggered manually through the D-Bus interface."
-#~ msgstr "定義是否要自動產生 expunge 指令,否則應該手動透過 D-Bus 介面觸發。"
-
-#~ msgid "Define which folder is used for trash"
-#~ msgstr "定義垃圾桶的資料夾"
-
-#~ msgid "Define if account uses the default identity"
-#~ msgstr "定義此帳號是否使用預設身份"
-
-#~ msgid "Identity account"
-#~ msgstr "身份帳號"
-
-#~ msgid "RID path to the mailbox to watch for changes"
-#~ msgstr "要查看變更的信箱的 RID 路徑"
-
-#~ msgid "Define if server supports sieve"
-#~ msgstr "定義伺服器端是否支援過濾"
-
-#~ msgid "Define if we reuse host and login configuration"
-#~ msgstr "定義是否重複使用主機與登入設定"
-
-#~ msgid "Define sieve port"
-#~ msgstr "定義過濾(sieve)連接埠"
-
-#~ msgid "Define alternate URL"
-#~ msgstr "定義不同的網址"
-
-#~ msgid "Define default sieve vacation filename"
-#~ msgstr "定義預設過濾假期檔名"
-
-#~ msgid "Id of the resource containing the default special collections."
-#~ msgstr "預設含預設指定收藏的資源的 Id"
-
-#~ msgid ""
-#~ "Id of the maildir resource containing the default special collections."
-#~ msgstr "預設含預設指定收藏的資源的郵件目錄 Id"
-
-#~ msgid "Copy Email"
-#~ msgid_plural "Copy %1 Emails"
-#~ msgstr[0] "複製 %1 封電子郵件"
-
-#~ msgid "Do you really want to delete the search folder '%1'?"
-#~ msgstr "您確定要刪除此搜尋資料夾 %1 嗎?"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/CMakeLists.txt 
new/akonadi-mime-18.08.0/src/CMakeLists.txt
--- old/akonadi-mime-18.04.3/src/CMakeLists.txt 2018-06-29 07:05:14.000000000 
+0200
+++ new/akonadi-mime-18.08.0/src/CMakeLists.txt 2018-08-06 07:15:23.000000000 
+0200
@@ -1,3 +1,4 @@
+add_definitions(-DTRANSLATION_DOMAIN=\"libakonadi-kmime5\")
 # generates a D-Bus interface description from a KConfigXT file
 macro(kcfg_generate_dbus_interface _kcfg _name)
     add_custom_command(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/markascommand.h 
new/akonadi-mime-18.08.0/src/markascommand.h
--- old/akonadi-mime-18.04.3/src/markascommand.h        2018-06-29 
07:05:14.000000000 +0200
+++ new/akonadi-mime-18.08.0/src/markascommand.h        2018-08-06 
07:15:23.000000000 +0200
@@ -37,7 +37,7 @@
 public:
     MarkAsCommand(const Akonadi::MessageStatus &targetStatus, const 
Akonadi::Item::List &msgList, bool invert = false, QObject *parent = nullptr);
     MarkAsCommand(const Akonadi::MessageStatus &targetStatus, const 
Akonadi::Collection::List &folders, bool invert = false, bool recursive = 
false, QObject *parent = nullptr);
-    ~MarkAsCommand();
+    ~MarkAsCommand() override;
     void execute() override;
 
 private Q_SLOTS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/messagemodel.h 
new/akonadi-mime-18.08.0/src/messagemodel.h
--- old/akonadi-mime-18.04.3/src/messagemodel.h 2018-06-29 07:05:14.000000000 
+0200
+++ new/akonadi-mime-18.08.0/src/messagemodel.h 2018-08-06 07:15:23.000000000 
+0200
@@ -66,27 +66,27 @@
     /**
       Reimplemented from QAbstractItemModel.
      */
-    int rowCount(const QModelIndex &parent = QModelIndex()) const override;
+    Q_REQUIRED_RESULT int rowCount(const QModelIndex &parent = QModelIndex()) 
const override;
 
     /**
       Reimplemented from QAbstractItemModel.
      */
-    int columnCount(const QModelIndex &parent = QModelIndex()) const override;
+    Q_REQUIRED_RESULT int columnCount(const QModelIndex &parent = 
QModelIndex()) const override;
 
     /**
       Reimplemented from QAbstractItemModel.
      */
-    QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const 
override;
+    Q_REQUIRED_RESULT QVariant data(const QModelIndex &index, int role = 
Qt::DisplayRole) const override;
 
     /**
       Reimplemented from QAbstractItemModel.
      */
-    QVariant headerData(int section, Qt::Orientation orientation, int role = 
Qt::DisplayRole) const override;
+    Q_REQUIRED_RESULT QVariant headerData(int section, Qt::Orientation 
orientation, int role = Qt::DisplayRole) const override;
 
     /**
       Reimplemented from QAbstractItemModel.
      */
-    QStringList mimeTypes() const override;
+    Q_REQUIRED_RESULT QStringList mimeTypes() const override;
 };
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/messagestatus.h 
new/akonadi-mime-18.08.0/src/messagestatus.h
--- old/akonadi-mime-18.04.3/src/messagestatus.h        2018-06-29 
07:05:14.000000000 +0200
+++ new/akonadi-mime-18.08.0/src/messagestatus.h        2018-08-06 
07:15:23.000000000 +0200
@@ -96,92 +96,92 @@
     /** Check for Unknown status.
         @return true if status is unknown.
     */
-    bool isOfUnknownStatus() const;
+    Q_REQUIRED_RESULT bool isOfUnknownStatus() const;
 
     /** Check for Read status. Note that ignored messages are read.
         @return true if status is read.
     */
-    bool isRead() const;
+    Q_REQUIRED_RESULT bool isRead() const;
 
     /** Check for Deleted status.
         @return true if status is deleted.
     */
-    bool isDeleted() const;
+    Q_REQUIRED_RESULT bool isDeleted() const;
 
     /** Check for Replied status.
         @return true if status is replied.
     */
-    bool isReplied() const;
+    Q_REQUIRED_RESULT bool isReplied() const;
 
     /** Check for Forwarded status.
         @return true if status is forwarded.
     */
-    bool isForwarded() const;
+    Q_REQUIRED_RESULT bool isForwarded() const;
 
     /** Check for Queued status.
         @return true if status is queued.
     */
-    bool isQueued() const;
+    Q_REQUIRED_RESULT bool isQueued() const;
 
     /** Check for Sent status.
         @return true if status is sent.
     */
-    bool isSent() const;
+    Q_REQUIRED_RESULT bool isSent() const;
 
     /** Check for Important status.
         @return true if status is important.
     */
-    bool isImportant() const;
+    Q_REQUIRED_RESULT bool isImportant() const;
 
     /** Check for Watched status.
         @return true if status is watched.
     */
-    bool isWatched() const;
+    Q_REQUIRED_RESULT bool isWatched() const;
 
     /** Check for Ignored status.
         @return true if status is ignored.
     */
-    bool isIgnored() const;
+    Q_REQUIRED_RESULT bool isIgnored() const;
 
     /** Check for ToAct status.
         @return true if status is action item.
     */
-    bool isToAct() const;
+    Q_REQUIRED_RESULT bool isToAct() const;
 
     /** Check for Spam status.
         @return true if status is spam.
     */
-    bool isSpam() const;
+    Q_REQUIRED_RESULT bool isSpam() const;
 
     /** Check for Ham status.
         @return true if status is not spam.
     */
-    bool isHam() const;
+    Q_REQUIRED_RESULT bool isHam() const;
 
     /** Check for Attachment status.
         @return true if status indicates an attachment.
     */
-    bool hasAttachment() const;
+    Q_REQUIRED_RESULT bool hasAttachment() const;
 
     /** Check for Invitation status.
         @return true if status indicates an invitation.
     */
-    bool hasInvitation() const;
+    Q_REQUIRED_RESULT bool hasInvitation() const;
 
     /** Check for Signed status.
         @return true if status is signed.
     */
-    bool isSigned() const;
+    Q_REQUIRED_RESULT bool isSigned() const;
 
     /** Check for Encrypted status.
         @return true if status is encrypted.
     */
-    bool isEncrypted() const;
+    Q_REQUIRED_RESULT bool isEncrypted() const;
 
     /** Check for error status.
         @return true if status indicates an error.
     */
-    bool hasError() const;
+    Q_REQUIRED_RESULT bool hasError() const;
 
     /* ----- setters ----------------------------------------------------- */
 
@@ -278,7 +278,7 @@
      all integrity checks in the setter methods.
      @return The status encoded in bits.
      */
-    qint32 toQInt32() const;
+    Q_REQUIRED_RESULT qint32 toQInt32() const;
 
     /** Set the status as a whole e.g. for reading from an index.
         Don't manipulte the index via this value, this bypasses
@@ -293,7 +293,7 @@
 
         @note This code is legacy for the KMail1 indexes
     */
-    QString statusStr() const;
+    Q_REQUIRED_RESULT QString statusStr() const;
 
     /** Set the status based on a string representation.
         @param aStr The status string to be analyzed.
@@ -307,7 +307,7 @@
     /** Get the status as a whole e.g. for storage as IMAP flags.
         @return The status encoded in flags.
     */
-    QSet<QByteArray> statusFlags() const;
+    Q_REQUIRED_RESULT QSet<QByteArray> statusFlags() const;
 
     /** Set the status as a whole e.g. for reading from IMAP flags.
         @param flags set of flags for status as a whole
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/movecommand.h 
new/akonadi-mime-18.08.0/src/movecommand.h
--- old/akonadi-mime-18.04.3/src/movecommand.h  2018-06-29 07:05:14.000000000 
+0200
+++ new/akonadi-mime-18.08.0/src/movecommand.h  2018-08-06 07:15:23.000000000 
+0200
@@ -33,7 +33,7 @@
     Q_OBJECT
 public:
     MoveCommand(const Akonadi::Collection &destFolder, const 
Akonadi::Item::List &msgList, QObject *parent = nullptr);
-    ~MoveCommand();
+    ~MoveCommand() override;
     void execute() override;
 
 private Q_SLOTS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/specialmailcollections.h 
new/akonadi-mime-18.08.0/src/specialmailcollections.h
--- old/akonadi-mime-18.04.3/src/specialmailcollections.h       2018-06-29 
07:05:14.000000000 +0200
+++ new/akonadi-mime-18.08.0/src/specialmailcollections.h       2018-08-06 
07:15:23.000000000 +0200
@@ -95,20 +95,20 @@
      * Returns whether the given agent @p instance has a special collection of
      * the given @p type.
      */
-    bool hasCollection(Type type, const AgentInstance &instance) const;
+    Q_REQUIRED_RESULT bool hasCollection(Type type, const AgentInstance 
&instance) const;
 
     /**
      * Returns the special mail collection of the given @p type in the given 
agent
      * @p instance, or an invalid collection if such a collection is unknown.
      */
-    Akonadi::Collection collection(Type type, const AgentInstance &instance) 
const;
+    Q_REQUIRED_RESULT Akonadi::Collection collection(Type type, const 
AgentInstance &instance) const;
 
     /**
      * Returns the special collection type for a given collection, or empty if 
the collection
      * doesn't have a special type.
      * @since 4.11
      */
-    static Type specialCollectionType(const Akonadi::Collection &collection);
+    Q_REQUIRED_RESULT static Type specialCollectionType(const 
Akonadi::Collection &collection);
 
     /**
      * Registers the given @p collection as a special mail collection
@@ -119,7 +119,7 @@
      * Registering a new collection of a previously registered type forgets the
      * old collection.
      */
-    bool registerCollection(Type type, const Akonadi::Collection &collection);
+    Q_REQUIRED_RESULT bool registerCollection(Type type, const 
Akonadi::Collection &collection);
 
     /**
      * Unregisters the given @p collection as a special mail collection
@@ -127,19 +127,19 @@
      * The collection must be owned by a valid resource.
      * @since 4.12
      */
-    bool unregisterCollection(const Collection &collection);
+    Q_REQUIRED_RESULT bool unregisterCollection(const Collection &collection);
 
     /**
      * Returns whether the default resource has a special mail collection of
      * the given @p type.
      */
-    bool hasDefaultCollection(Type type) const;
+    Q_REQUIRED_RESULT bool hasDefaultCollection(Type type) const;
 
     /**
      * Returns the special mail collection of given @p type in the default
      * resource, or an invalid collection if such a collection is unknown.
      */
-    Akonadi::Collection defaultCollection(Type type) const;
+    Q_REQUIRED_RESULT Akonadi::Collection defaultCollection(Type type) const;
 
     void verifyI18nDefaultCollection(Type type);
 private Q_SLOTS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/akonadi-mime-18.04.3/src/standardmailactionmanager.h 
new/akonadi-mime-18.08.0/src/standardmailactionmanager.h
--- old/akonadi-mime-18.04.3/src/standardmailactionmanager.h    2018-06-29 
07:05:14.000000000 +0200
+++ new/akonadi-mime-18.08.0/src/standardmailactionmanager.h    2018-08-06 
07:15:23.000000000 +0200
@@ -174,13 +174,13 @@
      * Returns the list of collections that are currently selected.
      * The list is empty if no collection is currently selected.
      */
-    Akonadi::Collection::List selectedCollections() const;
+    Q_REQUIRED_RESULT Akonadi::Collection::List selectedCollections() const;
 
     /**
      * Returns the list of items that are currently selected.
      * The list is empty if no item is currently selected.
      */
-    Akonadi::Item::List selectedItems() const;
+    Q_REQUIRED_RESULT Akonadi::Item::List selectedItems() const;
 
     /**
      * Sets the favorite collections model based on which the collection


Reply via email to