KDE3Support
k3urldrag.h
Go to the documentation of this file.
K3URLDrag(const KUrl::List &urls, QWidget *dragSource=0)
Constructs an object to drag the list of URLs in urls.
Definition k3urldrag.cpp:37
void setExportAsText(bool exp)
By default, K3URLDrag also exports the URLs as plain text, for e.g.
Definition k3urldrag.cpp:69
static K3URLDrag * newDrag(const KUrl::List &urls, QWidget *dragSource=0)
Definition k3urldrag.cpp:77
static bool decode(QStringList const &e, KUrl::List &uris)
Convenience method that decodes the contents of e into a list of KUrls for Qt versions without a MIME...
QMap< QString, QString > & metaData()
Meta-data to associate with those URLs.
Definition k3urldrag.cpp:88
static KUrl stringToUrl(const QByteArray &s)
Converts a string used for dragging to a URL.
Definition k3urldrag.cpp:243
virtual QByteArray encodedData(const char *mime) const
Definition k3urldrag.cpp:181
static bool decode(const QMimeSource *e, KUrl::List &urls)
Convenience method that decodes the contents of e into a list of KUrls.
Definition k3urldrag.cpp:93
static QString urlToString(const KUrl &url)
Converts a URL to a string representation suitable for dragging.
Definition k3urldrag.cpp:251
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.