Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneyreport.h
Context not available. | |||||
64 | class MyMoneyReportPrivate; | 64 | class MyMoneyReportPrivate; | ||
---|---|---|---|---|---|
65 | class KMM_MYMONEY_EXPORT MyMoneyReport: public MyMoneyObject, public MyMoneyTransactionFilter | 65 | class KMM_MYMONEY_EXPORT MyMoneyReport: public MyMoneyObject, public MyMoneyTransactionFilter | ||
66 | { | 66 | { | ||
67 | Q_DECLARE_PRIVATE(MyMoneyReport) | 67 | Q_DECLARE_PRIVATE_D(MyMoneyObject::d_ptr, MyMoneyReport) | ||
68 | MyMoneyReportPrivate* d_ptr; | | |||
69 | 68 | | |||
70 | KMM_MYMONEY_UNIT_TESTABLE | 69 | KMM_MYMONEY_UNIT_TESTABLE | ||
71 | 70 | | |||
Context not available. | |||||
469 | inline void swap(MyMoneyReport& first, MyMoneyReport& second) // krazy:exclude=inline | 468 | inline void swap(MyMoneyReport& first, MyMoneyReport& second) // krazy:exclude=inline | ||
470 | { | 469 | { | ||
471 | using std::swap; | 470 | using std::swap; | ||
472 | swap(first.d_ptr, second.d_ptr); | 471 | swap(first.MyMoneyObject::d_ptr, second.MyMoneyObject::d_ptr); | ||
473 | swap(first.m_id, second.m_id); | | |||
474 | swap(first.MyMoneyTransactionFilter::d_ptr, second.MyMoneyTransactionFilter::d_ptr); | 472 | swap(first.MyMoneyTransactionFilter::d_ptr, second.MyMoneyTransactionFilter::d_ptr); | ||
475 | } | 473 | } | ||
476 | 474 | | |||
Context not available. |