Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportData.h
Show All 32 Lines | 31 | public: | |||
---|---|---|---|---|---|
33 | virtual ~KReportData(); | 33 | virtual ~KReportData(); | ||
34 | 34 | | |||
35 | //! Describes sorting for single field | 35 | //! Describes sorting for single field | ||
36 | /*! By default the order is ascending. */ | 36 | /*! By default the order is ascending. */ | ||
37 | class KREPORT_EXPORT SortedField | 37 | class KREPORT_EXPORT SortedField | ||
38 | { | 38 | { | ||
39 | public: | 39 | public: | ||
40 | SortedField(); | 40 | SortedField(); | ||
41 | SortedField(const SortedField& other); | ||||
41 | ~SortedField(); | 42 | ~SortedField(); | ||
42 | SortedField& operator=(const SortedField &other); | 43 | SortedField& operator=(const SortedField &other); | ||
44 | bool operator==(const SortedField &other) const; | ||||
staniek: missing `const` at the end | |||||
45 | bool operator!=(const SortedField &other) const; | ||||
staniek: same here | |||||
43 | void setField(const QString &field); | 46 | void setField(const QString &field); | ||
44 | void setOrder(Qt::SortOrder order); | 47 | void setOrder(Qt::SortOrder order); | ||
45 | QString field() const; | 48 | QString field() const; | ||
46 | Qt::SortOrder order() const; | 49 | Qt::SortOrder order() const; | ||
47 | 50 | | |||
48 | private: | 51 | private: | ||
49 | class Private; | 52 | class Private; | ||
50 | Private * const d; | 53 | Private * const d; | ||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |
missing const at the end