|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the super enum. More...
#include <ttksuperenum.h>
Public Member Functions | |
| TTKSuperEnum (const QString &value) | |
| QString | keyToString (int value) const noexcept |
| int | stringToKey (const QString &name) const noexcept |
Static Public Attributes | |
| static constexpr int | Null = -1 |
Private Attributes | |
| std::unordered_map< int, QString > | m_enumValue |
The class of the super enum.
Definition at line 28 of file ttksuperenum.h.
| TTKSuperEnum::TTKSuperEnum | ( | const QString & | value | ) |
Object constructor.
Definition at line 5 of file ttksuperenum.cpp.
References m_enumValue, Null, and qAsConst.
|
noexcept |
Map key string to int.
Definition at line 37 of file ttksuperenum.cpp.
|
private |
Definition at line 49 of file ttksuperenum.h.
Referenced by TTKSuperEnum().
|
static |
Definition at line 31 of file ttksuperenum.h.
Referenced by keyToString(), stringToKey(), and TTKSuperEnum().
1.8.8