aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/templatelayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/templatelayout.h')
-rw-r--r--desktop-widgets/templatelayout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/templatelayout.h b/desktop-widgets/templatelayout.h
index 0ed1951b4..2f2c728d6 100644
--- a/desktop-widgets/templatelayout.h
+++ b/desktop-widgets/templatelayout.h
@@ -51,9 +51,9 @@ private:
const print_options &printOptions;
const template_options &templateOptions;
QList<token> lexer(QString input);
- void parser(QList<token> tokenList, int &pos, QTextStream &out, State &state);
+ void parser(QList<token> tokenList, int from, int to, QTextStream &out, State &state);
template<typename V, typename T>
- void parser_for(QList<token> tokenList, int &pos, QTextStream &out, State &state, const V &data, const T *&act);
+ void parser_for(QList<token> tokenList, int from, int to, QTextStream &out, State &state, const V &data, const T *&act);
QVariant getValue(QString list, QString property, const State &state);
QString translate(QString s, State &state);