MacroExpander Class
(Utils::MacroExpander)Public Types
| typedef | IntFunction |
| typedef | PrefixFunction |
| typedef | ResolverFunction |
| typedef | StringFunction |
Public Functions
| MacroExpander() | |
| ~MacroExpander() | |
| QString | displayName() const |
| QString | expand(const QString &stringWithVariables) const |
| QByteArray | expand(const QByteArray &stringWithVariables) const |
| QString | expandProcessArgs(const QString &argsWithVariables) const |
| bool | isAccumulating() const |
| bool | isPrefixVariable(const QByteArray &variable) const |
| void | registerExtraResolver(const Utils::MacroExpander::ResolverFunction &value) |
| void | registerFileVariables(const QByteArray &prefix, const QString &heading, const Utils::MacroExpander::StringFunction &value, bool visibleInChooser = true) |
| void | registerIntVariable(const QByteArray &variable, const QString &description, const Utils::MacroExpander::IntFunction &value) |
| void | registerPrefix(const QByteArray &prefix, const QString &description, const Utils::MacroExpander::PrefixFunction &value) |
| void | registerSubProvider(const Utils::MacroExpanderProvider &provider) |
| void | registerVariable(const QByteArray &variable, const QString &description, const Utils::MacroExpander::StringFunction &value, bool visibleInChooser = true) |
| bool | resolveMacro(const QString &name, QString *ret) const |
| void | setAccumulating(bool on) |
| void | setDisplayName(const QString &displayName) |
| Utils::MacroExpanderProviders | subProviders() const |
| QString | value(const QByteArray &variable, bool *found = nullptr) const |
| QString | variableDescription(const QByteArray &variable) const |
| QList<QByteArray> | visibleVariables() const |
Member Type Documentation
typedef MacroExpander::IntFunction
typedef MacroExpander::PrefixFunction
typedef MacroExpander::ResolverFunction
typedef MacroExpander::StringFunction
Member Function Documentation
MacroExpander::MacroExpander()
Default constructs an instance of MacroExpander.
MacroExpander::~MacroExpander()
Destroys the instance of MacroExpander.
QString MacroExpander::displayName() const
See also setDisplayName().
QString MacroExpander::expand(const QString &stringWithVariables) const
QByteArray MacroExpander::expand(const QByteArray &stringWithVariables) const
QString MacroExpander::expandProcessArgs(const QString &argsWithVariables) const
bool MacroExpander::isAccumulating() const
bool MacroExpander::isPrefixVariable(const QByteArray &variable) const
void MacroExpander::registerExtraResolver(const Utils::MacroExpander::ResolverFunction &value)
void MacroExpander::registerFileVariables(const QByteArray &prefix, const QString &heading, const Utils::MacroExpander::StringFunction &value, bool visibleInChooser = true)
void MacroExpander::registerIntVariable(const QByteArray &variable, const QString &description, const Utils::MacroExpander::IntFunction &value)
void MacroExpander::registerPrefix(const QByteArray &prefix, const QString &description, const Utils::MacroExpander::PrefixFunction &value)
void MacroExpander::registerSubProvider(const Utils::MacroExpanderProvider &provider)
void MacroExpander::registerVariable(const QByteArray &variable, const QString &description, const Utils::MacroExpander::StringFunction &value, bool visibleInChooser = true)
bool MacroExpander::resolveMacro(const QString &name, QString *ret) const
void MacroExpander::setAccumulating(bool on)
See also isAccumulating().
void MacroExpander::setDisplayName(const QString &displayName)
See also displayName().