bool downloadFeature(MainWindow* Main, const IFeature::FId& id, Document* theDocument, Layer* theLayer) { QList<IFeature::FId> list; list << id; bool ok = downloadFeatures(Main, list, theDocument, theLayer); return ok; }
bool downloadFeatures(MainWindow* Main, const QList<Feature*>& aDownloadList , Document* theDocument) { QList<IFeature::FId> list; foreach (Feature* F, aDownloadList) { list << F->id(); } bool ok = downloadFeatures(Main, list, theDocument, NULL); return ok; }
FeaturesController::FeaturesController() { downloadFeatures(); }