Provides for drag-and-drop of a list of file references. More...
#include <qdragobject.h>
Inherits QStoredDrag.
URLs are a useful way to refer to files that may be distributed across multiple machines. Much of the time a URL will refer to a file on a machine local to both the drag source and the drop target, and so the URL will be equivalent to passing a filename, but more extensible.
Creates an object to drag the list of urls in urls. The dragSource and name arguments are passed on to QStoredDrag.
Creates a object to drag. You will need to call setUrls() before you start the drag().
Destroys the object.
[static]
Returns TRUE if decode() would be able to decode e.
[static]
Decodes URLs from e, placing the result in l (which is first cleared).
Returns TRUE if the event contained a valid list of URLs.
[static]
Decodes URLs from e, converts them to local files if they refer to local files, and places them in l (which is first cleared).
Returns TRUE if the event contained a valid list of URLs. The list will be empty if no URLs were local files.
Changes the list of urls to be dragged.
[static]
Returns the name of a local file equivalent to url, or a null string if url is not a local file.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-98 Troll Tech, all rights reserved.
It was generated from the following files:
Copyright İ 1998 Troll Tech | Trademarks | Qt version 1.42
|