[PyKDE] QTextDrag problems

Green, Gregory P gregory.p.green at boeing.com
Wed Aug 21 01:33:01 BST 2002


I am trying to decode the text in a QTextDrag object, received by a
QListView.contentsDropEvent method. The c++ signature of the object is:

static bool decode(const QMimeSource*, QString&)

The second argument is intended to receive the decoded text. PyQt copies
this signature exactly, so that a string needs to be passed, and a boolean
is received. That doesn't allow retrieval of the string though.

-- Greg Green





More information about the PyQt mailing list