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

Method search

YACReaderLibrary/comic_vine/comic_vine_client.cpp:72–81  ·  view source on GitHub ↗

CV_SEARCH

Source from the content-addressed store, hash-verified

70
71// CV_SEARCH
72void ComicVineClient::search(const QString &query, int page)
73{
74 HttpWorker *search = new HttpWorker(
75 QString(CV_SEARCH).replace(CV_WEB_ADDRESS, baseURL).replace(CV_API_KEY, settings->value(COMIC_VINE_API_KEY, CV_API_KEY_DEFAULT).toString()).arg(query).arg(page),
76 userAgent);
77 connect(search, &HttpWorker::dataReady, this, &ComicVineClient::proccessVolumesSearchData);
78 connect(search, &HttpWorker::timeout, this, &ComicVineClient::timeOut);
79 connect(search, &QThread::finished, search, &QObject::deleteLater);
80 search->get();
81}
82
83// CV_EXACT_VOLUME_SEARCH
84void ComicVineClient::searchExactVolume(const QString &query, int page)

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