File indexing completed on 2025-02-09 04:28:32
0001 /* 0002 This file is part of the KTextTemplate library 0003 0004 SPDX-FileCopyrightText: 2009, 2010 Stephen Kelly <steveire@gmail.com> 0005 0006 SPDX-License-Identifier: LGPL-2.1-or-later 0007 0008 */ 0009 0010 #ifndef INTEGERFILTERS_H 0011 #define INTEGERFILTERS_H 0012 0013 // krazy:excludeall=includes 0014 0015 #include "filter.h" 0016 0017 using namespace KTextTemplate; 0018 0019 class AddFilter : public Filter 0020 { 0021 public: 0022 QVariant doFilter(const QVariant &input, const QVariant &argument = {}, bool autoescape = {}) const override; 0023 }; 0024 0025 class GetDigitFilter : public Filter 0026 { 0027 public: 0028 QVariant doFilter(const QVariant &input, const QVariant &argument = {}, bool autoescape = {}) const override; 0029 }; 0030 0031 #endif