Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportAsyncItemBase.cpp
Show All 13 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
14 | You should have received a copy of the GNU Lesser General Public | 14 | You should have received a copy of the GNU Lesser General Public | ||
15 | License along with this library; if not, write to the Free Software | 15 | License along with this library; if not, write to the Free Software | ||
16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | 19 | | |||
20 | #include "KReportAsyncItemBase.h" | 20 | #include "KReportAsyncItemBase.h" | ||
21 | 21 | | |||
22 | class Q_DECL_HIDDEN KReportAsyncItemBase::Private | ||||
staniek: -> class Q_DECL_HIDDEN | |||||
23 | { | ||||
24 | public: | ||||
25 | bool dummy = true; | ||||
26 | }; | ||||
27 | | ||||
28 | KReportAsyncItemBase::KReportAsyncItemBase() : d(new Private) | ||||
staniek: Missing dtor and `delete d` | |||||
29 | { | ||||
30 | } | ||||
31 | | ||||
32 | KReportAsyncItemBase::~KReportAsyncItemBase() | ||||
33 | { | ||||
34 | delete d; | ||||
35 | } | ||||
36 | | ||||
37 | | ||||
22 | QVariant KReportAsyncItemBase::realItemData(const QVariant& itemData) const | 38 | QVariant KReportAsyncItemBase::realItemData(const QVariant& itemData) const | ||
23 | { | 39 | { | ||
24 | return itemData; | 40 | return itemData; | ||
25 | } | 41 | } |
-> class Q_DECL_HIDDEN