void FeedEntryListModel::initFeedEntryList() { QFile queryFile(":/cxReader/xquery/feedEntryList.xq"); queryFile.open(QIODevice::ReadOnly); QXmlQuery query; query.setNetworkAccessManager(this->config->manager()); query.bindVariable("file", QVariant(this->config->baseUrl() + "/feeds/"+this->id)); query.setQuery(&queryFile); this->namePool = query.namePool(); query.evaluateTo(this); queryFile.close(); }