[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] [PATCH] PyKDE: switch qlist.h to qptrlist.h
From:       Sebastian =?iso-8859-1?q?K=FCgler?= <sebas () kde ! nl>
Date:       2005-05-25 0:51:23
Message-ID: 200505250251.23610.sebas () kde ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi,

I needed attached patch to compile the latest PyKDE snapshot on my 
Kubuntu system. It basically converts all qlist.h's to qptrlist.h since 
a qlist.h compatibility header is not provided in the packages I'm 
using. PyKDE does now work fine here. (Python 2.4, python-qt-dev 
3.14.1, Qt 3.3.4, KDE 3.4.0, sip 4.2.1, gcc 4.0.)

Please have a look at it and consider applying.

Thanks in advance,

sebas
-- 
  http://vizZzion.org   |   GPG Key ID: 9119 0EF9 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
It is necessary for the welfare of society that genius should be 
privileged to utter sedition, to blaspheme, to outrage good taste, to 
corrupt the youthful mind, and generally to scandalize one's uncles. - 
George Bernard Shaw


["pykde-convert-qlist-to-qptrlist.diff" (text/x-diff)]

diff -urp PyKDE-snapshot20050316/sip/kdeui/klistview.sip \
                /usr/local/PyKDE-snapshot20050316/sip/kdeui/klistview.sip
--- PyKDE-snapshot20050316/sip/kdeui/klistview.sip	2005-03-05 06:45:32.000000000 \
                +0100
+++ /usr/local/PyKDE-snapshot20050316/sip/kdeui/klistview.sip	2005-05-24 \
23:51:07.000000000 +0200 @@ -266,7 +266,7 @@ public:
 //converts a Python list of QListViewItem
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 #include <qlistview.h>
 #include <sipqtQListViewItem.h>
 typedef QPtrList<QListViewItem> ListViewItems;
diff -urp PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip \
                /usr/local/PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip
--- PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip	2004-08-15 19:41:51.000000000 \
                +0200
+++ /usr/local/PyKDE-snapshot20050316/sip/kfile/kfilebookmark.sip	2005-05-24 \
23:51:41.000000000 +0200 @@ -86,7 +86,7 @@ signals:
 //converts a Python list of KFileBookmark
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 %End
 
 %ConvertFromTypeCode
diff -urp PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip \
                /usr/local/PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip
--- PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip	2004-08-15 19:41:51.000000000 \
                +0200
+++ /usr/local/PyKDE-snapshot20050316/sip/kfile/kfileviewitem.sip	2005-05-24 \
23:51:25.000000000 +0200 @@ -60,7 +60,7 @@ typedef QList<KFileViewItem> KFileViewIt
 //converts a Python list of KFileViewItem
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 %End
 
 %ConvertFromTypeCode
diff -urp PyKDE-snapshot20050316/sip/khtml/khtmlview.sip \
                /usr/local/PyKDE-snapshot20050316/sip/khtml/khtmlview.sip
--- PyKDE-snapshot20050316/sip/khtml/khtmlview.sip	2005-03-05 06:45:29.000000000 \
                +0100
+++ /usr/local/PyKDE-snapshot20050316/sip/khtml/khtmlview.sip	2005-05-24 \
23:51:59.000000000 +0200 @@ -143,7 +143,7 @@ protected slots:
 //converts a Python list of KHTMLView
 {
 %TypeHeaderCode
-#include <qlist.h>
+#include <qptrlist.h>
 %End
 
 %ConvertFromTypeCode


[Attachment #8 (application/pgp-signature)]

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic