PyKDE - Python Bindings for KDE
class KFileMetaInfo
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KFileMetaInfo
Inherits
enums
What
= {Fastest, DontCare, TechnicalInfo, ContentInfo, ExtenedAttr, Thumbnail, Preferred, Everything }
methods
KFileMetaInfo
(path, mimeType = QString .null, what = Fastest)
returns
a KFileMetaInfo instance
Argument
Type
Default
path
QString
mimeType
QString
QString .null
what
uint
Fastest
KFileMetaInfo
(url, mimeType = QString .null, what = Fastest)
returns
a KFileMetaInfo instance
In versions KDE 3.2.0 and above only
Argument
Type
Default
url
KURL
mimeType
QString
QString .null
what
uint
Fastest
KFileMetaInfo
()
returns
a KFileMetaInfo instance
KFileMetaInfo
(original)
returns
a KFileMetaInfo instance
Argument
Type
Default
original
KFileMetaInfo
addGroup
(name)
returns
(bool)
Argument
Type
Default
name
QString
appendGroup
(name)
returns
(KFileMetaInfoGroup)
Argument
Type
Default
name
QString
applyChanges
()
returns
(bool)
applyChanges
(path)
returns
(bool)
In versions KDE 3.5.3 and above only
Argument
Type
Default
path
QString
contains
(key)
returns
(bool)
Argument
Type
Default
key
QString
containsGroup
(key)
returns
(bool)
Argument
Type
Default
key
QString
deref
()
returns
nothing
editableGroups
()
returns
(QStringList)
group
(key)
returns
(KFileMetaInfoGroup)
Argument
Type
Default
key
QString
groups
()
returns
(QStringList)
isEmpty
()
returns
(bool)
isValid
()
returns
(bool)
item
(key)
returns
(KFileMetaInfoItem)
Argument
Type
Default
key
QString
item
(hint)
returns
(KFileMetaInfoItem)
Argument
Type
Default
hint
Hint
mimeType
()
returns
(QString)
path
()
returns
(QString)
plugin
()
returns
(KFilePlugin)
preferredGroups
()
returns
(QStringList)
preferredKeys
()
returns
(QStringList)
ref
()
returns
nothing
removeGroup
(name)
returns
(bool)
Argument
Type
Default
name
QString
removedGroups
()
returns
(QStringList)
saveItem
(key, preferredGroup = QString .null, createGroup = 1)
returns
(KFileMetaInfoItem)
Argument
Type
Default
key
QString
preferredGroup
QString
QString .null
createGroup
bool
1
supportedGroups
()
returns
(QStringList)
supportedKeys
()
returns
(QStringList)
url
()
returns
(KURL)
In versions KDE 3.2.0 and above only
value
(key)
returns
(QVariant)
Argument
Type
Default
key
QString
operators
operator []
(key)
returns
(KFileMetaInfoGroup),
In versions KDE 3.1.4 and above only
Argument
Type
Default
key
QString