Re: [PyKDE] QStringList &QStringList::operator+=(const QString &) missing from PyQt?
I noticed that operator+=(const QString &) doesn't work from Python, even though it is documented as part of the Qt 3.3 API It will be in tonight's PyQt snapshots. Thanks Phil! Nigel ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] QStringList &QStringList::operator+=(const QString &) missing from PyQt?
On Thursday 30 March 2006 2:14 am, Nigel Stewart wrote: > > I noticed that operator+=(const QString &) doesn't work from > > Python, even though it is documented as part of the Qt 3.3 API > > Any chance of this being resolved in Sip 4.4.1 and PyQt 3.16.1? It will be in tonight's PyQt snapshots. There is unlikely to be a PyQt 3.16.1, and 3.17 won't be for several months. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Re: [PyKDE] QStringList &QStringList::operator+=(const QString &) missing from PyQt?
I noticed that operator+=(const QString &) doesn't work from Python, even though it is documented as part of the Qt 3.3 API Any chance of this being resolved in Sip 4.4.1 and PyQt 3.16.1? Thanks, Nigel ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[PyKDE] QStringList &QStringList::operator+=(const QString &) missing from PyQt?
Hello all, I noticed that operator+=(const QString &) doesn't work from Python, even though it is documented as part of the Qt 3.3 API: http://doc.trolltech.com/3.3/qvaluelist.html#operator+-eq Works: l = QStringList() l.append("Hello") l.append("World") Doesn't work: l = QStringList() l += QString("Hello") l += QString("World") Perhaps it needs to be added to qstringlist.sip PyQt-x11-gpl-snapshot-20060323/sip/qt $ grep operator qstringlist.sip QString operator[](int); QStringList operator[](SIP_PYSLICE); QStringList operator+(const QStringList &); QStringList &operator+=(const QStringList &); QStringList operator*(int); QStringList &operator*=(int); bool operator==(const QStringList &); bool operator!=(const QStringList &); Since I switch a lot between C++ and Python perhaps I'm more likely than most to discover this kind of issue. :-) We're using Sip 4.3.2 and PyQt 3.15.1 Regards, Nigel Stewart ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde