class KCharMacroExpanderabstract class |
|
|
Abstract base class for single char macro substitutors. Use this instead of the functions in the KMacroExpander namespace if speculatively pre-filling the substitution map would be too expensive. See KWordMacroExpander for a sample application.
Author Oswald Buddenhagen |
|
Constructor. c - escape char indicating start of macros, or QChar.null for none |
|
|
Return substitution list ret for single-character macro chr. chr - the macro to expand ret - return variable reference. It is guaranteed to be empty when expandMacro is entered. Returns true iff chr was a recognized macro name |
|