void RSpatialIndex::bulkLoadSimple(const QList<int>& ids, const QList<RBox>& bbs) { QList<QList<RBox> > list; for (int i=0; i<bbs.length(); i++) { list.append(QList<RBox>() << bbs[i]); } bulkLoad(ids, list); }
void BulkLoad::addBulkLoad(quint64 seq, NewsGroup* ng, HeaderList* headerList) { BulkLoadDetails* j = new BulkLoadDetails; j->seq = seq; j->ng = ng; j->headerList = headerList; jobList.append(j); if (!running) { running = true; bulkLoad(); } }