BibleTime
src
backend
rendering
crossrefrendering.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 "
ctextrendering.h
"
16
17
#include "../config/btconfig.h"
18
19
20
namespace
Rendering
{
21
22
class
CrossRefRendering
:
public
Rendering::CTextRendering
{
23
24
public
:
// methods:
25
26
CrossRefRendering
(
27
const
DisplayOptions
&
displayOptions
=
btConfig
().getDisplayOptions(),
28
const
FilterOptions
&
filterOptions
=
btConfig
().getFilterOptions()
29
);
30
31
protected
:
// methods:
32
33
QString
entryLink
(
KeyTreeItem
const
& item,
34
CSwordModuleInfo
const
& module)
const override
;
35
36
QString
finishText
(QString
const
& text,
KeyTree
const
& tree)
37
const override
;
38
39
};
/* class CrossRefRendering */
40
41
}
/* namespace Rendering */
btConfig
BtConfig & btConfig()
This is a shortchand for BtConfig::getInstance().
Definition:
btconfig.h:305
CSwordModuleInfo
Definition:
cswordmoduleinfo.h:49
Rendering::CTextRendering::KeyTreeItem
Definition:
ctextrendering.h:42
Rendering::CTextRendering
Text rendering based on trees.
Definition:
ctextrendering.h:34
Rendering::CTextRendering::KeyTree
std::list< KeyTreeItem > KeyTree
Definition:
ctextrendering.h:40
Rendering::CTextRendering::displayOptions
DisplayOptions const & displayOptions() const noexcept
Definition:
ctextrendering.h:134
Rendering::CTextRendering::filterOptions
FilterOptions const & filterOptions() const noexcept
Definition:
ctextrendering.h:126
Rendering::CrossRefRendering
Definition:
crossrefrendering.h:22
Rendering::CrossRefRendering::CrossRefRendering
CrossRefRendering(const DisplayOptions &displayOptions=btConfig().getDisplayOptions(), const FilterOptions &filterOptions=btConfig().getFilterOptions())
Definition:
crossrefrendering.cpp:23
Rendering::CrossRefRendering::entryLink
QString entryLink(KeyTreeItem const &item, CSwordModuleInfo const &module) const override
Definition:
crossrefrendering.cpp:37
Rendering::CrossRefRendering::finishText
QString finishText(QString const &text, KeyTree const &tree) const override
Definition:
crossrefrendering.cpp:30
ctextrendering.h
Rendering
Definition:
btinforendering.cpp:370
DisplayOptions
Definition:
btglobal.h:46
FilterOptions
Definition:
btglobal.h:25
Generated by
1.9.1