MCPcopy Create free account
hub / github.com/YACReader/yacreader / getVolumeComicsInfo

Method getVolumeComicsInfo

YACReaderLibrary/comic_vine/comic_vine_client.cpp:146–155  ·  view source on GitHub ↗

CV_COMIC_IDS

Source from the content-addressed store, hash-verified

144
145// CV_COMIC_IDS
146void ComicVineClient::getVolumeComicsInfo(const QString &idVolume, int page)
147{
148 HttpWorker *search = new HttpWorker(
149 QString(CV_COMICS_INFO).replace(CV_WEB_ADDRESS, baseURL).replace(CV_API_KEY, settings->value(COMIC_VINE_API_KEY, CV_API_KEY_DEFAULT).toString()).arg(idVolume).arg((page - 1) * 100),
150 userAgent);
151 connect(search, &HttpWorker::dataReady, this, &ComicVineClient::processVolumeComicsInfo);
152 connect(search, &HttpWorker::timeout, this, &ComicVineClient::timeOut); // TODO
153 connect(search, &QThread::finished, search, &QObject::deleteLater);
154 search->get();
155}
156
157void ComicVineClient::getAllVolumeComicsInfo(const QString &idVolume)
158{

Callers

nothing calls this directly

Calls 4

replaceMethod · 0.80
toStringMethod · 0.80
QStringClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected