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 | 
  Public Member Functions inherited from QMap< QString, QString > | |
| QMap () | |
| QMap (const QMap< Key, QString > &other) | |
| QMap (const std::map< Key, QString > &other) | |
| ~QMap () | |
| iterator | begin () | 
| const_iterator | begin () const | 
| void | clear () | 
| const_iterator | constBegin () const | 
| const_iterator | constEnd () const | 
| const_iterator | constFind (const Key &key) const | 
| bool | contains (const Key &key) const | 
| int | count () const | 
| int | count (const Key &key) const | 
| bool | empty () const | 
| iterator | end () | 
| const_iterator | end () const | 
| iterator | erase (iterator pos) | 
| void | erase (const Key &key) | 
| iterator | find (const Key &key) | 
| const_iterator | find (const Key &key) const | 
| iterator | insert (const Key &key, const QString &value) | 
| iterator | insert (const Key &key, const QString &value, bool overwrite) | 
| iterator | insertMulti (const Key &key, const QString &value) | 
| bool | isEmpty () const | 
| const Key | key (const QString &value) const | 
| const Key | key (const QString &value, const Key &defaultKey) const | 
| QList< Key > | keys (const QString &value) const | 
| QList< Key > | keys () const | 
| iterator | lowerBound (const Key &key) | 
| const_iterator | lowerBound (const Key &key) const | 
| bool | operator!= (const QMap< Key, QString > &other) const | 
| QMap< Key, QString > & | operator= (const QMap< Key, QString > &other) | 
| bool | operator== (const QMap< Key, QString > &other) const | 
| QString & | operator[] (const Key &key) | 
| const QString | operator[] (const Key &key) const | 
| int | remove (const Key &key) | 
| iterator | remove (iterator it) | 
| iterator | replace (const Key &key, const QString &value) | 
| int | size () const | 
| void | swap (QMap< Key, QString > &other) | 
| QString | take (const Key &key) | 
| std::map< Key, QString > | toStdMap () const | 
| QList< Key > | uniqueKeys () const | 
| QMap< Key, QString > & | unite (const QMap< Key, QString > &other) | 
| const_iterator | upperBound (const Key &key) const | 
| iterator | upperBound (const Key &key) | 
| const QString | value (const Key &key, const QString &defaultValue) const | 
| const QString | value (const Key &key) const | 
| QList< QString > | values () const | 
| QList< QString > | values (const Key &key) const | 
Additional Inherited Members | |
  Public Attributes inherited from QMap< QString, QString > | |
| typedef | ConstIterator | 
| typedef | difference_type | 
| typedef | Iterator | 
| typedef | key_type | 
| typedef | mapped_type | 
| typedef | size_type | 
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference
 Public Member Functions inherited from