equal
deleted
inserted
replaced
52 * create thumbnail for the given image/video file name and data. |
52 * create thumbnail for the given image/video file name and data. |
53 */ |
53 */ |
54 int ThumbnailManager::getThumbnail(const QString& filename, void * clientData, int priority) |
54 int ThumbnailManager::getThumbnail(const QString& filename, void * clientData, int priority) |
55 { |
55 { |
56 CX_DEBUG_ENTER_FUNCTION(); |
56 CX_DEBUG_ENTER_FUNCTION(); |
57 |
|
58 Q_UNUSED(priority); |
57 Q_UNUSED(priority); |
59 |
58 |
60 int id = 0; |
59 int id = 0; |
61 |
60 |
62 if (filename.isNull() || filename.isEmpty()) { |
61 if (filename.isNull() || filename.isEmpty()) { |
78 int ThumbnailManager::setThumbnail( const QImage& source, const QString& fileName, |
77 int ThumbnailManager::setThumbnail( const QImage& source, const QString& fileName, |
79 void *clientData, int priority) |
78 void *clientData, int priority) |
80 { |
79 { |
81 Q_UNUSED(clientData); |
80 Q_UNUSED(clientData); |
82 Q_UNUSED(priority); |
81 Q_UNUSED(priority); |
|
82 Q_UNUSED(source); |
83 |
83 |
84 int status = KErrNone; |
84 int status = KErrNone; |
85 |
85 |
86 if (fileName.isNull() || fileName.isEmpty()) { |
86 if (fileName.isNull() || fileName.isEmpty()) { |
87 status = KErrNotFound; |
87 status = KErrNotFound; |