KIO
kfilemetainfo.cpp
Go to the documentation of this file.
218 void init ( QIODevice& stream, const KUrl& url, time_t mtime, KFileMetaInfo::WhatFlags w = KFileMetaInfo::Everything );
246 void KFileMetaInfoPrivate::init ( QIODevice& stream, const KUrl& url, time_t mtime, KFileMetaInfo::WhatFlags w )
const QHash< QString, KFileMetaInfoItem > & items() const
Retrieve all the items.
Definition: kfilemetainfo.cpp:351
iterator insert(const Key &key, const T &value)
Definition: kfilemetainfoitem.h:34
const Key key(const T &value) const
read everything, even if it might take a while
Definition: kfilemetainfo.h:86
Definition: kfilemetainfo.h:33
const char * name(StandardAction id)
QString toLocalFile(AdjustPathOption trailing=LeaveTrailingSlash) const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KFileWritePlugin * loadPlugin(const QString &key)
Definition: kfilewriteplugin.cpp:48
virtual bool isSequential() const
QString fromUtf8(const char *str, int size)
const_iterator constEnd() const
KFileMetaInfo provides metadata extracted from a file or other resource.
Definition: kfilemetainfo.h:56
bool applyChanges()
Save the changes made to this KFileMetaInfo instance.
Definition: kfilemetainfo.cpp:326
const char * constData() const
iterator begin()
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
const T value(const Key &key) const
iterator find(const Key &key)
QDataStream & operator<<(QDataStream &s, const KFileMetaInfo &)
Definition: kfilemetainfo.cpp:63
KGuiItem ok()
const_iterator constBegin() const
KFileMetaInfoGroup()
virtual bool canWrite(const KUrl &file, const QString &key)=0
determine if this plugin can write a value into a particular resource.
KFileMetaInfo()
Construct an empty, invalid KFileMetaInfo instance.
Definition: kfilemetainfo.cpp:308
iterator end()
QList< KFileMetaInfoGroup > KFileMetaInfoGroupList
Definition: kfilemetainfo.h:46
KFileMetaInfo & operator=(KFileMetaInfo const &kfmi)
Copy a KFileMetaInfo instance from another one.
Definition: kfilemetainfo.cpp:316
Definition: kfilewriteplugin.h:28
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 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:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.