diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-26 17:51:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-29 13:03:31 -0700 |
commit | af00361929c00febea42d067785ea1a76c493e7b (patch) | |
tree | 785d1dab7514db82164c7be375ba69ecf0bd4992 /desktop-widgets/templatelayout.h | |
parent | 449dec82694aa1bc7fd1de56792ec7a0cf865bd0 (diff) | |
download | subsurface-af00361929c00febea42d067785ea1a76c493e7b.tar.gz |
Cleanup: rename variable PrintOptions to printOptions
We're quite inconsistent when it comes to variable naming.
The general usage is camelCase for Qt parts and snake_case
for core code. Virtually nowhere do we start variable names
with a capital letter. Therefore, turn this one weird case
into camelCase.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/templatelayout.h')
-rw-r--r-- | desktop-widgets/templatelayout.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/templatelayout.h b/desktop-widgets/templatelayout.h index da3dc177c..5fab95f44 100644 --- a/desktop-widgets/templatelayout.h +++ b/desktop-widgets/templatelayout.h @@ -20,14 +20,14 @@ extern QList<QString> grantlee_templates, grantlee_statistics_templates; class TemplateLayout : public QObject { Q_OBJECT public: - TemplateLayout(print_options *PrintOptions, template_options *templateOptions); + TemplateLayout(print_options *printOptions, template_options *templateOptions); QString generate(); QString generateStatistics(); static QString readTemplate(QString template_name); static void writeTemplate(QString template_name, QString grantlee_template); private: - print_options *PrintOptions; + print_options *printOptions; template_options *templateOptions; signals: |