Hello community,

here is the log from the commit of package ktextwidgets for openSUSE:Factory 
checked in at 2018-05-18 14:23:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ktextwidgets (Old)
 and      /work/SRC/openSUSE:Factory/.ktextwidgets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ktextwidgets"

Fri May 18 14:23:46 2018 rev:53 rq:607588 version:5.46.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ktextwidgets/ktextwidgets.changes        
2018-04-19 15:18:40.585315766 +0200
+++ /work/SRC/openSUSE:Factory/.ktextwidgets.new/ktextwidgets.changes   
2018-05-18 14:23:51.187288886 +0200
@@ -1,0 +2,11 @@
+Sun May 13 21:03:07 UTC 2018 - [email protected]
+
+- Update to 5.46.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.46.0.php
+- Changes since 5.45.0:
+  * Use override
+  * Warning--
+
+-------------------------------------------------------------------

Old:
----
  ktextwidgets-5.45.0.tar.xz

New:
----
  ktextwidgets-5.46.0.tar.xz

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

Other differences:
------------------
++++++ ktextwidgets.spec ++++++
--- /var/tmp/diff_new_pack.PZWAbQ/_old  2018-05-18 14:23:51.947260991 +0200
+++ /var/tmp/diff_new_pack.PZWAbQ/_new  2018-05-18 14:23:51.951260844 +0200
@@ -18,13 +18,13 @@
 
 %bcond_without lang
 %define lname   libKF5TextWidgets5
-%define _tar_path 5.45
+%define _tar_path 5.46
 # 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           ktextwidgets
-Version:        5.45.0
+Version:        5.46.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0

++++++ ktextwidgets-5.45.0.tar.xz -> ktextwidgets-5.46.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/CMakeLists.txt 
new/ktextwidgets-5.46.0/CMakeLists.txt
--- old/ktextwidgets-5.45.0/CMakeLists.txt      2018-04-07 21:39:10.000000000 
+0200
+++ new/ktextwidgets-5.46.0/CMakeLists.txt      2018-05-05 15:00:27.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.45.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.45.0") # handled by release scripts
+set(KF5_VERSION "5.46.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.46.0") # handled by release scripts
 project(KTextWidgets VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.45.0  NO_MODULE)
+find_package(ECM 5.46.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)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/po/gl/ktextwidgets5.po 
new/ktextwidgets-5.46.0/po/gl/ktextwidgets5.po
--- old/ktextwidgets-5.45.0/po/gl/ktextwidgets5.po      2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/po/gl/ktextwidgets5.po      2018-05-05 
15:00:27.000000000 +0200
@@ -10,14 +10,14 @@
 # Xosé <[email protected]>, 2010.
 # Marce Villarino <[email protected]>, 2011, 2012, 2013, 2014.
 # Adrián Chaves Fernández (Gallaecio) <[email protected]>, 2015, 2017.
-# Adrián Chaves (Gallaecio) <[email protected]>, 2017.
+# Adrián Chaves (Gallaecio) <[email protected]>, 2017, 2018.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-11-28 03:01+0100\n"
-"PO-Revision-Date: 2017-09-08 19:48+0100\n"
-"Last-Translator: Adrián Chaves (Gallaecio) <[email protected]>\n"
+"PO-Revision-Date: 2018-04-29 23:49+0100\n"
+"Last-Translator: Adrian Chaves <[email protected]>\n"
 "Language-Team: Galician <[email protected]>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
@@ -189,8 +189,8 @@
 "searched for within the document and any occurrence is replaced with the "
 "replacement text.</qt>"
 msgstr ""
-"<qt>Se preme o botón <b>Substituír</b>, o texto que inseriu enriba ha ser "
-"buscado por todo o documento e cando apareza ha substituírse polo texto de "
+"<qt>Se preme o botón <b>Substituír</b>, o texto que inseriu enriba ha "
+"buscarse por todo o documento e cando apareza ha substituírse polo texto de "
 "substitución.</qt>"
 
 #: findreplace/kfinddialog.cpp:205
