[PyKDE] Extra args in KDialogBase.slotOk, slotCancel
jbublitz at nwinternet.com
Fri May 14 06:31:01 BST 2004
On Thursday 13 May 2004 14:39, Phil Thompson wrote:
> Looks like this is a SIP4 bug (I haven't checked SIP3).
Works correctly with sip3 - thanks to Troy for the test script and thank
heavens it's not my problem :)
If you haven't checked, the kdeui C++ code sip4 generates is correct too.
> On Thursday 13 May 2004 8:55 pm, Troy Melhase wrote:
> On Thursday 13 May 2004 07:42 am, Jim Bublitz wrote:
> > Could you post a short example, or at least your slotOK method and the
> > connect stmt that goes with it? As you indicate, neither the sip files
> > nor KDE ask for any arguments (other than the implicit 'self' of course)
> > and neither does the C++ code sip generates (kdeuipart1.cpp, line 244,785
> > for those who want to play along).
> I've attached a small example that exhibits this weirdness on my system.
> After clicking the ok and cancel buttons in the dialog, the script printed
> this to my terminal:
> slotOk was passed extra arguments (7.7737446446742396e-270,)
> slotCancel was passed extra arguments (7.7737446446742396e-270,)
> Odd, yes?
> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
More information about the PyQt