[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] QTextDrag problems
From: Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date: 2002-08-27 10:56:29
[Download RAW message or body]
Green, Gregory P wrote:
> 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.
Why doesn't it? The QString you pass is updated with the decoded string
- or at least it should be. See dropsite.py in the examples directory.
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic