libkonq
KonqMimeData Class Reference
  #include <konqmimedata.h>
| Static Public Member Functions | |
| static void | addIsCutSelection (QMimeData *mimeData, bool cut) | 
| static bool | decodeIsCutSelection (const QMimeData *mimeData) | 
| static void | populateMimeData (QMimeData *mimeData, const KUrl::List &kdeURLs, const KUrl::List &mostLocalURLs, bool cut=false) | 
Detailed Description
This class provides functions for creating and decoding clipboard/drag-n-drop data of URLs.
In particular it ships: (kde) urls, most-local urls, and an "is cut" boolean.
Definition at line 31 of file konqmimedata.h.
Member Function Documentation
| 
 | static | 
Add the information whether the files were cut, into the mimedata.
- Parameters
- 
  mimeData pointer to the mimeData object to be populated. Must not be 0. cut if true, the user selected "cut" (saved as application/x-kde-cutselection in the mimedata). 
- Since
- 4.2
Definition at line 61 of file konqmimedata.cpp.
| 
 | static | 
- Returns
- true if the urls in mimeDatawere cut
Definition at line 49 of file konqmimedata.cpp.
| 
 | static | 
Populate a QMimeData with urls, and whether they were cut or copied.
- Parameters
- 
  mimeData pointer to the mimeData object to be populated. Must not be 0. kdeURLs list of urls (which can include kde-specific protocols). This list can be empty if only local urls are being used anyway. mostLocalURLs "most local urls" (which try to resolve those to file:/ where possible), cut if true, the user selected "cut" (saved as application/x-kde-cutselection in the mimedata). 
Definition at line 24 of file konqmimedata.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference