6#include <QtCore/qversionnumber.h>
25
26
27
28
29
30
31
32
33
34
35
36
37
40
41
42QHelpFilterData::QHelpFilterData() : d(
new QHelpFilterDataPrivate) { }
45
46
47QHelpFilterData::QHelpFilterData(
const QHelpFilterData &) =
default;
50
51
52QHelpFilterData::QHelpFilterData(QHelpFilterData &&) =
default;
55
56
57QHelpFilterData::~QHelpFilterData() =
default;
60
61
62QHelpFilterData &QHelpFilterData::operator=(
const QHelpFilterData &) =
default;
65
66
67QHelpFilterData &QHelpFilterData::operator=(QHelpFilterData &&) =
default;
70
71
72
73
74
76bool QHelpFilterData::operator==(
const QHelpFilterData &other)
const
78 return (d->m_components == other.d->m_components && d->m_versions == other.d->m_versions);
82
83
84
85
86void QHelpFilterData::setComponents(
const QStringList &components)
88 d->m_components = components;
92
93
94
95
96void QHelpFilterData::setVersions(
const QList<QVersionNumber> &versions)
98 d->m_versions = versions;
102
103
104
105QStringList QHelpFilterData::components()
const
107 return d->m_components;
111
112
113
114QList<QVersionNumber> QHelpFilterData::versions()
const
116 return d->m_versions;
QHelpFilterDataPrivate(const QHelpFilterDataPrivate &other)
QList< QVersionNumber > m_versions
QHelpFilterDataPrivate()=default
Combined button and popup list for selecting options.