10#include <kbookmarks_export.h>
31 enum MetaDataOverwriteMode {
33 DontOverwriteMetaData,
42 class KBOOKMARKS_EXPORT
List :
public QList<KBookmark>
52 void populateMimeData(
QMimeData *mimeData)
const;
57 static bool canDecode(
const QMimeData *mimeData);
104 bool isSeparator()
const;
118 bool hasParent()
const;
136 void setFullText(
const QString &fullText);
146 void setUrl(
const QUrl &url);
159 void setIcon(
const QString &icon);
173 void setDescription(
const QString &description);
187 void setMimeType(
const QString &mimeType);
194 bool showInToolbar()
const;
199 void setShowInToolbar(
bool show);
224 int positionInParent()
const;
235 void updateAccessMetadata();
247 static uint positionInParent(
const QString &address);
288 void setMetaDataItem(
const QString &key,
const QString &value, MetaDataOverwriteMode mode = OverwriteMetaData);
297 void populateMimeData(
QMimeData *mimeData)
const;
302 bool operator==(
const KBookmark &rhs)
const;
354 int indexOf(
const KBookmark &child)
const;
397 void deleteBookmark(
const KBookmark &bk);
402 bool isToolbarGroup()
const;
436#define KIO_KBOOKMARK_METATYPE_DEFINED 1
A class to traverse bookarm groups.
KBookmark::List is a QList that contains bookmarks with a few convenience methods.
A class representing a bookmark.
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:02:20 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.