LatexConfigCache Class Reference
#include <latexhelpers.h>

Public Member Functions | |
| LatexConfigCache () | |
| LatexConfigParser * | parser (QString filename, bool warnOnError=false) |
| bool | hasError (QString filename) |
Static Public Member Functions | |
| static LatexConfigCache * | instance () |
| static QStringList | defaultConfigs () |
Protected Member Functions | |
| void | createParser (QString filename, bool warnOnError) |
Private Attributes | |
| QMap< QString, LatexConfigParser * > | parsers |
| QMap< QString, bool > | error |
Static Private Attributes | |
| static LatexConfigCache * | _instance = 0 |
Detailed Description
Definition at line 107 of file latexhelpers.h.
Constructor & Destructor Documentation
| LatexConfigCache::LatexConfigCache | ( | ) | [inline] |
Member Function Documentation
| LatexConfigCache * LatexConfigCache::instance | ( | ) | [static] |
Definition at line 403 of file latexhelpers.cpp.
References _instance, and LatexConfigCache().
Referenced by TabExternalToolsWidget::insertConfigItem(), LatexEditor::LatexEditor(), and PageItem_LatexFrame::setConfigFile().
| QStringList LatexConfigCache::defaultConfigs | ( | ) | [static] |
Definition at line 449 of file latexhelpers.cpp.
References ScPaths::instance(), and ScPaths::shareDir().
Referenced by PrefsManager::initDefaults(), and PrefsManager::ReadPref().
| LatexConfigParser * LatexConfigCache::parser | ( | QString | filename, | |
| bool | warnOnError = false | |||
| ) |
Definition at line 411 of file latexhelpers.cpp.
References createParser(), error, and parsers.
Referenced by createParser(), LatexEditor::LatexEditor(), and PageItem_LatexFrame::setConfigFile().
| bool LatexConfigCache::hasError | ( | QString | filename | ) |
| void LatexConfigCache::createParser | ( | QString | filename, | |
| bool | warnOnError | |||
| ) | [protected] |
Definition at line 425 of file latexhelpers.cpp.
References LatexConfigParser::error(), error, hasError(), LatexConfigParser::parseConfigFile(), parser(), parsers, and tr().
Referenced by parser().
Member Data Documentation
QMap<QString, LatexConfigParser*> LatexConfigCache::parsers [private] |
QMap<QString, bool> LatexConfigCache::error [private] |
Definition at line 118 of file latexhelpers.h.
Referenced by createParser(), hasError(), and parser().
LatexConfigCache * LatexConfigCache::_instance = 0 [static, private] |
The documentation for this class was generated from the following files:
