Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportDataSource.h
Show All 17 Lines | |||||
18 | #define KREPORTDATA_H | 18 | #define KREPORTDATA_H | ||
19 | 19 | | |||
20 | #include <QStringList> | 20 | #include <QStringList> | ||
21 | #include <QVariant> | 21 | #include <QVariant> | ||
22 | 22 | | |||
23 | #include "kreport_export.h" | 23 | #include "kreport_export.h" | ||
24 | #include "config-kreport.h" | 24 | #include "config-kreport.h" | ||
25 | 25 | | |||
26 | /** @brief Abstraction of report data source | 26 | /*! | ||
27 | * @brief Abstraction of report data source. | ||||
28 | * | ||||
staniek: Case | |||||
29 | * A data source provides data to the report engine, usually from a | ||||
30 | * database, but could also be implemented for text and other file formats | ||||
27 | */ | 31 | */ | ||
28 | class KREPORT_EXPORT KReportDataSource | 32 | class KREPORT_EXPORT KReportDataSource | ||
29 | { | 33 | { | ||
30 | 34 | | |||
31 | public: | 35 | public: | ||
32 | KReportDataSource(); | 36 | KReportDataSource(); | ||
33 | virtual ~KReportDataSource(); | 37 | virtual ~KReportDataSource(); | ||
34 | 38 | | |||
35 | //! Describes sorting for single field | 39 | /*! | ||
36 | /*! By default the order is ascending. */ | 40 | * @brief Describes sorting for single field, | ||
41 | * By default the order is ascending. | ||||
42 | */ | ||||
37 | class KREPORT_EXPORT SortedField | 43 | class KREPORT_EXPORT SortedField | ||
38 | { | 44 | { | ||
39 | public: | 45 | public: | ||
40 | SortedField(); | 46 | SortedField(); | ||
41 | SortedField(const SortedField& other); | 47 | SortedField(const SortedField& other); | ||
42 | ~SortedField(); | 48 | ~SortedField(); | ||
43 | SortedField& operator=(const SortedField &other); | 49 | SortedField& operator=(const SortedField &other); | ||
44 | bool operator==(const SortedField &other) const; | 50 | bool operator==(const SortedField &other) const; | ||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |
Case