mpengine/src/mpsongscanner.cpp
changeset 43 0f32e550d9d8
parent 37 eb79a7c355bf
child 55 f3930dda3342
equal deleted inserted replaced
38:b93f525c9244 43:0f32e550d9d8
    62             this, SIGNAL( scanStarted() ), Qt::QueuedConnection );
    62             this, SIGNAL( scanStarted() ), Qt::QueuedConnection );
    63     connect( mMpxHarvesterWrapper, SIGNAL( scanEnded( int, int ) ),
    63     connect( mMpxHarvesterWrapper, SIGNAL( scanEnded( int, int ) ),
    64             this, SLOT( handleScanEnded( int, int ) ), Qt::QueuedConnection );
    64             this, SLOT( handleScanEnded( int, int ) ), Qt::QueuedConnection );
    65     connect( mMpxHarvesterWrapper, SIGNAL( scanCountChanged( int ) ), 
    65     connect( mMpxHarvesterWrapper, SIGNAL( scanCountChanged( int ) ), 
    66             this, SIGNAL( scanCountChanged( int ) ), Qt::QueuedConnection );
    66             this, SIGNAL( scanCountChanged( int ) ), Qt::QueuedConnection );
       
    67     // Disk events should be handled asap in order to stop the scan on time
    67     connect( mMpxHarvesterWrapper, SIGNAL( diskEvent( MpxDiskEvents ) ),
    68     connect( mMpxHarvesterWrapper, SIGNAL( diskEvent( MpxDiskEvents ) ),
    68             this, SLOT( handleDiskEvent(MpxDiskEvents) ), Qt::QueuedConnection );
    69             this, SLOT( handleDiskEvent(MpxDiskEvents) ) );
    69     TX_EXIT
    70     TX_EXIT
    70 }
    71 }
    71 
    72 
    72 /*!
    73 /*!
    73  Destructs the song scanner.
    74  Destructs the song scanner.