Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportDataSource.cpp
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | |||||
128 | 128 | | |||
129 | void KReportDataSource::addCondition(const QString &field, const QVariant &value, const QString& relation) | 129 | void KReportDataSource::addCondition(const QString &field, const QVariant &value, const QString& relation) | ||
130 | { | 130 | { | ||
131 | Q_UNUSED(field); | 131 | Q_UNUSED(field); | ||
132 | Q_UNUSED(value); | 132 | Q_UNUSED(value); | ||
133 | Q_UNUSED(relation); | 133 | Q_UNUSED(relation); | ||
134 | } | 134 | } | ||
135 | 135 | | |||
136 | #ifdef KREPORT_SCRIPTING | | |||
137 | QStringList KReportDataSource::scriptList() const | | |||
138 | { | | |||
139 | return QStringList(); | | |||
140 | } | | |||
141 | | ||||
142 | QString KReportDataSource::scriptCode(const QString &script) const | | |||
143 | { | | |||
144 | Q_UNUSED(script); | | |||
145 | return QString(); | | |||
146 | } | | |||
147 | #endif | | |||
148 | | ||||
149 | QStringList KReportDataSource::dataSourceNames() const | 136 | QStringList KReportDataSource::dataSourceNames() const | ||
150 | { | 137 | { | ||
151 | return QStringList(); | 138 | return QStringList(); | ||
152 | } | 139 | } | ||
153 | 140 | | |||
154 | QString KReportDataSource::dataSourceCaption(const QString &dataSourceName) const | 141 | QString KReportDataSource::dataSourceCaption(const QString &dataSourceName) const | ||
155 | { | 142 | { | ||
156 | return dataSourceName; | 143 | return dataSourceName; | ||
157 | } | 144 | } | ||
158 | 145 | | |||
159 | KReportDataSource* KReportDataSource::create(const QString &source) const | 146 | KReportDataSource* KReportDataSource::create(const QString &source) const | ||
160 | { | 147 | { | ||
161 | Q_UNUSED(source); | 148 | Q_UNUSED(source); | ||
162 | return nullptr; | 149 | return nullptr; | ||
163 | } | 150 | } |