mpengine/src/mpsongscanner.cpp
changeset 48 af3740e3753f
parent 41 ea59c434026a
child 55 f3930dda3342
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
    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.