Changeset View
Changeset View
Standalone View
Standalone View
src/context/applets/albums/plugin/TrackItem.h
- This file was moved from src/context/applets/albums/TrackItem.h.
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 27 | public: | |||
---|---|---|---|---|---|
49 | /** | 49 | /** | ||
50 | * Applies a bold style if the track is owned by the currently | 50 | * Applies a bold style if the track is owned by the currently | ||
51 | * playing artist | 51 | * playing artist | ||
52 | */ | 52 | */ | ||
53 | void bold(); | 53 | void bold(); | ||
54 | 54 | | |||
55 | // overloaded from Meta::Observer | 55 | // overloaded from Meta::Observer | ||
56 | using Observer::metadataChanged; | 56 | using Observer::metadataChanged; | ||
57 | virtual void metadataChanged( Meta::TrackPtr track ); | 57 | virtual void metadataChanged( Meta::TrackPtr track ) Q_DECL_OVERRIDE; | ||
58 | 58 | | |||
59 | virtual int type() const; | 59 | virtual int type() const Q_DECL_OVERRIDE; | ||
60 | 60 | | |||
61 | virtual bool operator<( const QStandardItem &other ) const; | 61 | virtual bool operator<( const QStandardItem &other ) const Q_DECL_OVERRIDE; | ||
62 | 62 | | |||
63 | private: | 63 | private: | ||
64 | Meta::TrackPtr m_track; | 64 | Meta::TrackPtr m_track; | ||
65 | QMutex m_mutex; | 65 | QMutex m_mutex; | ||
66 | }; | 66 | }; | ||
67 | 67 | | |||
68 | #endif // multiple inclusion guard | 68 | #endif // multiple inclusion guard |