[Kde-bindings] Another try with my pykde4 build problem

Michael Jansen kde at michael-jansen.biz
Fri Feb 11 20:36:58 UTC 2011


Hi

I have sent this in before but it went unnoticed. This commit:

commit 7a35e4ca633e3559c206f69dcc54b1219a4e1443
Author: Simon Edwards <simon at simonzone.com>
Date:   Tue Dec 14 19:26:17 2010 +0000

    First big PyKDE4 update for the coming KDE 4.6.
    
    
    svn path=/trunk/KDE/kdebindings/python/pykde4/; revision=1206522

diff --git a/sip/kdeui/ktabwidget.sip b/sip/kdeui/ktabwidget.sip
index 1705c84..5f07742 100644
--- a/sip/kdeui/ktabwidget.sip
+++ b/sip/kdeui/ktabwidget.sip
@@ -89,6 +89,10 @@ public:
     ~KTabWidget ();
 protected:
     virtual void            mouseReleaseEvent (QMouseEvent*);
+public:
+    QString                 label (int index) const;
+    QString                 tabLabel (QWidget* w) const;
+    void                    setTabLabel (QWidget* w, const QString& l);
 };
 // KTabWidget

breaks pykde4 compiling without KDE3_SUPPORT set. Since i know nothing about 
the way that stuff is generated i would like to mention that all of those 
methods were part of this change:

git show 52905e8d94ee6d7a08ff1b793c5dd226f0c3fbc1 kdeui/widgets/ktabwidget.h
commit 52905e8d94ee6d7a08ff1b793c5dd226f0c3fbc1
Author: Kevin Ottens <ervin at kde.org>
Date:   Thu Nov 4 08:05:13 2010 +0000

    Remove deprecated symbols from the build (if KDE_NO_DEPRECATED is 
defined).
    
    svn path=/trunk/KDE/kdelibs/; revision=1192861

diff --git a/kdeui/widgets/ktabwidget.h b/kdeui/widgets/ktabwidget.h
index 51f5914..fca1eba 100644
--- a/kdeui/widgets/ktabwidget.h
+++ b/kdeui/widgets/ktabwidget.h

[...]

@ -162,18 +172,24 @@ class KDEUI_EXPORT KTabWidget : public QTabWidget 
//krazy:exclude=qclasses
     /**
      * @deprecated use tabText
      */
+#ifndef KDE_NO_DEPRECATED
     inline KDE_DEPRECATED QString label( int index ) const { return tabText( 
index ); }
+#endif
 

[... same for the rest ...]

Mike




More information about the Kde-bindings mailing list