KIO
KFileMetaInfoItem Class Reference
#include <kfilemetainfoitem.h>
Public Member Functions | |
bool | addValue (const QVariant &) |
bool | isEditable () const |
bool | isModified () const |
bool | isRemoved () const |
bool | isSkipped () const |
bool | isValid () const |
KFileMetaInfoItem (const KFileMetaInfoItem &item) | |
KFileMetaInfoItem () | |
const QString & | name () const |
const KFileMetaInfoItem & | operator= (const KFileMetaInfoItem &item) |
QString | prefix () const |
const PredicateProperties & | properties () const |
bool | setValue (const QVariant &value) |
QString | suffix () const |
const QVariant & | value () const |
~KFileMetaInfoItem () |
Detailed Description
Definition at line 32 of file kfilemetainfoitem.h.
Constructor & Destructor Documentation
KFileMetaInfoItem::KFileMetaInfoItem | ( | ) |
Default constructor.
Definition at line 26 of file kfilemetainfoitem.cpp.
KFileMetaInfoItem::KFileMetaInfoItem | ( | const KFileMetaInfoItem & | item | ) |
Copy constructor.
Definition at line 29 of file kfilemetainfoitem.cpp.
KFileMetaInfoItem::~KFileMetaInfoItem | ( | ) |
Destructor.
Definition at line 40 of file kfilemetainfoitem.cpp.
Member Function Documentation
Append a value to the properties in this file.
Definition at line 63 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isEditable | ( | ) | const |
Can this item be edited.
Definition at line 94 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isModified | ( | ) | const |
Can this item be removed.
Definition at line 73 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isRemoved | ( | ) | const |
Has this value been removed, e.g with setValue(QVarian()).
Definition at line 77 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isSkipped | ( | ) | const |
Has this value been skipped by analyzer due to performance or other considerations.
Definition at line 85 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isValid | ( | ) | const |
Is this a valid item.
Definition at line 81 of file kfilemetainfoitem.cpp.
const QString & KFileMetaInfoItem::name | ( | ) | const |
Localized name of the predicate.
Convenience function for properties().name();
Definition at line 48 of file kfilemetainfoitem.cpp.
const KFileMetaInfoItem & KFileMetaInfoItem::operator= | ( | const KFileMetaInfoItem & | item | ) |
Copy operator.
Definition at line 43 of file kfilemetainfoitem.cpp.
QString KFileMetaInfoItem::prefix | ( | ) | const |
This method returns a translated prefix to be displayed before the value.
- Returns:
- the prefix
Definition at line 104 of file kfilemetainfoitem.cpp.
const PredicateProperties & KFileMetaInfoItem::properties | ( | ) | const |
Retrieve the properties of this field type.
Definition at line 90 of file kfilemetainfoitem.cpp.
Set the value of this field.
Definition at line 56 of file kfilemetainfoitem.cpp.
QString KFileMetaInfoItem::suffix | ( | ) | const |
This method returns a translated suffix to be displayed after the value.
Think of the kbps in 128kbps
- Returns:
- the suffix
Definition at line 98 of file kfilemetainfoitem.cpp.
const QVariant & KFileMetaInfoItem::value | ( | ) | const |
Retrieve the current value of this item.
Definition at line 52 of file kfilemetainfoitem.cpp.
The documentation for this class was generated from the following files: