On Thu, 23 Sep 2004 18:32:21 +0100, Phil Thompson wrote
>
> Whoops - an accidental incompatibility. I've just uploaded new SIP
> snapshots which should fix it. If people can confirm this I will
> release SIP v4.1.1 in the next day or so.
>
This is the patch that has been effectively applied on *my* setup after
running sip-4.1 and illustrates the collision between returning Qt's
enums and KDE' enums.
Hope it is of use.
Gerard
--- sipkfilepart1.cpp.after 2004-09-23 07:20:43.000000000 +0200
+++ sipkfilepart1.cpp 2004-09-23 07:22:29.000000000 +0200
@@ -56560,21 +56560,21 @@
KFile::SelectionMode sipKFileIconView::selectionMode() const
{
extern KFile::SelectionMode sipVH_kfile_20(sip_gilstate_t,PyObject *);
sip_gilstate_t sipGILState;
PyObject *meth;
meth = sipIsPyMethod(&sipGILState,const_cast<sipMethodCache *>(&sipPyMethods[197]),sipPySelf,NULL,sipNm_kfile_selectionMode);
if (!meth)
- return QIconView::selectionMode();
+ return KFile::SelectionMode(QIconView::selectionMode());
return sipVH_kfile_20(sipGILState,meth);
}
void sipKFileIconView::setViewMode(KFileView::ViewMode a0)
{
extern void sipVH_kfile_19(sip_gilstate_t,PyObject *,KFileView::ViewMode);
sip_gilstate_t sipGILState;
PyObject *meth;
@@ -78208,21 +78208,21 @@
KFile::SelectionMode sipKFileDetailView::selectionMode() const
{
extern KFile::SelectionMode sipVH_kfile_20(sip_gilstate_t,PyObject *);
sip_gilstate_t sipGILState;
PyObject *meth;
meth = sipIsPyMethod(&sipGILState,const_cast<sipMethodCache *>(&sipPyMethods[208]),sipPySelf,NULL,sipNm_kfile_selectionMode);
if (!meth)
- return QListView::selectionMode();
+ return KFile::SelectionMode(QListView::selectionMode());
return sipVH_kfile_20(sipGILState,meth);
}
void sipKFileDetailView::setViewMode(KFileView::ViewMode a0)
{
extern void sipVH_kfile_19(sip_gilstate_t,PyObject *,KFileView::ViewMode);
sip_gilstate_t sipGILState;
PyObject *meth;
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde