Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
CategoryParser Class Reference
+ Collaboration diagram for CategoryParser:

Public Member Functions

 CategoryParser ()
 
bool parse (const QString &fileName)
 
QPlaceCategoryTree tree () const
 
QHash< QString, QUrlrestIdToIconHash () const
 
QString errorString () const
 

Detailed Description

Definition at line 69 of file qplacemanagerengine_nokiav2.cpp.

Constructor & Destructor Documentation

◆ CategoryParser()

CategoryParser::CategoryParser ( )

Definition at line 91 of file qplacemanagerengine_nokiav2.cpp.

Member Function Documentation

◆ errorString()

QString CategoryParser::errorString ( ) const

◆ parse()

bool CategoryParser::parse ( const QString & fileName)

Definition at line 95 of file qplacemanagerengine_nokiav2.cpp.

References QString::clear(), QMap< Key, T >::clear(), QJsonObject::contains(), fileName, QJsonDocument::fromJson(), QString::fromLatin1(), QStringLiteral, QIODeviceBase::ReadOnly, QJsonValue::toObject(), and QJsonObject::value().

Referenced by QPlaceManagerEngineNokiaV2::initializeCategories().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ restIdToIconHash()

QHash< QString, QUrl > CategoryParser::restIdToIconHash ( ) const
inline

Definition at line 76 of file qplacemanagerengine_nokiav2.cpp.

◆ tree()

QPlaceCategoryTree CategoryParser::tree ( ) const
inline

Definition at line 75 of file qplacemanagerengine_nokiav2.cpp.

Referenced by QPlaceManagerEngineNokiaV2::initializeCategories().

+ Here is the caller graph for this function:

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