Changeset View
Changeset View
Standalone View
Standalone View
phonon/mediaobject_p.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
43 | 43 | | |||
44 | class MediaObjectPrivate : public MediaNodePrivate, private MediaNodeDestructionHandler | 44 | class MediaObjectPrivate : public MediaNodePrivate, private MediaNodeDestructionHandler | ||
45 | { | 45 | { | ||
46 | friend class KioFallbackImpl; | 46 | friend class KioFallbackImpl; | ||
47 | friend class AbstractMediaStream; | 47 | friend class AbstractMediaStream; | ||
48 | friend class AbstractMediaStreamPrivate; | 48 | friend class AbstractMediaStreamPrivate; | ||
49 | P_DECLARE_PUBLIC(MediaObject) | 49 | P_DECLARE_PUBLIC(MediaObject) | ||
50 | public: | 50 | public: | ||
51 | virtual QObject *qObject() { return q_func(); } | 51 | virtual QObject *qObject() override { return q_func(); } | ||
52 | 52 | | |||
53 | /** | 53 | /** | ||
54 | * Sends the metadata for this media file to the Zeitgeist tracker | 54 | * Sends the metadata for this media file to the Zeitgeist tracker | ||
55 | * | 55 | * | ||
56 | * \param eventInterpretation The interpretation of the event | 56 | * \param eventInterpretation The interpretation of the event | ||
57 | * \param eventManifestation The manifestation type of the event | 57 | * \param eventManifestation The manifestation type of the event | ||
58 | * \param eventActor The application or entity responsible for emitting the zeitgeist event | 58 | * \param eventActor The application or entity responsible for emitting the zeitgeist event | ||
59 | * \param eventTimestamp The time | 59 | * \param eventTimestamp The time | ||
Show All 13 Lines | 66 | void sendToZeitgeist(const QString &event_interpretation, | |||
73 | const QString &subject_manifestation, | 73 | const QString &subject_manifestation, | ||
74 | const QString &subject_mimetype); | 74 | const QString &subject_mimetype); | ||
75 | 75 | | |||
76 | void sendToZeitgeist(State); | 76 | void sendToZeitgeist(State); | ||
77 | void sendToZeitgeist(); | 77 | void sendToZeitgeist(); | ||
78 | 78 | | |||
79 | QList<FrontendInterfacePrivate *> interfaceList; | 79 | QList<FrontendInterfacePrivate *> interfaceList; | ||
80 | protected: | 80 | protected: | ||
81 | virtual bool aboutToDeleteBackendObject(); | 81 | virtual bool aboutToDeleteBackendObject() override; | ||
82 | virtual void createBackendObject(); | 82 | virtual void createBackendObject() override; | ||
83 | virtual void phononObjectDestroyed(MediaNodePrivate *); | 83 | virtual void phononObjectDestroyed(MediaNodePrivate *) override; | ||
84 | PHONON_EXPORT void setupBackendObject(); | 84 | PHONON_EXPORT void setupBackendObject(); | ||
85 | 85 | | |||
86 | void _k_resumePlay(); | 86 | void _k_resumePlay(); | ||
87 | void _k_resumePause(); | 87 | void _k_resumePause(); | ||
88 | void _k_metaDataChanged(const QMultiMap<QString, QString> &); | 88 | void _k_metaDataChanged(const QMultiMap<QString, QString> &); | ||
89 | void _k_aboutToFinish(); | 89 | void _k_aboutToFinish(); | ||
90 | void _k_currentSourceChanged(const MediaSource &); | 90 | void _k_currentSourceChanged(const MediaSource &); | ||
91 | PHONON_EXPORT void _k_stateChanged(Phonon::State, Phonon::State); | 91 | PHONON_EXPORT void _k_stateChanged(Phonon::State, Phonon::State); | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |