QTextDrag::decode () takes two arguments, the second is a Qstring &.
To get that to work with PyQt, I did:
x = qt.QString()
qt.QTextDrag.decode (qt.QApplication.clipboard().data(), x)
I guess what I expected was for the returned QString to be returned as
part of a tuple.
Is that a reasonable expectation? In general, how should modified
parameters that are pass by reference be dealt with?
--pete
- Re: [PyKDE] QTextDrag::decode Pete Ware
- Re: [PyKDE] QTextDrag::decode Phil Thompson
- Re: [PyKDE] QTextDrag::decode Pete Ware
- Re: [PyKDE] QTextDrag::decode Phil Thompson
- Re: [PyKDE] QTextDrag::decode Phil Thompson
- Re: [PyKDE] QTextDrag::decode Pete Ware
- Re: [PyKDE] QTextDrag::decode Phil Thompson
- Re: [PyKDE] QTextDrag::decode Boudewijn Rempt
