Changeset View
Changeset View
Standalone View
Standalone View
phonon/phonondefs_p.h
Show All 26 Lines | |||||
27 | #include "medianode_p.h" | 27 | #include "medianode_p.h" | ||
28 | #include "phononpimpl_p.h" | 28 | #include "phononpimpl_p.h" | ||
29 | 29 | | |||
30 | #define PHONON_CONCAT_HELPER_INTERNAL(x, y) x ## y | 30 | #define PHONON_CONCAT_HELPER_INTERNAL(x, y) x ## y | ||
31 | #define PHONON_CONCAT_HELPER(x, y) PHONON_CONCAT_HELPER_INTERNAL(x, y) | 31 | #define PHONON_CONCAT_HELPER(x, y) PHONON_CONCAT_HELPER_INTERNAL(x, y) | ||
32 | 32 | | |||
33 | #define PHONON_PRIVATECLASS \ | 33 | #define PHONON_PRIVATECLASS \ | ||
34 | protected: \ | 34 | protected: \ | ||
35 | virtual bool aboutToDeleteBackendObject(); \ | 35 | virtual bool aboutToDeleteBackendObject() override; \ | ||
36 | virtual void createBackendObject(); \ | 36 | virtual void createBackendObject() override; \ | ||
37 | /** | 37 | /** | ||
38 | * \internal | 38 | * \internal | ||
39 | * After construction of the Iface object this method is called | 39 | * After construction of the Iface object this method is called | ||
40 | * throughout the complete class hierarchy in order to set up the | 40 | * throughout the complete class hierarchy in order to set up the | ||
41 | * properties that were already set on the public interface. | 41 | * properties that were already set on the public interface. | ||
42 | * | 42 | * | ||
43 | * An example implementation could look like this: | 43 | * An example implementation could look like this: | ||
44 | * \code | 44 | * \code | ||
45 | * ParentClassPrivate::setupBackendObject(); | 45 | * ParentClassPrivate::setupBackendObject(); | ||
46 | * m_iface->setPropertyA(d->propertyA); | 46 | * m_iface->setPropertyA(d->propertyA); | ||
47 | * m_iface->setPropertyB(d->propertyB); | 47 | * m_iface->setPropertyB(d->propertyB); | ||
48 | * \endcode | 48 | * \endcode | ||
49 | */ \ | 49 | */ \ | ||
50 | void setupBackendObject(); | 50 | void setupBackendObject(); | ||
51 | 51 | | |||
52 | #define PHONON_PRIVATEABSTRACTCLASS \ | 52 | #define PHONON_PRIVATEABSTRACTCLASS \ | ||
53 | protected: \ | 53 | protected: \ | ||
54 | virtual bool aboutToDeleteBackendObject(); \ | 54 | virtual bool aboutToDeleteBackendObject() override; \ | ||
55 | /** | 55 | /** | ||
56 | * \internal | 56 | * \internal | ||
57 | * After construction of the Iface object this method is called | 57 | * After construction of the Iface object this method is called | ||
58 | * throughout the complete class hierarchy in order to set up the | 58 | * throughout the complete class hierarchy in order to set up the | ||
59 | * properties that were already set on the public interface. | 59 | * properties that were already set on the public interface. | ||
60 | * | 60 | * | ||
61 | * An example implementation could look like this: | 61 | * An example implementation could look like this: | ||
62 | * \code | 62 | * \code | ||
▲ Show 20 Lines • Show All 318 Lines • Show Last 20 Lines |