Example #1
0
ScDLThread::ScDLThread(QObject *parent) : QThread(parent),
	m_downloadedCount(0), m_totalCount(0)
{
	m_currentDownload = 0;
	connect(this, SIGNAL(runSignal()), this, SLOT(runSlot()));
}
Example #2
0
void ScDLThread::run()
{
	emit(runSignal());
}
Example #3
0
void Worker::start() {
  m_isStopped = false;
  Q_EMIT runSignal();
}