MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / onBizServiceExpr

Method onBizServiceExpr

src/database/WizDatabase.cpp:1852–1867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1850}
1851
1852void WizDatabase::onBizServiceExpr(const QString& strBizGUID, const QString& strErrorMessage)
1853{
1854 if (strBizGUID.isEmpty())
1855 return;
1856
1857 WizDatabase* db = personalDatabase();
1858 if (!db)
1859 return;
1860
1861 QString strMetaSection;
1862 if (!db->getBizMetaName(strBizGUID, strMetaSection))
1863 return;
1864 //
1865 db->setMeta(strMetaSection, "LastSyncErrorCode", QString::number(WIZKMSYNC_EXIT_BIZ_SERVICE_EXPR));
1866 db->setMeta(strMetaSection, "LastSyncErrorMessage", strErrorMessage);
1867}
1868
1869bool WizDatabase::isTrafficLimit()
1870{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
getBizMetaNameMethod · 0.80
setMetaMethod · 0.45

Tested by

no test coverage detected