diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 18:44:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-07-07 23:44:40 +0900 |
commit | aaaf378033f889408155a902349c676429b85254 (patch) | |
tree | 2adaae48af3e2f3a5f7be528880efcf06c9f1202 /tdeprint/fooparser.y | |
parent | bf683427937ea0cfd90749b833456377de6ffa10 (diff) | |
download | tdelibs-aaaf378033f889408155a902349c676429b85254.tar.gz tdelibs-aaaf378033f889408155a902349c676429b85254.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/fooparser.y')
-rw-r--r-- | tdeprint/fooparser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/fooparser.y b/tdeprint/fooparser.y index 20626ce59..a9bb56e89 100644 --- a/tdeprint/fooparser.y +++ b/tdeprint/fooparser.y @@ -48,7 +48,7 @@ foodata: VAR '=' '{' fieldlist '}' ';' { static_cast<Foomatic2Loader*>(fooloa ; fieldlist: assignment { $$ = $1; } - | fieldlist ',' assignment { TQMap<TQString,TQVariant>::ConstIterator it = $3.mapBegin(); $1.asMap().insert(it.key(), it.data()); $$ = $1; } + | fieldlist ',' assignment { TQStringVariantMap::ConstIterator it = $3.mapBegin(); $1.asMap().insert(it.key(), it.data()); $$ = $1; } ; assignment: STRING '=' '>' value { $$.asMap().insert($1.toString(), $4); } |