@@ -243,11 +243,10 @@
 "in front of it, like <code><b>\\\\N</b></code>.</p></qt>"
 msgstr ""
 "<qt>Se activa esta opción calquera aparición de <code><b>\\N</b></code>, "
-"onde <code><b>N</b></code> é un número enteiro, será substituída pola "
-"captura correspondente («subcadea entre parénteses») no padrón.<p>Para "
-"incluír un <code><b>\\N</b></code> literal na súa substitución, poña unha "
-"barra inversa adicional en fronte dela, como <code><b>\\\\N</b></code>.</p></"
-"qt>"
+"onde <code><b>N</b></code> é un número enteiro, substituirase pola captura "
+"correspondente («subcadea entre parénteses») no padrón.<p>Para incluír un "
+"<code><b>\\N</b></code> literal na súa substitución, poña unha barra inversa "
+"adicional en fronte dela, como <code><b>\\\\N</b></code>.</p></qt>"
 
 #: findreplace/kfinddialog.cpp:229
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/po/zh_CN/ktextwidgets5.po 
new/ktextwidgets-5.46.0/po/zh_CN/ktextwidgets5.po
--- old/ktextwidgets-5.45.0/po/zh_CN/ktextwidgets5.po   2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/po/zh_CN/ktextwidgets5.po   2018-05-05 
15:00:27.000000000 +0200
@@ -15,7 +15,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-11-28 03:01+0100\n"
-"PO-Revision-Date: 2018-04-05 09:22-0400\n"
+"PO-Revision-Date: 2018-04-26 05:22-0400\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/ktextwidgets-5.45.0/src/findreplace/kfind.cpp 
new/ktextwidgets-5.46.0/src/findreplace/kfind.cpp
--- old/ktextwidgets-5.45.0/src/findreplace/kfind.cpp   2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/findreplace/kfind.cpp   2018-05-05 
15:00:27.000000000 +0200
@@ -731,7 +731,7 @@
 
 QWidget *KFind::parentWidget() const
 {
-    return (QWidget *)parent();
+    return static_cast<QWidget *>(parent());
 }
 
 QWidget *KFind::dialogsParent() const
@@ -739,7 +739,7 @@
     // If the find dialog is still up, it should get the focus when closing a 
message box
     // Otherwise, maybe the "find next?" dialog is up
     // Otherwise, the "view" is the parent.
-    return d->findDialog ? (QWidget *)d->findDialog : (d->dialog ? d->dialog : 
parentWidget());
+    return d->findDialog ? static_cast<QWidget *>(d->findDialog) : (d->dialog 
? d->dialog : parentWidget());
 }
 
 #include "moc_kfind.cpp"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/findreplace/kfinddialog.cpp 
new/ktextwidgets-5.46.0/src/findreplace/kfinddialog.cpp
--- old/ktextwidgets-5.45.0/src/findreplace/kfinddialog.cpp     2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/findreplace/kfinddialog.cpp     2018-05-05 
15:00:27.000000000 +0200
@@ -567,8 +567,8 @@
     placeholders->addAction(new PlaceHolderAction(placeholders, i18n("Complete 
Match"), 0));
 
     QRegExp r(q->pattern());
-    uint n = r.captureCount();
-    for (uint i = 0; i < n; i++) {
+    int n = r.captureCount();
+    for (int i = 0; i < n; i++) {
         placeholders->addAction(new PlaceHolderAction(placeholders, 
i18n("Captured Text (%1)",  i + 1), i + 1));
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/findreplace/kfinddialog.h 
new/ktextwidgets-5.46.0/src/findreplace/kfinddialog.h
--- old/ktextwidgets-5.45.0/src/findreplace/kfinddialog.h       2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/findreplace/kfinddialog.h       2018-05-05 
15:00:27.000000000 +0200
@@ -214,7 +214,7 @@
     void cancelClicked();
 
 protected:
-    void showEvent(QShowEvent *) Q_DECL_OVERRIDE;
+    void showEvent(QShowEvent *) override;
 
 private:
     friend class KReplaceDialog;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/findreplace/kreplace.h 
new/ktextwidgets-5.46.0/src/findreplace/kreplace.h
--- old/ktextwidgets-5.45.0/src/findreplace/kreplace.h  2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/findreplace/kreplace.h  2018-05-05 
15:00:27.000000000 +0200
@@ -116,7 +116,7 @@
      */
     KReplace(const QString &pattern, const QString &replacement, long options, 
QWidget *parent, QWidget *replaceDialog);
 
-    virtual ~KReplace();
+    ~KReplace() override;
 
     /**
      * Return the number of replacements made (i.e. the number of times
@@ -131,7 +131,7 @@
      * Can be useful if reusing the same KReplace for different operations,
      * or when restarting from the beginning of the document.
      */
-    void resetCounts() Q_DECL_OVERRIDE;
+    void resetCounts() override;
 
     /**
      * Walk the text fragment (e.g. kwrite line, kspread cell) looking for 
matches.
@@ -190,13 +190,13 @@
      * and we could even be hitting the beginning of the document (so not all
      * matches have even been seen).
      */
-    bool shouldRestart(bool forceAsking = false, bool showNumMatches = true) 
const Q_DECL_OVERRIDE;
+    bool shouldRestart(bool forceAsking = false, bool showNumMatches = true) 
const override;
 
     /**
      * Displays the final dialog telling the user how many replacements were 
made.
      * Call either this or shouldRestart().
      */
-    void displayFinalDialog() const Q_DECL_OVERRIDE;
+    void displayFinalDialog() const override;
 
 Q_SIGNALS:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/findreplace/kreplacedialog.h 
new/ktextwidgets-5.46.0/src/findreplace/kreplacedialog.h
--- old/ktextwidgets-5.45.0/src/findreplace/kreplacedialog.h    2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/findreplace/kreplacedialog.h    2018-05-05 
15:00:27.000000000 +0200
@@ -136,7 +136,7 @@
     QWidget *replaceExtension() const;
 
 protected:
-    void showEvent(QShowEvent *) Q_DECL_OVERRIDE;
+    void showEvent(QShowEvent *) override;
 
 private:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/krichtextedit.h 
new/ktextwidgets-5.46.0/src/widgets/krichtextedit.h
--- old/ktextwidgets-5.45.0/src/widgets/krichtextedit.h 2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/krichtextedit.h 2018-05-05 
15:00:27.000000000 +0200
@@ -93,7 +93,7 @@
     /**
      * Destructor.
      */
-    virtual ~KRichTextEdit();
+    ~KRichTextEdit() override;
 
     /**
      * This enables rich text mode. Nothing is done except changing the 
internal
@@ -369,7 +369,7 @@
      * Reimplemented.
      * Catches key press events. Used to handle some key presses on lists.
      */
-    void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
+    void keyPressEvent(QKeyEvent *event) override;
 
 private:
     //@cond PRIVATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/krichtextwidget.cpp 
new/ktextwidgets-5.46.0/src/widgets/krichtextwidget.cpp
--- old/ktextwidgets-5.45.0/src/widgets/krichtextwidget.cpp     2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/krichtextwidget.cpp     2018-05-05 
15:00:27.000000000 +0200
@@ -551,7 +551,7 @@
     }
     if (richTextSupport & SupportFontSize) {
         if (f.pointSize() > 0) {
-            action_font_size->setFontSize((int)f.pointSize());
+            action_font_size->setFontSize(f.pointSize());
         }
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/krichtextwidget.h 
new/ktextwidgets-5.46.0/src/widgets/krichtextwidget.h
--- old/ktextwidgets-5.45.0/src/widgets/krichtextwidget.h       2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/krichtextwidget.h       2018-05-05 
15:00:27.000000000 +0200
@@ -341,7 +341,7 @@
      * Reimplemented.
      * Catches mouse release events. Used to know when a selection has been 
completed.
      */
-    void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
+    void mouseReleaseEvent(QMouseEvent *event) override;
 
 private:
     //@cond PRIVATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/ktextedit.cpp 
new/ktextwidgets-5.46.0/src/widgets/ktextedit.cpp
--- old/ktextwidgets-5.45.0/src/widgets/ktextedit.cpp   2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/ktextedit.cpp   2018-05-05 
15:00:27.000000000 +0200
@@ -56,7 +56,7 @@
 {
 public:
     explicit KTextDecorator(KTextEdit *textEdit);
-    bool isSpellCheckingEnabledForBlock(const QString &textBlock) const 
Q_DECL_OVERRIDE;
+    bool isSpellCheckingEnabledForBlock(const QString &textBlock) const 
override;
 private:
     KTextEdit *m_textEdit;
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/ktextedit.h 
new/ktextwidgets-5.46.0/src/widgets/ktextedit.h
--- old/ktextwidgets-5.45.0/src/widgets/ktextedit.h     2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/ktextedit.h     2018-05-05 
15:00:27.000000000 +0200
@@ -73,7 +73,7 @@
     /**
      * Destroys the KTextEdit object.
      */
-    ~KTextEdit();
+    ~KTextEdit() override;
 
     /**
      * Reimplemented to set a proper "deactivated" background color.
@@ -351,18 +351,18 @@
     /**
      * Reimplemented to catch "delete word" shortcut events.
      */
-    bool event(QEvent *) Q_DECL_OVERRIDE;
+    bool event(QEvent *) override;
 
     /**
      * Reimplemented for internal reasons
      */
-    void keyPressEvent(QKeyEvent *) Q_DECL_OVERRIDE;
+    void keyPressEvent(QKeyEvent *) override;
 
     /**
      * Reimplemented to instantiate a KDictSpellingHighlighter, if
      * spellchecking is enabled.
      */
-    void focusInEvent(QFocusEvent *) Q_DECL_OVERRIDE;
+    void focusInEvent(QFocusEvent *) override;
 
     /**
      * Deletes a word backwards from the current cursor position,
@@ -380,7 +380,7 @@
      * Reimplemented from QTextEdit to add spelling related items
      * when appropriate.
      */
-    void contextMenuEvent(QContextMenuEvent *) Q_DECL_OVERRIDE;
+    void contextMenuEvent(QContextMenuEvent *) override;
 
 private:
     class Private;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/nestedlisthelper.cpp 
new/ktextwidgets-5.46.0/src/widgets/nestedlisthelper.cpp
--- old/ktextwidgets-5.45.0/src/widgets/nestedlisthelper.cpp    2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/nestedlisthelper.cpp    2018-05-05 
15:00:27.000000000 +0200
@@ -302,7 +302,7 @@
 {
     QTextCursor cursor = textEdit->textCursor();
     if (styleIndex != 0) {
-        QTextListFormat::Style style = (QTextListFormat::Style)styleIndex;
+        QTextListFormat::Style style = 
static_cast<QTextListFormat::Style>(styleIndex);
         QTextList *currentList = cursor.currentList();
         QTextListFormat listFmt;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktextwidgets-5.45.0/src/widgets/nestedlisthelper_p.h 
new/ktextwidgets-5.46.0/src/widgets/nestedlisthelper_p.h
--- old/ktextwidgets-5.45.0/src/widgets/nestedlisthelper_p.h    2018-04-07 
21:39:10.000000000 +0200
+++ new/ktextwidgets-5.46.0/src/widgets/nestedlisthelper_p.h    2018-05-05 
15:00:27.000000000 +0200
@@ -136,7 +136,7 @@
     void reformatList(QTextBlock block);
     void reformatList();
 
-    QTextEdit *textEdit;
+    QTextEdit *textEdit = nullptr;
 
     int listBottomMargin;
     int listTopMargin;


Reply via email to