• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkonq

KonqMimeData Class Reference

#include <konqmimedata.h>

List of all members.


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.


Static Public Member Functions

static bool decodeIsCutSelection (const QMimeData *mimeData)
static void populateMimeData (QMimeData *mimeData, const KUrl::List &kdeURLs, const KUrl::List &mostLocalURLs, bool cut=false)

Member Function Documentation

bool KonqMimeData::decodeIsCutSelection ( const QMimeData *  mimeData  )  [static]

Returns:
true if the urls in mimeData were cut

Definition at line 55 of file konqmimedata.cpp.

void KonqMimeData::populateMimeData ( QMimeData *  mimeData,
const KUrl::List &  kdeURLs,
const KUrl::List &  mostLocalURLs,
bool  cut = false 
) [static]

Populate a QMimeData with urls, and whether they were cut or copied.

Parameters:
mimeData pointer to the 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:
  • konqmimedata.h
  • konqmimedata.cpp

libkonq

Skip menu "libkonq"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal