TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the ttk xml hepler. More...
#include <ttkabstractxml.h>
Public Member Functions | |
TTKXmlHelper (const QDomNode &root) | |
void | load () |
bool | hasNext () |
QDomNode | next () const |
QString | nodeName (const QString &name) const |
Private Attributes | |
QDomNode | m_root |
QDomNode | m_current |
QSet< QString > | m_nodeNames |
The class of the ttk xml hepler.
Definition at line 69 of file ttkabstractxml.h.
|
explicit |
Object constructor.
Definition at line 5 of file ttkabstractxml.cpp.
bool TTKXmlHelper::hasNext | ( | ) |
Check xml has next node.
Definition at line 23 of file ttkabstractxml.cpp.
References m_current, and m_root.
Referenced by load().
void TTKXmlHelper::load | ( | ) |
Load xml helper.
Definition at line 12 of file ttkabstractxml.cpp.
References hasNext(), m_current, and m_nodeNames.
Referenced by MusicASXConfigManager::readBuffer(), MusicXSPFConfigManager::readBuffer(), and MusicWPLConfigManager::readBuffer().
QDomNode TTKXmlHelper::next | ( | ) | const |
QString TTKXmlHelper::nodeName | ( | const QString & | name | ) | const |
Get match node name case insensitive.
Definition at line 67 of file ttkabstractxml.cpp.
References m_nodeNames, name, and qAsConst.
|
private |
Definition at line 96 of file ttkabstractxml.h.
|
private |
Definition at line 97 of file ttkabstractxml.h.
Referenced by load(), and nodeName().
|
private |
Definition at line 96 of file ttkabstractxml.h.
Referenced by hasNext().