TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Public Attributes | List of all members
QJson::ParserPrivate Class Reference

Main class used to convert JSON data to QVariant objects private. More...

#include <parser_p.h>

+ Inheritance diagram for QJson::ParserPrivate:

Public Member Functions

 ParserPrivate ()
 
 ~ParserPrivate ()
 
void reset ()
 
void setError (const QString &errorMsg, int line)
 
- Public Member Functions inherited from TTKPrivate< Parser >
 TTKPrivate ()
 
virtual ~TTKPrivate ()=default
 
void setPublic (Parser *pub)
 

Public Attributes

JSonScannerm_scanner
 
bool m_error
 
int m_errorLine
 
QString m_errorMsg
 
QVariant m_result
 
bool m_specialNumbersAllowed
 

Additional Inherited Members

- Protected Member Functions inherited from TTKPrivate< Parser >
Parser * ttk_q () const
 

Detailed Description

Main class used to convert JSON data to QVariant objects private.

Definition at line 41 of file parser_p.h.

Constructor & Destructor Documentation

ParserPrivate::ParserPrivate ( )

Definition at line 33 of file parser.cpp.

References reset().

ParserPrivate::~ParserPrivate ( )

Definition at line 40 of file parser.cpp.

References m_scanner.

Member Function Documentation

void ParserPrivate::reset ( )

Definition at line 53 of file parser.cpp.

References m_error, m_errorLine, m_errorMsg, and m_scanner.

Referenced by ParserPrivate().

void ParserPrivate::setError ( const QString &  errorMsg,
int  line 
)

Definition at line 46 of file parser.cpp.

References m_error, m_errorLine, and m_errorMsg.

Member Data Documentation

bool QJson::ParserPrivate::m_error

Definition at line 52 of file parser_p.h.

Referenced by reset(), and setError().

int QJson::ParserPrivate::m_errorLine

Definition at line 53 of file parser_p.h.

Referenced by reset(), and setError().

QString QJson::ParserPrivate::m_errorMsg

Definition at line 54 of file parser_p.h.

Referenced by reset(), and setError().

QVariant QJson::ParserPrivate::m_result

Definition at line 55 of file parser_p.h.

JSonScanner* QJson::ParserPrivate::m_scanner

Definition at line 51 of file parser_p.h.

Referenced by reset(), and ~ParserPrivate().

bool QJson::ParserPrivate::m_specialNumbersAllowed

Definition at line 56 of file parser_p.h.


The documentation for this class was generated from the following files: