#include <kfilemetainfo.h>
Public Types | |
| enum | Attributes { , MultiLine = 32, SqueezeText = 64 } |
| enum | Hint |
| enum | Unit { , FramesPerSecond = 8, DotsPerInch = 9, BitsPerPixel = 10, Hertz = 11, KiloBytes = 12 } |
Public Methods | |
| QValidator * | createValidator (const QString &group, const QString &key, QObject *parent=0, const char *name=0) const |
| QStringList | supportedGroups () const |
| QStringList | translatedGroups () const |
| QStringList | preferredGroups () const |
| QString | mimeType () const |
| const GroupInfo * | groupInfo (const QString &group) const |
| QStringList | supportedKeys () const |
| QStringList | preferredKeys () const |
Definition at line 47 of file kfilemetainfo.h.
|
|
This enum is used to specify some attributes that an item can have, which fit neither in the Hint nor in the Unit enum.
Definition at line 77 of file kfilemetainfo.h. |
|
|
This enum is mainly for items that have a special meaning for some applications.
Definition at line 104 of file kfilemetainfo.h. |
|
|
This enum exists so that you can specify units for items, which you can usually use for integer items, so an application knows how to display it (e.g. a time in seconds in a hh:mm:ss form). You can either use one of those units, or if you don't find one that fits, you can add it yourself using a prefix and/or suffix.
Definition at line 139 of file kfilemetainfo.h. |
|
||||||||||||||||||||
|
Creates a validator for this item. Make sure to supply a proper parent argument or delete the validator yourself. |
|
|
Get the group info for a specific group.
|
|
|
Returns the mimetype to which this info belongs. Definition at line 442 of file kfilemetainfo.h. |
|
|
This returns the list of groups in the preferred order that's specified in the .desktop file.
Definition at line 434 of file kfilemetainfo.h. |
|
|
Return a list of all supported keys in preference order
Definition at line 468 of file kfilemetainfo.h. |
|
|
Returns the list of all groups that the plugin for this mimetype supports.
|
|
|
Return a list of all supported keys without looking for a specific group
|
|
|
Same as the above function, but returns the strings to display to the user.
|
1.2.18