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
QtModuleInfoStore Class Reference

#include <qtmoduleinfo.h>

+ Collaboration diagram for QtModuleInfoStore:

Public Member Functions

 QtModuleInfoStore ()=default
 
bool populate (const QString &modulesDir, const QString &translationsDir, bool verbose, QString *errorString)
 
size_t size () const
 
std::vector< QtModule >::const_iterator begin () const
 
std::vector< QtModule >::const_iterator end () const
 
const QtModulemoduleById (size_t id) const
 
size_t moduleIdForPluginType (const QString &pluginType) const
 

Detailed Description

Definition at line 32 of file qtmoduleinfo.h.

Constructor & Destructor Documentation

◆ QtModuleInfoStore()

QtModuleInfoStore::QtModuleInfoStore ( )
default

Member Function Documentation

◆ begin()

std::vector< QtModule >::const_iterator QtModuleInfoStore::begin ( ) const
inline

Definition at line 41 of file qtmoduleinfo.h.

◆ end()

std::vector< QtModule >::const_iterator QtModuleInfoStore::end ( ) const
inline

Definition at line 42 of file qtmoduleinfo.h.

◆ moduleById()

const QtModule & QtModuleInfoStore::moduleById ( size_t id) const

Definition at line 167 of file qtmoduleinfo.cpp.

◆ moduleIdForPluginType()

size_t QtModuleInfoStore::moduleIdForPluginType ( const QString & pluginType) const

Definition at line 172 of file qtmoduleinfo.cpp.

References QtModule::InvalidId, and it.

◆ populate()

bool QtModuleInfoStore::populate ( const QString & modulesDir,
const QString & translationsDir,
bool verbose,
QString * errorString )

Definition at line 115 of file qtmoduleinfo.cpp.

References QString::chop(), dump(), QSet< T >::end(), QDir::Files, QSet< T >::find(), QtModule::InvalidId, it, QtModule::name, QStringLiteral, and readTranslationsCatalogs().

+ Here is the call graph for this function:

◆ size()

size_t QtModuleInfoStore::size ( ) const
inline

Definition at line 40 of file qtmoduleinfo.h.


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