KDE 4.4 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

KFileMetaInfo Class Reference

from PyKDE4.kio import *

Detailed Description

KFileMetaInfo provides metadata extracted from a file or other resource.

When instantiating an instance of this class, the metadata related to it will be retrieved and stored in the instance. The data can be inspected through KFileMetaInfoItem objects.


Enumerations

What { Fastest, TechnicalInfo, ContentInfo, ExternalSources, Thumbnail, LinkedData, Everything }

Methods

 __init__ (self, QString path, QString mimetype=QString(), KFileMetaInfo.WhatFlags w=KFileMetaInfo.Everything)
 __init__ (self, KUrl url)
 __init__ (self)
 __init__ (self, KFileMetaInfo a0)
bool applyChanges (self)
bool isValid (self)
KFileMetaInfoItem item (self, QString key)
{QString:KFileMetaInfoItem} items (self)
QStringList keys (self)
QStringList preferredKeys (self)
QStringList supportedKeys (self)
KUrl url (self)

Method Documentation

__init__ (  self,
QString  path,
QString  mimetype=QString(),
KFileMetaInfo.WhatFlags  w=KFileMetaInfo.Everything
)
__init__ (  self,
KUrl  url
)
__init__ (   self )
__init__ (  self,
KFileMetaInfo  a0
)
bool applyChanges (   self )

Save the changes made to this KFileMetaInfo instance.

bool isValid (   self )
KFileMetaInfoItem item (  self,
QString  key
)
{QString:KFileMetaInfoItem} items (   self )

Retrieve all the items.

QStringList keys (   self )
QStringList preferredKeys (   self )

Deprecated

QStringList supportedKeys (   self )

Deprecated

KUrl url (   self )

Enumeration Documentation

What
Enumerator:

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal