IconBuffer Class Reference
#include <latexeditor.h>
Public Member Functions | |
| IconBuffer () | |
| void | loadFile (QString filename) |
| QIcon * | icon (QString filename, QString name) |
Static Public Member Functions | |
| static IconBuffer * | instance () |
Protected Member Functions | |
| QString | readHeader () |
| QIcon | readData () |
Protected Attributes | |
| QFile * | file |
| QMap< QString, QIcon > | icons |
| QStringList | loadedFiles |
| int | len |
| int | basePos |
Static Protected Attributes | |
| static IconBuffer * | _instance = 0 |
Detailed Description
Definition at line 135 of file latexeditor.h.
Constructor & Destructor Documentation
| IconBuffer::IconBuffer | ( | ) | [inline] |
Member Function Documentation
| IconBuffer * IconBuffer::instance | ( | ) | [static] |
Definition at line 724 of file latexeditor.cpp.
References _instance, and IconBuffer().
Referenced by LatexEditor::createNewItemsTab(), and LatexEditor::icon().
| void IconBuffer::loadFile | ( | QString | filename | ) |
Definition at line 664 of file latexeditor.cpp.
References basePos, file, icons, len, loadedFiles, readData(), and readHeader().
Referenced by icon().
| QIcon * IconBuffer::icon | ( | QString | filename, | |
| QString | name | |||
| ) |
Definition at line 683 of file latexeditor.cpp.
References icons, and loadFile().
Referenced by LatexEditor::createNewItemsTab(), and LatexEditor::icon().
| QString IconBuffer::readHeader | ( | ) | [protected] |
Definition at line 695 of file latexeditor.cpp.
References basePos, file, and len.
Referenced by loadFile().
| QIcon IconBuffer::readData | ( | ) | [protected] |
Definition at line 713 of file latexeditor.cpp.
References basePos, data, file, and len.
Referenced by loadFile().
Member Data Documentation
QFile* IconBuffer::file [protected] |
Definition at line 143 of file latexeditor.h.
Referenced by loadFile(), readData(), and readHeader().
QMap<QString, QIcon> IconBuffer::icons [protected] |
QStringList IconBuffer::loadedFiles [protected] |
int IconBuffer::len [protected] |
Definition at line 148 of file latexeditor.h.
Referenced by loadFile(), readData(), and readHeader().
int IconBuffer::basePos [protected] |
Definition at line 148 of file latexeditor.h.
Referenced by loadFile(), readData(), and readHeader().
IconBuffer * IconBuffer::_instance = 0 [static, protected] |
The documentation for this class was generated from the following files:
