QConsolePrintProgress fixed to connect to drive
git-svn-id: https://svn.code.sf.net/p/qlscribe/svn/trunk@82 cac9541e-1b8d-4bfa-827e-589bba606050
This commit is contained in:
@@ -5,14 +5,13 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
QConsolePrintProgress::QConsolePrintProgress()
|
||||
QConsolePrintProgress::QConsolePrintProgress( QLightDrive *drive )
|
||||
: m_drive( drive )
|
||||
{
|
||||
QLightScribe *scribe = QLightScribe::instance();
|
||||
|
||||
connect( scribe, SIGNAL(prepareProgress(long,long)), this, SLOT(onPrepareProgress(long,long)) );
|
||||
connect( scribe, SIGNAL(labelProgress(long,long)), this, SLOT(onLabelProgress(long,long)) );
|
||||
connect( scribe, SIGNAL(timeEstimate(long)), this, SLOT(onTimeEstimate(long)) );
|
||||
connect( scribe, SIGNAL(finished(int)), this, SLOT(onFinished(int)) );
|
||||
connect( drive, SIGNAL(prepareProgress(long,long)), this, SLOT(onPrepareProgress(long,long)) );
|
||||
connect( drive, SIGNAL(labelProgress(long,long)), this, SLOT(onLabelProgress(long,long)) );
|
||||
connect( drive, SIGNAL(timeEstimate(long)), this, SLOT(onTimeEstimate(long)) );
|
||||
connect( drive, SIGNAL(finished(int)), this, SLOT(onFinished(int)) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user