Re: [PyQt] Construct QVariant from object of user type

2008-04-20 Thread Phil Thompson
On Saturday 19 April 2008, Matt Newell wrote: Here is working code(though not in compilable form) that allows registering python classes(really any python object that has .__name__ attribute) as a QMetaType. Then you use qvariantFromPyObject to construct a qvariant from an instance of the

Re: [PyQt] Issues with PyKDE4 and i18n API

2008-04-20 Thread Chusslove Illich
[: Chusslove Illich :] [...] but one could provide same i18n* calls in pure Python: [...] It cannot work exactly as I've put it before, as ki18n* calls are also by suffixes. The (hopefully) corrected version: def i18n_helper (ki18nx, base_args, subs_args): kstr = ki18nx(*base_args)

Re: [PyQt] PyQt Release Plans and Qt v4.4 Support

2008-04-20 Thread Phil Thompson
On Friday 18 April 2008, Henning Schröder wrote: Ok I got the snapshot working by changing void *a0 into uchar *a0 for QFile::unwrap :-) I was playing a litte bit with QtWebKit after reading http://www.trolltech.com/pdf/qt-webkit-mar-2008-whitepaper-a4.pdf There is an example which shows

[PyQt] Qt 4.4: QtNetwork.QNetworkProxy: Problem

2008-04-20 Thread Chris Giles
When coupling PyQt 4.3.3 with Qt 4.4, using a QtNetwork.QNetworkProxy with QtNetwork.QHttp doesn't seem to work anymore. Can anyone confirm this or would you like me to provide a code fragment and error report? ___ PyQt mailing list