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

Method getBizMetaName

src/database/WizDatabase.cpp:1303–1322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301
1302
1303bool WizDatabase::getBizMetaName(const QString &strBizGUID, QString &strMetaName)
1304{
1305 if (strBizGUID.isEmpty())
1306 return false;
1307
1308 int count = getMetaDef("Bizs", "Count").toInt();
1309 //
1310 for (int i = 0; i < count; i++)
1311 {
1312 QString bizSection = "Biz_" + QString::number(i);
1313
1314 if (strBizGUID == getMetaDef(bizSection, "GUID"))
1315 {
1316 strMetaName = bizSection;
1317 return true;
1318 }
1319 }
1320
1321 return false;
1322}
1323
1324bool WizDatabase::initZiwReaderForEncryption()
1325{

Callers 2

onBizServiceExprMethod · 0.80
isBizServiceExprMethod · 0.80

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected