BibleTime
bttextfilter.h
Go to the documentation of this file.
1 /*********
2 *
3 * In the name of the Father, and of the Son, and of the Holy Spirit.
4 *
5 * This file is part of BibleTime's source code, https://bibletime.info/
6 *
7 * Copyright 1999-2021 by the BibleTime developers.
8 * The BibleTime source code is licensed under the GNU General Public License
9 * version 2.0.
10 *
11 **********/
12 
13 #pragma once
14 
15 #include "../../../backend/models/btmoduletextmodel.h"
16 
17 #include <QString>
18 
19 
20 /**
21  * \brief This filter provides a method for modifying text generated
22  * by BtModuleTextModel.
23  *
24  * The "rich text" used by QML does not support
25  * attributes within a href tag. These attributes are added to the url
26  * so they can be obtained later for use of the MAG window.
27  * It also does some other miscellaneous processing.
28  */
29 
30 
32 
33 public:
35  ~BtTextFilter() override;
36 
37  QString processText(const QString& text) override;
38 
39 };
This filter provides a method for modifying text generated by BtModuleTextModel.
Definition: bttextfilter.h:31
QString processText(const QString &text) override
~BtTextFilter() override