Debian Codegraph @

templates/i18n/l10n_filesize.h

raw symbols SCIP
1 /*
2 * This file is part of the Grantlee template system.
3 *
4 * Copyright (c) 2020 Matthias Fehring <[email protected]>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef L10N_FILESIZE_H
21 #define L10N_FILESIZE_Hcxx . . $ `templates/i18n/l10n_filesize.h:21:9`!
22
23 #include "node.h"cxx . . $ `<file>/templates/lib/node.h`/
24
25 namespace Grantleecxx . . $ Grantlee/
26 {
27 class Parsercxx . . $ Grantlee/Parser#;
28 }
29
30 using namespace Grantlee;
31
32 class L10nFileSizeNodeFactorycxx . . $ L10nFileSizeNodeFactory# : public AbstractNodeFactorycxx . . $ Grantlee/AbstractNodeFactory#
33 {
34 Q_OBJECTcxx . . $ L10nFileSizeNodeFactory#trUtf8(75d9f1c324b4579d).
35 public:
36 L10nFileSizeNodeFactorycxx . . $ L10nFileSizeNodeFactory#L10nFileSizeNodeFactory(49f6e7a06ebc5aa8).();
37
38 Nodecxx . . $ Grantlee/Node# *getNodecxx . . $ L10nFileSizeNodeFactory#getNode(2656580aadcb6315).(const QStringcxx . . $ QString# &tagContent, Parsercxx . . $ Grantlee/Parser# *p) const override;
39 };
40
41 class L10nFileSizeVarNodeFactorycxx . . $ L10nFileSizeVarNodeFactory# : public AbstractNodeFactorycxx . . $ Grantlee/AbstractNodeFactory#
42 {
43 Q_OBJECTcxx . . $ L10nFileSizeVarNodeFactory#staticMetaObject.
44 public:
45 L10nFileSizeVarNodeFactorycxx . . $ L10nFileSizeVarNodeFactory#L10nFileSizeVarNodeFactory(49f6e7a06ebc5aa8).();
46
47 Nodecxx . . $ Grantlee/Node# *getNodecxx . . $ L10nFileSizeVarNodeFactory#getNode(2656580aadcb6315).(const QStringcxx . . $ QString# &tagContent, Parsercxx . . $ Grantlee/Parser# *p) const override;
48 };
49
50 class L10nFileSizeNodecxx . . $ L10nFileSizeNode# : public Nodecxx . . $ Grantlee/Node#
51 {
52 Q_OBJECTcxx . . $ L10nFileSizeNode#tr(75d9f1c324b4579d).
53 public:
54 L10nFileSizeNodecxx . . $ L10nFileSizeNode#L10nFileSizeNode(a50155ef0274f601).(const FilterExpressioncxx . . $ Grantlee/FilterExpression# &size,
55 const FilterExpressioncxx . . $ Grantlee/FilterExpression# &unitSystem,
56 const FilterExpressioncxx . . $ Grantlee/FilterExpression# &precision,
57 const FilterExpressioncxx . . $ Grantlee/FilterExpression# &multiplier,
58 QObjectcxx . . $ QObject# *parent = nullptr);
59
60 void rendercxx . . $ L10nFileSizeNode#render(9be41cabfa33b722).(OutputStreamcxx . . $ Grantlee/OutputStream# *stream, Contextcxx . . $ Grantlee/Context# *c) const override;
61
62 private:
63 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_sizecxx . . $ L10nFileSizeNode#m_size.;
64 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_unitSystemcxx . . $ L10nFileSizeNode#m_unitSystem.;
65 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_precisioncxx . . $ L10nFileSizeNode#m_precision.;
66 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_multipliercxx . . $ L10nFileSizeNode#m_multiplier.;
67 };
68
69 class L10nFileSizeVarNodecxx . . $ L10nFileSizeVarNode# : public Nodecxx . . $ Grantlee/Node#
70 {
71 Q_OBJECTcxx . . $ L10nFileSizeVarNode#QPrivateSignal#
72 public:
73 L10nFileSizeVarNodecxx . . $ L10nFileSizeVarNode#L10nFileSizeVarNode(127d0aba3632cace).(const FilterExpressioncxx . . $ Grantlee/FilterExpression# &size,
74 const FilterExpressioncxx . . $ Grantlee/FilterExpression# &unitSystem,
75 const FilterExpressioncxx . . $ Grantlee/FilterExpression# &precision,
76 const FilterExpressioncxx . . $ Grantlee/FilterExpression# &multiplier,
77 const QStringcxx . . $ QString# &resultName, QObjectcxx . . $ QObject# *parent = nullptr);
78
79 void rendercxx . . $ L10nFileSizeVarNode#render(9be41cabfa33b722).(OutputStreamcxx . . $ Grantlee/OutputStream# *stream, Contextcxx . . $ Grantlee/Context# *c) const override;
80
81 private:
82 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_sizecxx . . $ L10nFileSizeVarNode#m_size.;
83 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_unitSystemcxx . . $ L10nFileSizeVarNode#m_unitSystem.;
84 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_precisioncxx . . $ L10nFileSizeVarNode#m_precision.;
85 FilterExpressioncxx . . $ Grantlee/FilterExpression# m_multipliercxx . . $ L10nFileSizeVarNode#m_multiplier.;
86 QStringcxx . . $ QString# m_resultNamecxx . . $ L10nFileSizeVarNode#m_resultName.;
87 };
88
89 #endif