MCPcopy Create free account
hub / github.com/chris2511/xca / insert

Method insert

lib/database_model.cpp:224–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224pki_base *database_model::insert(pki_base *pki)
225{
226 db_base *db = modelForPki(pki);
227 if (db)
228 return db->insert(pki);
229 pki_multi *multi = dynamic_cast<pki_multi*>(pki);
230 if (multi) {
231 QList<pki_base *> items = multi->pull();
232 foreach(pki_base *i, items)
233 insert(i);
234 }
235 delete pki;
236 return NULL;
237}
238
239void database_model::restart_timer()
240{

Callers

nothing calls this directly

Calls 1

pullMethod · 0.80

Tested by

no test coverage detected