MCPcopy Create free account
hub / github.com/KDE/kdevelop / slotRepos

Method slotRepos

plugins/ghprovider/ghresource.cpp:178–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void Resource::slotRepos(KIO::Job *job, const QByteArray &data)
179{
180 if (!job) {
181 qCWarning(GHPROVIDER) << "NULL job returned!";
182 return;
183 }
184 if (job->error()) {
185 qCWarning(GHPROVIDER) << "Job error: " << job->errorString();
186 return;
187 }
188
189 m_temp.append(data);
190 if (data.isEmpty()) {
191 retrieveRepos(m_temp);
192 m_temp = "";
193 }
194}
195
196void Resource::slotOrgs(KIO::Job *job, const QByteArray &data)
197{

Callers

nothing calls this directly

Calls 4

errorMethod · 0.45
errorStringMethod · 0.45
appendMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected