KIO
KIO::MetaData Class Reference
#include <global.h>
Inheritance diagram for KIO::MetaData:
Public Member Functions | |
MetaData () | |
MetaData (const QMap< QString, QString > &metaData) | |
MetaData (const QMap< QString, QVariant > &) | |
MetaData & | operator+= (const QMap< QString, QString > &metaData) |
MetaData & | operator+= (const QMap< QString, QVariant > &metaData) |
MetaData & | operator= (const QMap< QString, QVariant > &metaData) |
QVariant | toVariant () const |
Detailed Description
Constructor & Destructor Documentation
|
inline |
Member Function Documentation
KIO::MetaData & KIO::MetaData::operator+= | ( | const QMap< QString, QVariant > & | metaData | ) |
Same as above except the value in the map is a QVariant.
This convenience function allows you to easily assign the values of a QVariant to this meta data class.
- Parameters
-
metaData the map to add
- Returns
- this map
- Since
- 4.3.1
Definition at line 1302 of file global.cpp.
KIO::MetaData & KIO::MetaData::operator= | ( | const QMap< QString, QVariant > & | metaData | ) |
Sets the given meta data map to this map.
- Parameters
-
metaData the map to add
- Returns
- this map
- Since
- 4.3.1
Definition at line 1314 of file global.cpp.
QVariant KIO::MetaData::toVariant | ( | ) | const |
Returns the contents of the map as a QVariant.
- Returns
- a QVariant representation of the meta data map.
- Since
- 4.3.1
Definition at line 1320 of file global.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.