LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File qt_checkstate_pointer.patch of Package python-kde4 (Project home:wolfi323:branches:KDE:Frameworks5)

Author: Pino Toscano <pino@debian.org>
Last-Update: 2017-12-26
Forwarded: no

--- a/sip/kdeui/kfontchooser.sip
+++ b/sip/kdeui/kfontchooser.sip
@@ -59,7 +59,7 @@ public:
 
     typedef QFlags<KFontChooser::DisplayFlag> DisplayFlags;
 
-    explicit                KFontChooser (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::DisplayFrame, const QStringList& fontList = QStringList(), int visibleListSize = 8, Qt::CheckState* sizeIsRelativeState = 0) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::DisplayFrame, const QStringList& = QStringList(), int = 8, Qt::CheckState* = 0)];
+    explicit                KFontChooser (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::DisplayFrame, const QStringList& fontList = QStringList(), int visibleListSize = 8, Qt::CheckState sizeIsRelativeState = Qt::Unchecked) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::DisplayFrame, const QStringList& = QStringList(), int = 8, Qt::CheckState* = 0)];
 %MethodCode
 Py_BEGIN_ALLOW_THREADS
     sipCpp = new sipKFontChooser (a0, *a1, *a2, a3, &a4);
--- a/sip/kdeui/kfontdialog.sip
+++ b/sip/kdeui/kfontdialog.sip
@@ -28,7 +28,7 @@ class KFontDialog : KDialog
 
 
 public:
-    explicit                KFontDialog (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::NoDisplayFlags, const QStringList& fontlist = QStringList(), Qt::CheckState* sizeIsRelativeState = 0) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::NoDisplayFlags, const QStringList& = QStringList(), Qt::CheckState* = 0)];
+    explicit                KFontDialog (QWidget* parent /TransferThis/ = 0, const KFontChooser::DisplayFlags& flags = KFontChooser::NoDisplayFlags, const QStringList& fontlist = QStringList(), Qt::CheckState sizeIsRelativeState = Qt::Unchecked) [(QWidget* = 0, const KFontChooser::DisplayFlags& = KFontChooser::NoDisplayFlags, const QStringList& = QStringList(), Qt::CheckState* = 0)];
 %MethodCode
 Py_BEGIN_ALLOW_THREADS
     sipCpp= new sipKFontDialog (a0, *a1, *a2, &a3);