BibleTime
src
frontend
display
modelview
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
31
class
BtTextFilter
:
public
BtModuleTextFilter
{
32
33
public
:
34
BtTextFilter
();
35
~BtTextFilter
()
override
;
36
37
QString
processText
(
const
QString& text)
override
;
38
39
};
BtModuleTextFilter
Definition:
btmoduletextmodel.h:66
BtTextFilter
This filter provides a method for modifying text generated by BtModuleTextModel.
Definition:
bttextfilter.h:31
BtTextFilter::processText
QString processText(const QString &text) override
Definition:
bttextfilter.cpp:164
BtTextFilter::~BtTextFilter
~BtTextFilter() override
BtTextFilter::BtTextFilter
BtTextFilter()
Generated by
1.9.1