diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-24 09:26:25 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-28 11:37:23 +0300 |
commit | f76ebe3b9d2e7e4dcd2de3b3bab6994bfa254c44 (patch) | |
tree | ae8dba2d5af225ccc5df6216cdca358892375272 /templatelayout.h | |
parent | 0b085f79b12ee2ca60278c324e419f47f47ae100 (diff) | |
download | subsurface-f76ebe3b9d2e7e4dcd2de3b3bab6994bfa254c44.tar.gz |
Printing: search for grantlee templates in the templates directory
We need to dynamically look up for all the existing templates in the
template directory. A grantlee template can be named any name but we
ignore files ending with '~'.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'templatelayout.h')
-rw-r--r-- | templatelayout.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templatelayout.h b/templatelayout.h index e37e9e868..5f4678923 100644 --- a/templatelayout.h +++ b/templatelayout.h @@ -6,6 +6,9 @@ #include "printoptions.h" int getTotalWork(print_options *printOptions); +void find_all_templates(); + +extern QList<QString> grantlee_templates; class TemplateLayout : public QObject { Q_OBJECT |