camerauis/cameraxui/cxengine/tsrc/unit/system_include/thumbnailmanager_qt.cpp
changeset 46 c826656d6714
parent 41 67457b2ffb33
child 55 0da2a5b56583
equal deleted inserted replaced
42:feebad15db8c 46:c826656d6714
    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;