KDE3Support
k3urldrag.cpp
Go to the documentation of this file.
136 bool K3URLDrag::decode( const QMimeSource *e, KUrl::List &uris, QMap<QString,QString>& metaData )
static QString urlToString(const KUrl &url)
Converts a URL to a string representation suitable for dragging.
Definition: k3urldrag.cpp:251
K3URLDrag(const KUrl::List &urls, QWidget *dragSource=0)
Constructs an object to drag the list of URLs in urls.
Definition: k3urldrag.cpp:37
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
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 KUrl stringToUrl(const QByteArray &s)
Converts a string used for dragging to a URL.
Definition: k3urldrag.cpp:243
void setExportAsText(bool exp)
By default, K3URLDrag also exports the URLs as plain text, for e.g.
Definition: k3urldrag.cpp:69
QString protocol() const
static K3URLDrag * newDrag(const KUrl::List &urls, QWidget *dragSource=0)
Definition: k3urldrag.cpp:77
virtual QByteArray encodedData(const char *mime) const
Definition: k3urldrag.cpp:181
QString path(AdjustPathOption trailing=LeaveTrailingSlash) const
QMap< QString, QString > & metaData()
Meta-data to associate with those URLs.
Definition: k3urldrag.cpp:88
KLocale * locale()
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
bool isLocalFile() const
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 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:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.