| 1 | /* |
| 2 | This file is part of the Grantlee template system. |
| 3 | |
| 4 | Copyright (c) 2010 Stephen Kelly <[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 | |
| 21 | #ifndef I18NCPNODE_H |
| 22 | #define I18NCPNODE_Hcxx . . $ `templates/i18n/i18ncp.h:22:9`! |
| 23 | |
| 24 | #include "node.h"cxx . . $ `<file>/templates/lib/node.h`/ |
| 25 | |
| 26 | namespace Grantleecxx . . $ Grantlee/ |
| 27 | { |
| 28 | class Parsercxx . . $ Grantlee/Parser#; |
| 29 | } |
| 30 | |
| 31 | using namespace Grantlee; |
| 32 | |
| 33 | class I18ncpNodeFactorycxx . . $ I18ncpNodeFactory# : public AbstractNodeFactorycxx . . $ Grantlee/AbstractNodeFactory# |
| 34 | { |
| 35 | Q_OBJECTcxx . . $ I18ncpNodeFactory#tr(75d9f1c324b4579d). |
| 36 | public: |
| 37 | I18ncpNodeFactorycxx . . $ I18ncpNodeFactory#I18ncpNodeFactory(49f6e7a06ebc5aa8).(); |
| 38 | |
| 39 | Nodecxx . . $ Grantlee/Node# *getNodecxx . . $ I18ncpNodeFactory#getNode(2656580aadcb6315).(const QStringcxx . . $ QString# &tagContent, Parsercxx . . $ Grantlee/Parser# *p) const override; |
| 40 | }; |
| 41 | |
| 42 | class I18ncpVarNodeFactorycxx . . $ I18ncpVarNodeFactory# : public AbstractNodeFactorycxx . . $ Grantlee/AbstractNodeFactory# |
| 43 | { |
| 44 | Q_OBJECTcxx . . $ I18ncpVarNodeFactory#tr(75d9f1c324b4579d). |
| 45 | public: |
| 46 | I18ncpVarNodeFactorycxx . . $ I18ncpVarNodeFactory#I18ncpVarNodeFactory(49f6e7a06ebc5aa8).(); |
| 47 | |
| 48 | Nodecxx . . $ Grantlee/Node# *getNodecxx . . $ I18ncpVarNodeFactory#getNode(2656580aadcb6315).(const QStringcxx . . $ QString# &tagContent, Parsercxx . . $ Grantlee/Parser# *p) const override; |
| 49 | }; |
| 50 | |
| 51 | class I18ncpNodecxx . . $ I18ncpNode# : public Nodecxx . . $ Grantlee/Node# |
| 52 | { |
| 53 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 54 | public: |
| 55 | I18ncpNodecxx . . $ I18ncpNode#I18ncpNode(14b5beec686d362).(const QStringcxx . . $ QString# &contextText, const QStringcxx . . $ QString# &sourceText, |
| 56 | const QStringcxx . . $ QString# &pluralTex, const QListcxx . . $ QList#<FilterExpressioncxx . . $ Grantlee/FilterExpression#> &feList, |
| 57 | QObjectcxx . . $ QObject# *parent = {}); |
| 58 | void rendercxx . . $ I18ncpNode#render(9be41cabfa33b722).(OutputStreamcxx . . $ Grantlee/OutputStream# *stream, Contextcxx . . $ Grantlee/Context# *c) const override; |
| 59 | |
| 60 | private: |
| 61 | QStringcxx . . $ QString# m_contextTextcxx . . $ I18ncpNode#m_contextText.; |
| 62 | QStringcxx . . $ QString# m_sourceTextcxx . . $ I18ncpNode#m_sourceText.; |
| 63 | QStringcxx . . $ QString# m_pluralTextcxx . . $ I18ncpNode#m_pluralText.; |
| 64 | QListcxx . . $ QList#<FilterExpressioncxx . . $ Grantlee/FilterExpression#> m_filterExpressionListcxx . . $ I18ncpNode#m_filterExpressionList.; |
| 65 | }; |
| 66 | |
| 67 | class I18ncpVarNodecxx . . $ I18ncpVarNode# : public Nodecxx . . $ Grantlee/Node# |
| 68 | { |
| 69 | Q_OBJECTcxx . . $ I18ncpVarNode#trUtf8(75d9f1c324b4579d). |
| 70 | public: |
| 71 | I18ncpVarNodecxx . . $ I18ncpVarNode#I18ncpVarNode(98ca8555834caebe).(const QStringcxx . . $ QString# &contextText, const QStringcxx . . $ QString# &sourceText, |
| 72 | const QStringcxx . . $ QString# &pluralText, |
| 73 | const QListcxx . . $ QList#<FilterExpressioncxx . . $ Grantlee/FilterExpression#> &feList, |
| 74 | const QStringcxx . . $ QString# &resultName, QObjectcxx . . $ QObject# *parent = {}); |
| 75 | void rendercxx . . $ I18ncpVarNode#render(9be41cabfa33b722).(OutputStreamcxx . . $ Grantlee/OutputStream# *stream, Contextcxx . . $ Grantlee/Context# *c) const override; |
| 76 | |
| 77 | private: |
| 78 | QStringcxx . . $ QString# m_contextTextcxx . . $ I18ncpVarNode#m_contextText.; |
| 79 | QStringcxx . . $ QString# m_sourceTextcxx . . $ I18ncpVarNode#m_sourceText.; |
| 80 | QStringcxx . . $ QString# m_pluralTextcxx . . $ I18ncpVarNode#m_pluralText.; |
| 81 | QListcxx . . $ QList#<FilterExpressioncxx . . $ Grantlee/FilterExpression#> m_filterExpressionListcxx . . $ I18ncpVarNode#m_filterExpressionList.; |
| 82 | QStringcxx . . $ QString# m_resultNamecxx . . $ I18ncpVarNode#m_resultName.; |
| 83 | }; |
| 84 | |
| 85 | #endif |