BibleTime
src
backend
drivers
btmoduleset.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 <QSet>
16
17
18
class
CSwordModuleInfo
;
19
20
class
BtModuleSet
:
public
QSet
<CSwordModuleInfo *> {
21
22
public
:
// methods:
23
24
BtModuleSet
() =
default
;
25
26
BtModuleSet
(
QSet<CSwordModuleInfo *>
const
& copy)
27
:
QSet
<
CSwordModuleInfo
*>(copy)
28
{}
29
30
bool
contains
(
CSwordModuleInfo
const
*
const
m)
const
{
31
return
this->
QSet<CSwordModuleInfo *>::contains
(
32
const_cast<
CSwordModuleInfo
*
>
(m));
33
}
34
35
};
BtModuleSet
Definition:
btmoduleset.h:20
BtModuleSet::contains
bool contains(CSwordModuleInfo const *const m) const
Definition:
btmoduleset.h:30
BtModuleSet::BtModuleSet
BtModuleSet(QSet< CSwordModuleInfo * > const ©)
Definition:
btmoduleset.h:26
BtModuleSet::BtModuleSet
BtModuleSet()=default
CSwordModuleInfo
Definition:
cswordmoduleinfo.h:49
QSet
Generated by
1.9.1