videocollection/videocollectionwrapper/tsrc/testvideothumbnaildata_p/src/videothumbnaildatatester.cpp
changeset 52 e3cecb93e76a
parent 15 cf5481c2bc0b
child 62 0e1e938beb1a
equal deleted inserted replaced
47:45e72b57a2fd 52:e3cecb93e76a
    27 // -----------------------------------------------------------------------------
    27 // -----------------------------------------------------------------------------
    28 //
    28 //
    29 VideoThumbnailDataTester::VideoThumbnailDataTester()
    29 VideoThumbnailDataTester::VideoThumbnailDataTester()
    30 {
    30 {
    31     connect(this, SIGNAL(doBackgroundFetchingSignal()), this, SLOT(doBackgroundFetching()));
    31     connect(this, SIGNAL(doBackgroundFetchingSignal()), this, SLOT(doBackgroundFetching()));
    32     connect(this, SIGNAL(modelChangedSignal()), this, SLOT(modelChangedSlot()));
       
    33     connect(this, SIGNAL(reportThumbnailsReadySignal()), this, SLOT(reportThumbnailsReadySlot()));
    32     connect(this, SIGNAL(reportThumbnailsReadySignal()), this, SLOT(reportThumbnailsReadySlot()));
    34     connect(this, SIGNAL(aboutToQuitSignal()), this, SLOT(aboutToQuitSlot()));
    33     connect(this, SIGNAL(aboutToQuitSignal()), this, SLOT(aboutToQuitSlot()));
    35 }
    34 }
    36 
    35 
    37 // -----------------------------------------------------------------------------
    36 // -----------------------------------------------------------------------------
    39 // -----------------------------------------------------------------------------
    38 // -----------------------------------------------------------------------------
    40 //
    39 //
    41 VideoThumbnailDataTester::~VideoThumbnailDataTester()
    40 VideoThumbnailDataTester::~VideoThumbnailDataTester()
    42 {
    41 {
    43     disconnect(this, SIGNAL(doBackgroundFetchingSignal()), this, SLOT(doBackgroundFetching()));
    42     disconnect(this, SIGNAL(doBackgroundFetchingSignal()), this, SLOT(doBackgroundFetching()));
    44     disconnect(this, SIGNAL(modelChangedSignal()), this, SLOT(modelChangedSlot()));
       
    45     disconnect(this, SIGNAL(reportThumbnailsReadySignal()), this, SLOT(reportThumbnailsReadySlot()));
    43     disconnect(this, SIGNAL(reportThumbnailsReadySignal()), this, SLOT(reportThumbnailsReadySlot()));
    46     disconnect(this, SIGNAL(aboutToQuitSignal()), this, SLOT(aboutToQuitSlot()));
    44     disconnect(this, SIGNAL(aboutToQuitSignal()), this, SLOT(aboutToQuitSlot()));
    47 }
    45 }
    48 
    46 
    49 // -----------------------------------------------------------------------------
    47 // -----------------------------------------------------------------------------
    60 // -----------------------------------------------------------------------------
    58 // -----------------------------------------------------------------------------
    61 //
    59 //
    62 void VideoThumbnailDataTester::emitReportThumbnailsReady()
    60 void VideoThumbnailDataTester::emitReportThumbnailsReady()
    63 {
    61 {
    64     emit reportThumbnailsReadySignal();
    62     emit reportThumbnailsReadySignal();
    65 }
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // VideoThumbnailDataTester::emitModelChanged()
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 void VideoThumbnailDataTester::emitModelChanged()
       
    72 {
       
    73     emit modelChangedSignal();
       
    74 }
    63 }
    75 
    64 
    76 // -----------------------------------------------------------------------------
    65 // -----------------------------------------------------------------------------
    77 // VideoThumbnailDataTester::emitAboutToQuit()
    66 // VideoThumbnailDataTester::emitAboutToQuit()
    78 // -----------------------------------------------------------------------------
    67 // -----------------------------------------------------------------------------