#include <klflatexedit.h>
Classes | |
| struct | ParenSpec |
| struct | ParenModifierSpec |
Public Types | |
| enum | { IdentifyFlagOpen = 0x01 , IdentifyFlagClose = 0x02 , IdentifyFlagOpenClose = IdentifyFlagOpen|IdentifyFlagClose } |
Public Member Functions | |
| KLFLatexParenSpecs () | |
| KLFLatexParenSpecs (const QList< ParenSpec > &parens, const QList< ParenModifierSpec > &modifiers) | |
| KLFLatexParenSpecs (const KLFLatexParenSpecs &other) | |
| virtual | ~KLFLatexParenSpecs () |
| QList< ParenSpec > | parenSpecList () const |
| QList< ParenModifierSpec > | parenModifierSpecList () const |
| QStringList | openParenList () const |
| QStringList | closeParenList () const |
| QStringList | openParenModifiers () const |
| QStringList | closeParenModifiers () const |
| int | identifyParen (const QString &parenstr, uint identflags) |
| int | identifyModifier (const QString &modstr, uint identflags) |
Definition at line 129 of file klflatexedit.h.
| anonymous enum |
| Enumerator | |
|---|---|
| IdentifyFlagOpen | Identify the paren as opening only. |
| IdentifyFlagClose | Identify the paren as closing only. |
| IdentifyFlagOpenClose | Identify the paren as opening or closing. |
Definition at line 161 of file klflatexedit.h.
| KLFLatexParenSpecs::KLFLatexParenSpecs | ( | ) |
Definition at line 99 of file klflatexedit.cpp.
References KLF_INIT_PRIVATE, and KLFLatexParenSpecs().
Referenced by KLFLatexParenSpecs(), KLFLatexParenSpecs(), and KLFLatexParenSpecs().
| KLFLatexParenSpecs::KLFLatexParenSpecs | ( | const QList< ParenSpec > & | parens, |
| const QList< ParenModifierSpec > & | modifiers ) |
Definition at line 105 of file klflatexedit.cpp.
References KLF_INIT_PRIVATE, and KLFLatexParenSpecs().
| KLFLatexParenSpecs::KLFLatexParenSpecs | ( | const KLFLatexParenSpecs & | other | ) |
Definition at line 111 of file klflatexedit.cpp.
References KLF_INIT_PRIVATE, and KLFLatexParenSpecs().
|
virtual |
Definition at line 116 of file klflatexedit.cpp.
References KLF_DELETE_PRIVATE.
| QStringList KLFLatexParenSpecs::closeParenList | ( | ) | const |
Definition at line 135 of file klflatexedit.cpp.
| QStringList KLFLatexParenSpecs::closeParenModifiers | ( | ) | const |
Definition at line 143 of file klflatexedit.cpp.
| int KLFLatexParenSpecs::identifyModifier | ( | const QString & | modstr, |
| uint | identflags ) |
Returns an index in the parenModifierSpecList() of the given modstr interpreted as an opening paren modifier, a closing paren modifier, or either, depending on the identflags.
Returns -1 if not found.
Definition at line 164 of file klflatexedit.cpp.
References KLFLatexParenSpecs::ParenModifierSpec::closemod, IdentifyFlagClose, IdentifyFlagOpen, KLF_DEBUG_BLOCK, klfDbg, klfWarning, and KLFLatexParenSpecs::ParenModifierSpec::openmod.
| int KLFLatexParenSpecs::identifyParen | ( | const QString & | parenstr, |
| uint | identflags ) |
Returns an index in the parenSpecList() of the given parenstr interpreted as an opening paren, a closing paren, or either, depending on the identflags.
Returns -1 if not found.
Definition at line 148 of file klflatexedit.cpp.
References KLFLatexParenSpecs::ParenSpec::close, IdentifyFlagClose, IdentifyFlagOpen, KLF_DEBUG_BLOCK, klfDbg, klfWarning, and KLFLatexParenSpecs::ParenSpec::open.
| QStringList KLFLatexParenSpecs::openParenList | ( | ) | const |
Definition at line 131 of file klflatexedit.cpp.
| QStringList KLFLatexParenSpecs::openParenModifiers | ( | ) | const |
Definition at line 139 of file klflatexedit.cpp.
| QList< KLFLatexParenSpecs::ParenModifierSpec > KLFLatexParenSpecs::parenModifierSpecList | ( | ) | const |
Definition at line 126 of file klflatexedit.cpp.
| QList< KLFLatexParenSpecs::ParenSpec > KLFLatexParenSpecs::parenSpecList | ( | ) | const |
Definition at line 122 of file klflatexedit.cpp.