KIO
KFileMetaInfo Class Reference
#include <kfilemetainfo.h>
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 KFileMetaDataItem objects.
Definition at line 56 of file kfilemetainfo.h.
Member Enumeration Documentation
| enum KFileMetaInfo::What |
This is used to specify what a KFileMetaInfo object should read, so you can specify if you want to read "expensive" items or not.
This is like a preset which can be customized by passing additional parameters to constructors.
- Enumerator:
Definition at line 64 of file kfilemetainfo.h.
Constructor & Destructor Documentation
| KFileMetaInfo::KFileMetaInfo | ( | const QString & | path, | |
| const QString & | mimetype = QString(), |
|||
| WhatFlags | w = Everything | |||
| ) | [explicit] |
Construct a KFileMetaInfo that contains metainformation about the resource pointed to by path.
| KFileMetaInfo::KFileMetaInfo | ( | const KUrl & | url | ) |
Construct a KFileMetaInfo that contains metainformation about the resource pointed to by url.
Definition at line 218 of file kfilemetainfo.cpp.
| KFileMetaInfo::KFileMetaInfo | ( | ) |
Construct an empty, invalid KFileMetaInfo instance.
Definition at line 227 of file kfilemetainfo.cpp.
| KFileMetaInfo::KFileMetaInfo | ( | const KFileMetaInfo & | k | ) |
Construct a KFileMetaInfo instance from another one.
Definition at line 229 of file kfilemetainfo.cpp.
| KFileMetaInfo::~KFileMetaInfo | ( | ) |
Member Function Documentation
| const KFileMetaInfo & KFileMetaInfo::operator= | ( | KFileMetaInfo const & | kfmi | ) |
| bool KFileMetaInfo::applyChanges | ( | ) |
Save the changes made to this KFileMetaInfo instance.
Definition at line 239 of file kfilemetainfo.cpp.
| const QHash< QString, KFileMetaInfoItem > & KFileMetaInfo::items | ( | ) | const |
| KFileMetaInfoItem & KFileMetaInfo::item | ( | const QString & | key | ) |
Definition at line 277 of file kfilemetainfo.cpp.
| const KFileMetaInfoItem & KFileMetaInfo::item | ( | const QString & | key | ) | const |
Definition at line 268 of file kfilemetainfo.cpp.
| bool KFileMetaInfo::isValid | ( | ) | const |
Definition at line 281 of file kfilemetainfo.cpp.
| QStringList KFileMetaInfo::preferredKeys | ( | ) | const |
| QStringList KFileMetaInfo::supportedKeys | ( | ) | const |
| KFileMetaInfoGroupList KFileMetaInfo::preferredGroups | ( | ) | const |
| KFileMetaInfoGroupList KFileMetaInfo::supportedGroups | ( | ) | const |
| KFileMetaInfoGroupList KFileMetaInfo::groups | ( | ) | const |
| QStringList KFileMetaInfo::keys | ( | ) | const |
Definition at line 273 of file kfilemetainfo.cpp.
| const KUrl & KFileMetaInfo::url | ( | ) | const |
Definition at line 260 of file kfilemetainfo.cpp.
Friends And Related Function Documentation
| QDataStream& operator>> | ( | QDataStream & | s, | |
| KFileMetaInfo & | ||||
| ) | [friend] |
Definition at line 45 of file kfilemetainfo.cpp.
| QDataStream& operator<< | ( | QDataStream & | s, | |
| const KFileMetaInfo & | ||||
| ) | [friend] |
Definition at line 48 of file kfilemetainfo.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference