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 ) {
virtual QByteArray encodedData(const char *format) const =0
QDomNode item(int index) const
static QString urlToString(const KUrl &url)
Converts a URL to a string representation suitable for dragging.
Definition: k3urldrag.cpp:251
QDomNode appendChild(const QDomNode &newChild)
virtual QByteArray encodedData(const char *format) const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
const QObjectList & children() const
K3BookmarkDrag(const Q3ValueList< KBookmark > &bookmarks, const Q3StrList &urls, QWidget *dragSource, const char *name)
Definition: k3bookmarkdrag.cpp:53
QString join(const QString &separator) const
int length() const
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
QDomNodeList childNodes() const
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
void append(const type *item)
QDomElement toElement() const
void resize(int size)
int count() const
void append(const T &value)
Q3ValueList< T >::Iterator append(const T &x)
QByteArray toLocal8Bit() const
QByteArray toLatin1() const
virtual QByteArray encodedData(const char *mime) const
Definition: k3bookmarkdrag.cpp:80
QDomNode cloneNode(bool deep) const
typedef ConstIterator
char * data()
static KBookmark standaloneBookmark(const QString &text, const KUrl &url, const QString &icon=QString())
const_iterator constEnd() const
bool decode(const QMimeSource *source, QString &string)
QDomElement createElement(const QString &tagName)
const_iterator constBegin() const
virtual bool provides(const char *mimeType) const
const KShortcut & end()
Definition: k3bookmarkdrag.h:31
QString prettyUrl(AdjustPathOption trailing=LeaveTrailingSlash) const
static Q3ValueList< KBookmark > decode(const QMimeSource *e)
Definition: k3bookmarkdrag.cpp:116
QByteArray toByteArray(int indent) const
bool setContent(const QByteArray &data, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.