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

List:       pykde
Subject:    [PyQt] SIP does not allow a %Property called 'name'
From:       Zvi Tarem <zvi.tarem () gmail ! com>
Date:       2012-03-21 15:14:43
Message-ID: CAP-KhO2wdSNX8B8-7fja=K8Ex-JteOrauxQ4Mb4+n8v5ddDNtA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


The following gives a syntax error in SIP:

%Property(name=name, get=getName, set=setName)

The following does work:

%Property(name=Name, get=getName, set=setName)

But then you get a Python property called 'Name', not 'name'...

[Attachment #5 (text/html)]

<div dir="ltr">The following gives a syntax error in \
SIP:<div><br><div>%Property(name=name, get=getName, \
set=setName)</div></div><div><br></div><div>The following does \
work:</div><div><br></div><div><div><div>%Property(name=Name, get=getName, \
set=setName)</div> </div><div><br></div>But then you get a Python property called \
&#39;Name&#39;, not &#39;name&#39;...</div></div>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

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