KDECore
kmacroexpander.cpp
Go to the documentation of this file.
156 KMacroMapExpander<QChar,VT>::expandEscapedMacro( const QString &str, int pos, QStringList &ret )
191 KMacroMapExpander<QString,VT>::expandPlainMacro( const QString &str, int pos, QStringList &ret )
211 KMacroMapExpander<QString,VT>::expandEscapedMacro( const QString &str, int pos, QStringList &ret )
346 QString expandMacrosShellQuote( const QString &ostr, const QHash<QString,QString> &map, QChar c )
350 QString expandMacrosShellQuote( const QString &ostr, const QHash<QChar,QStringList> &map, QChar c )
354 QString expandMacrosShellQuote( const QString &ostr, const QHash<QString,QStringList> &map, QChar c )
void expandMacros(QString &str)
Perform safe macro expansion (substitution) on a string.
Definition: kmacroexpander.cpp:50
Abstract base class for the worker classes behind the KMacroExpander namespace and the KCharMacroExpa...
Definition: kmacroexpander.h:41
virtual bool expandMacro(QChar chr, QStringList &ret)=0
Return substitution list ret for single-character macro chr.
static QStringList & operator+=(QStringList &s, const QString &n)
Definition: kmacroexpander.cpp:112
bool expandMacrosShellQuote(QString &str, int &pos)
Perform safe macro expansion (substitution) on a string for use in shell commands.
Definition: kmacroexpander_unix.cpp:48
virtual int expandEscapedMacro(const QString &str, int pos, QStringList &ret)
Definition: kmacroexpander.cpp:255
Definition: ksycocafactory.h:28
virtual int expandEscapedMacro(const QString &str, int pos, QStringList &ret)
This function is called every time the escape char is found if it is not QChar::null.
Definition: kmacroexpander.cpp:91
Definition: kmacroexpander_p.h:27
virtual int expandEscapedMacro(const QString &str, int pos, QStringList &ret)
Definition: kmacroexpander.cpp:285
virtual int expandPlainMacro(const QString &str, int pos, QStringList &ret)
This function is called for every single char within the string if the escape char is QChar::null...
Definition: kmacroexpander.cpp:88
virtual int expandPlainMacro(const QString &str, int pos, QStringList &ret)
Definition: kmacroexpander.cpp:247
virtual bool expandMacro(const QString &str, QStringList &ret)=0
Return substitution list ret for string macro str.
QString TexpandMacros(const QString &ostr, const QHash< KT, VT > &map, QChar c)
Definition: kmacroexpander.cpp:318
QString expandMacros(const QString &ostr, const QHash< QChar, QString > &map, QChar c)
Perform safe macro expansion (substitution) on a string.
Definition: kmacroexpander.cpp:340
virtual int expandPlainMacro(const QString &str, int pos, QStringList &ret)
Definition: kmacroexpander.cpp:270
QString expandMacrosShellQuote(const QString &ostr, const QHash< QChar, QString > &map, QChar c)
Perform safe macro expansion (substitution) on a string for use in shell commands.
Definition: kmacroexpander.cpp:342
QString TexpandMacrosShellQuote(const QString &ostr, const QHash< KT, VT > &map, QChar c)
Definition: kmacroexpander.cpp:328
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.