[PyKDE] PyKDE 3.11-alpha6 with sip4

Jim Bublitz jbublitz at nwinternet.com
Sun Apr 25 06:54:01 BST 2004


On Saturday April 24 2004 14:43, Torsten Marek wrote:
> Jim Bublitz schrieb:
> > On Saturday April 24 2004 11:27, Torsten Marek wrote:

> > Do you know of a reason it's needed in PyKDE?

> Yes, QDir does need it. The enum Sortspec contains an entry
> "Unsorted" (l. 80 in qdir.h from qt 3.2.3).
> X.h (from XFree86 4.3.0) also defines Unsorted, at least on
> Debian: /* SetClipRectangles ordering */

> #define Unsorted                0
> #define YSorted                 1
> #define YXSorted                2
> #define YXBanded                3

> I needed a lot of time to figure out why g++ refused to
> compile, error message was "Error while parsing numeric
> constant", until I looked into the cpp output, where
> Unsorted = 0x03,
> was preprocessed to
> 0 = 0x03,

OK - I'll check that out.

> Sorry, I was not clear enough. The problem are the following
> to functions of KShortcutList:

>      virtual const KShortcut& shortcut (uint) const = 0;
>      virtual const KShortcut& shortcutDefault (uint) const =
> 0;

D'oh. I looked at KShortcutList and didn't see the pure virtuals. 
My oversight.

Looks like Phil is working on it.

> >>- there was %MemberCode somewhere in the .sips - just
> >> changed it to %MethodCode.

> > The only one I found is in kio/kurifilter.sip. Shouldn't
> > have missed it, but it's an easy fix (next alpha release). I
> > might have copied over an old file from a previous version.

> Yes, it was this one.

Easy fix, and needs to be done anyway.

Jim




More information about the PyQt mailing list