mpdata/tsrc/unittest_mpcollectiondatamodel/stub/inc/mpcollectionalbumartmanager.h
equal
deleted
inserted
replaced
20 #define MPCOLLECTIONALBUMARTMANAGER_H |
20 #define MPCOLLECTIONALBUMARTMANAGER_H |
21 |
21 |
22 #include <QObject> |
22 #include <QObject> |
23 #include <QIcon> |
23 #include <QIcon> |
24 |
24 |
|
25 #include "mpcommondefs.h" |
|
26 |
25 class MpMpxCollectionData; |
27 class MpMpxCollectionData; |
26 |
28 |
27 class MpCollectionAlbumArtManager : public QObject |
29 class MpCollectionAlbumArtManager : public QObject |
28 { |
30 { |
29 Q_OBJECT |
31 Q_OBJECT |
39 virtual ~MpCollectionAlbumArtManager(); |
41 virtual ~MpCollectionAlbumArtManager(); |
40 |
42 |
41 const QIcon* albumArt( int index ); |
43 const QIcon* albumArt( int index ); |
42 void cacheFirstScreen(); |
44 void cacheFirstScreen(); |
43 void cancel(); |
45 void cancel(); |
|
46 void setThumbnailSize( MpCommon::MpThumbType type ); |
44 |
47 |
45 signals: |
48 signals: |
46 |
49 |
47 void albumArtReady( int index ); |
50 void albumArtReady( int index ); |
48 |
51 |
49 public: |
52 public: |
50 |
53 |
51 QIcon *mIcon; |
54 QIcon *mIcon; |
52 int mAlbumArtCount; |
55 int mAlbumArtCount; |
53 int mCacheAlbumArtCount; |
56 int mCacheAlbumArtCount; |
|
57 MpCommon::MpThumbType mThumbType; |
54 |
58 |
55 }; |
59 }; |
56 |
60 |
57 #endif // MPCOLLECTIONALBUMARTMANAGER_H |
61 #endif // MPCOLLECTIONALBUMARTMANAGER_H |
58 |
62 |