class KURLDrag
|
This class is to be used instead of QUriDrag when using KURL. More... |
|
|
Public Static Methods
This class is to be used instead of QUriDrag when using KURL.
The reason is : QUriDrag (and the XDND/W3C standards) expect URLs to
be encoded in UTF-8 (unicode), but KURL uses the current locale
by default.
To create a drag object, use KURLDrag::newDrag with a list of KURLs.
To decode a drop, use KURLDrag::decode or QUriDrag::decodeLocalFiles.
QUriDrag * newDrag ( const KURL::List &urls, QWidget* dragSource = 0, const char * name = 0 )
|
[static]
Constructs an object to drag the list of URLs in urls.
The dragSource and name arguments are passed on to QUriDrag,
and the list of urls is converted to UTF-8 before being passed
to QUriDrag.
[static]
Convenience method that decodes the contents of e
into a list of KURLs.
Generated by: marc@yogi on Tue Mar 27 13:06:25 2001, using kdoc 2.0a48. |