kio
KFileMetaInfoProvider Class Reference
#include <kfilemetainfo.h>
Public Member Functions | |
const KFileMimeTypeInfo * | mimeTypeInfo (const QString &mimeType, const QString &protocol) |
const KFileMimeTypeInfo * | mimeTypeInfo (const QString &mimeType) |
KFilePlugin * | plugin (const QString &mimeType, const QString &protocol) |
KFilePlugin * | plugin (const QString &mimeType) |
QStringList | preferredGroups (const QString &mimeType) const |
QStringList | preferredKeys (const QString &mimeType) const |
QStringList | supportedMimeTypes () const |
virtual | ~KFileMetaInfoProvider () |
Static Public Member Functions | |
static KFileMetaInfoProvider * | self () |
Protected Member Functions | |
KFileMetaInfoProvider () |
Detailed Description
For internal use only.
Synchronous access to metadata of a local file. Usually, you don't want to use this class for getting metainfo from a file. Use KFileMetaInfo directly. However, if you want to find out if a specific mimetype is supported and which groups and items are provided for it, you can ask the KFileMetainfoProvider for it.
Definition at line 1646 of file kfilemetainfo.h.
Constructor & Destructor Documentation
KFileMetaInfoProvider::~KFileMetaInfoProvider | ( | ) | [virtual] |
Definition at line 924 of file kfilemetainfo.cpp.
KFileMetaInfoProvider::KFileMetaInfoProvider | ( | ) | [protected] |
Definition at line 919 of file kfilemetainfo.cpp.
Member Function Documentation
const KFileMimeTypeInfo * KFileMetaInfoProvider::mimeTypeInfo | ( | const QString & | mimeType, | |
const QString & | protocol | |||
) |
Definition at line 1071 of file kfilemetainfo.cpp.
const KFileMimeTypeInfo * KFileMetaInfoProvider::mimeTypeInfo | ( | const QString & | mimeType | ) |
Definition at line 1066 of file kfilemetainfo.cpp.
KFilePlugin * KFileMetaInfoProvider::plugin | ( | const QString & | mimeType, | |
const QString & | protocol | |||
) |
- Returns:
- a pointer to the plugin that belongs to the specified mimetype, for the given protocol. This loads the plugin if it's not in memory yet.
Definition at line 1001 of file kfilemetainfo.cpp.
KFilePlugin * KFileMetaInfoProvider::plugin | ( | const QString & | mimeType | ) |
- Returns:
- a pointer to the plugin that belongs to the specified mimetype, which means also load the plugin if it's not in memory
Definition at line 996 of file kfilemetainfo.cpp.
QStringList KFileMetaInfoProvider::preferredGroups | ( | const QString & | mimeType | ) | const |
Definition at line 1053 of file kfilemetainfo.cpp.
QStringList KFileMetaInfoProvider::preferredKeys | ( | const QString & | mimeType | ) | const |
Definition at line 1040 of file kfilemetainfo.cpp.
KFileMetaInfoProvider * KFileMetaInfoProvider::self | ( | ) | [static] |
Definition at line 911 of file kfilemetainfo.cpp.
QStringList KFileMetaInfoProvider::supportedMimeTypes | ( | ) | const |
The documentation for this class was generated from the following files: