KFileMimeTypeInfo::ItemInfo Class Reference
This is the class for one item of a KFileMimeTypeInfo. More...
#include <kfilemetainfo.h>
Public Member Functions | |
const QString & | prefix () const |
const QString & | suffix () const |
QVariant::Type | type () const |
const QString & | key () const |
QString | string (const QVariant &value, bool mangle=true) const |
bool | isVariableItem () const |
const QString & | translatedKey () const |
uint | attributes () const |
uint | hint () const |
uint | unit () const |
Detailed Description
This is the class for one item of a KFileMimeTypeInfo.It contains every information about a KFileMetaInfoItem that this item has in common for each file of a specific mimetype.
Definition at line 246 of file kfilemetainfo.h.
Member Function Documentation
|
This method returns a translated prefix to be displayed before the value. Think e.g. of the $ in $30
Definition at line 261 of file kfilemetainfo.h. Referenced by string(). |
|
This method returns a translated suffix to be displayed after the value. Think of the kbps in 128kbps
Definition at line 272 of file kfilemetainfo.h. Referenced by string(). |
|
The items for a file are stored as a QVariant and this method can be used to get the data type of this item.
Definition at line 283 of file kfilemetainfo.h. |
|
Returns the name of the item.
Definition at line 292 of file kfilemetainfo.h. Referenced by KFileMetaInfo::addGroup(), and isVariableItem(). |
|
|
Is this item the variable item?
Definition at line 315 of file kfilemetainfo.h. References QString::isNull(), and key(). Referenced by KFileMetaInfoGroup::addItem(). |
|
Returns a translation of the key for displaying to the user. If the plugin provides translation to the key, it's also in the user's language.
Definition at line 327 of file kfilemetainfo.h. |
|
Return the attributes of the item. See KFileMimeTypeInfo::Attributes.
Definition at line 337 of file kfilemetainfo.h. Referenced by KFileMetaInfo::addGroup(). |
|
Return the hints for the item.
Definition at line 347 of file kfilemetainfo.h. |
|
Return the unit of the item.
Definition at line 357 of file kfilemetainfo.h. Referenced by string(). |
The documentation for this class was generated from the following files: