KDE3Support
k3bookmarkdrag.cpp
Go to the documentation of this file.
26 K3BookmarkDrag * K3BookmarkDrag::newDrag( const Q3ValueList<KBookmark> & bookmarks, QWidget * dragSource, const char * name )
30 for ( Q3ValueListConstIterator<KBookmark> it = bookmarks.constBegin(); it != bookmarks.constEnd(); ++it ) {
46 K3BookmarkDrag * K3BookmarkDrag::newDrag( const KBookmark & bookmark, QWidget * dragSource, const char * name )
53 K3BookmarkDrag::K3BookmarkDrag( const Q3ValueList<KBookmark> & bookmarks, const Q3StrList & urls,
63 for ( Q3ValueListConstIterator<KBookmark> it = bookmarks.begin(); it != bookmarks.end(); ++it ) {
static QString urlToString(const KUrl &url)
Converts a URL to a string representation suitable for dragging.
Definition: k3urldrag.cpp:251
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
K3BookmarkDrag(const Q3ValueList< KBookmark > &bookmarks, const Q3StrList &urls, QWidget *dragSource, const char *name)
Definition: k3bookmarkdrag.cpp:53
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 bool canDecode(const QMimeSource *e)
Definition: k3bookmarkdrag.cpp:110
static K3BookmarkDrag * newDrag(const Q3ValueList< KBookmark > &bookmarks, QWidget *dragSource=0, const char *name=0)
Definition: k3bookmarkdrag.cpp:26
virtual QByteArray encodedData(const char *mime) const
Definition: k3bookmarkdrag.cpp:80
static KBookmark standaloneBookmark(const QString &text, const KUrl &url, const QString &icon=QString())
const KShortcut & end()
Definition: k3bookmarkdrag.h:31
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
static Q3ValueList< KBookmark > decode(const QMimeSource *e)
Definition: k3bookmarkdrag.cpp:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:58 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:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.