| 176 | } |
| 177 | |
| 178 | void 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 | |
| 196 | void Resource::slotOrgs(KIO::Job *job, const QByteArray &data) |
| 197 | { |
nothing calls this directly
no test coverage detected