![]() |
Qt 4.8
|
#include <qdirectfbconvenience.h>
Public Functions | |
| QDirectFbKeyMap () | |
Public Functions inherited from QHash< DFBInputDeviceKeySymbol, Qt::Key > | |
| iterator | begin () |
| Returns an STL-style iterator pointing to the first item in the hash. More... | |
| const_iterator | begin () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| int | capacity () const |
| Returns the number of buckets in the QHash's internal hash table. More... | |
| void | clear () |
| Removes all items from the hash. More... | |
| const_iterator | constBegin () const |
| Returns a const STL-style iterator pointing to the first item in the hash. More... | |
| const_iterator | constEnd () const |
| Returns a const STL-style iterator pointing to the imaginary item after the last item in the hash. More... | |
| const_iterator | constFind (const DFBInputDeviceKeySymbol &key) const |
| Returns an iterator pointing to the item with the key in the hash. More... | |
| bool | contains (const DFBInputDeviceKeySymbol &key) const |
| Returns true if the hash contains an item with the key; otherwise returns false. More... | |
| int | count (const DFBInputDeviceKeySymbol &key) const |
| Returns the number of items associated with the key. More... | |
| int | count () const |
| Same as size(). More... | |
| void | detach () |
| Detaches this hash from any other hashes with which it may share data. More... | |
| bool | empty () const |
| This function is provided for STL compatibility. More... | |
| iterator | end () |
| Returns an STL-style iterator pointing to the imaginary item after the last item in the hash. More... | |
| const_iterator | end () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| iterator | erase (iterator it) |
| Removes the (key, value) pair associated with the iterator pos from the hash, and returns an iterator to the next item in the hash. More... | |
| iterator | find (const DFBInputDeviceKeySymbol &key) |
| Returns an iterator pointing to the item with the key in the hash. More... | |
| const_iterator | find (const DFBInputDeviceKeySymbol &key) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| iterator | insert (const DFBInputDeviceKeySymbol &key, const Qt::Key &value) |
| Inserts a new item with the key and a value of value. More... | |
| iterator | insertMulti (const DFBInputDeviceKeySymbol &key, const Qt::Key &value) |
| Inserts a new item with the key and a value of value. More... | |
| bool | isDetached () const |
| Returns true if the hash's internal data isn't shared with any other hash object; otherwise returns false. More... | |
| bool | isEmpty () const |
| Returns true if the hash contains no items; otherwise returns false. More... | |
| bool | isSharedWith (const QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) const |
| const DFBInputDeviceKeySymbol | key (const Qt::Key &value) const |
| Returns the first key mapped to value. More... | |
| const DFBInputDeviceKeySymbol | key (const Qt::Key &value, const DFBInputDeviceKeySymbol &defaultKey) const |
| Returns the first key mapped to value, or defaultKey if the hash contains no item mapped to value. More... | |
| QList< DFBInputDeviceKeySymbol > | keys () const |
| Returns a list containing all the keys in the hash, in an arbitrary order. More... | |
| QList< DFBInputDeviceKeySymbol > | keys (const Qt::Key &value) const |
| Returns a list containing all the keys associated with value value, in an arbitrary order. More... | |
| bool | operator!= (const QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) const |
| Returns true if other is not equal to this hash; otherwise returns false. More... | |
| QHash< DFBInputDeviceKeySymbol, Qt::Key > & | operator= (const QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) |
| Assigns other to this hash and returns a reference to this hash. More... | |
| bool | operator== (const QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) const |
| Returns true if other is equal to this hash; otherwise returns false. More... | |
| Qt::Key & | operator[] (const DFBInputDeviceKeySymbol &key) |
| Returns the value associated with the key as a modifiable reference. More... | |
| const Qt::Key | operator[] (const DFBInputDeviceKeySymbol &key) const |
| Same as value(). More... | |
| QHash () | |
| Constructs an empty hash. More... | |
| QHash (const QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) | |
| Constructs a copy of other. More... | |
| int | remove (const DFBInputDeviceKeySymbol &key) |
| Removes all the items that have the key from the hash. More... | |
| void | reserve (int size) |
| Ensures that the QHash's internal hash table consists of at least size buckets. More... | |
| void | setSharable (bool sharable) |
| int | size () const |
| Returns the number of items in the hash. More... | |
| void | squeeze () |
| Reduces the size of the QHash's internal hash table to save memory. More... | |
| void | swap (QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) |
| Swaps hash other with this hash. More... | |
| Qt::Key | take (const DFBInputDeviceKeySymbol &key) |
| Removes the item with the key from the hash and returns the value associated with it. More... | |
| QList< DFBInputDeviceKeySymbol > | uniqueKeys () const |
| Returns a list containing all the keys in the map. More... | |
| QHash< DFBInputDeviceKeySymbol, Qt::Key > & | unite (const QHash< DFBInputDeviceKeySymbol, Qt::Key > &other) |
| Inserts all the items in the other hash into this hash. More... | |
| const Qt::Key | value (const DFBInputDeviceKeySymbol &key) const |
| Returns the value associated with the key. More... | |
| const Qt::Key | value (const DFBInputDeviceKeySymbol &key, const Qt::Key &defaultValue) const |
| If the hash contains no item with the given key, the function returns defaultValue. More... | |
| QList< Qt::Key > | values () const |
| Returns a list containing all the values in the hash, in an arbitrary order. More... | |
| QList< Qt::Key > | values (const DFBInputDeviceKeySymbol &key) const |
| Returns a list of all the values associated with the key, from the most recently inserted to the least recently inserted. More... | |
| ~QHash () | |
| Destroys the hash. More... | |
Additional Inherited Members | |
Public Types inherited from QHash< DFBInputDeviceKeySymbol, Qt::Key > | |
| typedef const_iterator | ConstIterator |
| Qt-style synonym for QHash::const_iterator. More... | |
| typedef qptrdiff | difference_type |
| Typedef for ptrdiff_t. More... | |
| typedef iterator | Iterator |
| Qt-style synonym for QHash::iterator. More... | |
| typedef DFBInputDeviceKeySymbol | key_type |
| Typedef for Key. More... | |
| typedef Qt::Key | mapped_type |
| Typedef for T. More... | |
| typedef int | size_type |
| Typedef for int. More... | |
Public Variables inherited from QHash< DFBInputDeviceKeySymbol, Qt::Key > | |
| QHashData * | d |
| QHashNode< DFBInputDeviceKeySymbol, Qt::Key > * | e |
Related Functions inherited from QHash< DFBInputDeviceKeySymbol, Qt::Key > | |
| QDataStream & | operator<< (QDataStream &out, const QHash< DFBInputDeviceKeySymbol, Qt::Key > &hash) |
| Writes the hash hash to stream out. More... | |
| QDataStream & | operator>> (QDataStream &in, QHash< DFBInputDeviceKeySymbol, Qt::Key > &hash) |
| Reads a hash from stream in into hash. More... | |
| uint | qHash (const QPair< T1, T2 > &key) |
| Returns the hash value for the key. More... | |
| uint | qHash (char key) |
| Returns the hash value for the key. More... | |
| uint | qHash (uchar key) |
| Returns the hash value for the key. More... | |
| uint | qHash (signed char key) |
| Returns the hash value for the key. More... | |
| uint | qHash (ushort key) |
| Returns the hash value for the key. More... | |
| uint | qHash (short key) |
| Returns the hash value for the key. More... | |
| uint | qHash (uint key) |
| Returns the hash value for the key. More... | |
| uint | qHash (int key) |
| Returns the hash value for the key. More... | |
| uint | qHash (ulong key) |
| Returns the hash value for the key. More... | |
| uint | qHash (long key) |
| Returns the hash value for the key. More... | |
| uint | qHash (quint64 key) |
| Returns the hash value for the key. More... | |
| uint | qHash (qint64 key) |
| Returns the hash value for the key. More... | |
| uint | qHash (QChar key) |
| Returns the hash value for the key. More... | |
| uint | qHash (const QBitArray &key) |
| uint | qHash (const QString &key) |
| Returns the hash value for the key. More... | |
| uint | qHash (const Qt::Key *key) |
| uint | qHash (const QXmlNodeModelIndex &index) |
| Computes a hash key from the QXmlNodeModelIndex index, and returns it. More... | |
Definition at line 57 of file qdirectfbconvenience.h.
| QDirectFbKeyMap::QDirectFbKeyMap | ( | ) |
Definition at line 208 of file qdirectfbconvenience.cpp.