KIO
#include <kfilemetainfoitem.h>
Public Member Functions | |
KFileMetaInfoItem () | |
KFileMetaInfoItem (const KFileMetaInfoItem &item) | |
~KFileMetaInfoItem () | |
bool | addValue (const QVariant &) |
bool | isEditable () const |
bool | isModified () const |
bool | isRemoved () const |
bool | isSkipped () const |
bool | isValid () const |
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 |
Detailed Description
Definition at line 34 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 46 of file kfilemetainfoitem.cpp.
Member Function Documentation
Append a value to the properties in this file.
Definition at line 77 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isEditable | ( | ) | const |
Can this item be edited.
Definition at line 110 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isModified | ( | ) | const |
Can this item be removed.
Definition at line 87 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isRemoved | ( | ) | const |
Has this value been removed, e.g with setValue(QVariant())
Definition at line 91 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isSkipped | ( | ) | const |
Has this value been skipped by analyzer due to performance or other considerations.
Definition at line 99 of file kfilemetainfoitem.cpp.
bool KFileMetaInfoItem::isValid | ( | ) | const |
Is this a valid item.
Definition at line 95 of file kfilemetainfoitem.cpp.
const QString & KFileMetaInfoItem::name | ( | ) | const |
Localized name of the predicate.
Definition at line 54 of file kfilemetainfoitem.cpp.
const KFileMetaInfoItem & KFileMetaInfoItem::operator= | ( | const KFileMetaInfoItem & | item | ) |
Copy operator.
Definition at line 49 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 120 of file kfilemetainfoitem.cpp.
const PredicateProperties & KFileMetaInfoItem::properties | ( | ) | const |
Retrieve the properties of this field type.
Definition at line 105 of file kfilemetainfoitem.cpp.
Set the value of this field.
Definition at line 70 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 114 of file kfilemetainfoitem.cpp.
const QVariant & KFileMetaInfoItem::value | ( | ) | const |
Retrieve the current value of this item.
Definition at line 66 of file kfilemetainfoitem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.