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

Method getLocalValue

src/database/WizDatabase.cpp:1731–1756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1729}
1730
1731QString WizDatabase::getLocalValue(const QString& key)
1732{
1733 CString strKey(key);
1734 strKey.makeLower();
1735
1736 if (strKey == "folders")
1737 {
1738 return getFolders();
1739 }
1740 else if (strKey == "folders_pos")
1741 {
1742 return getFoldersPos();
1743 }
1744 else if (strKey == "group_tag_pos")
1745 {
1746 return getGroupTagsPos();
1747 }
1748 else if (strKey == "favorites")
1749 {
1750 return getFavorites();
1751 }
1752 else
1753 {
1754 return CString();
1755 }
1756}
1757
1758void WizDatabase::setLocalValueVersion(const QString& strKey,
1759 qint64 nServerVersion)

Callers 1

uploadValueMethod · 0.80

Calls 2

makeLowerMethod · 0.80
CStringClass · 0.50

Tested by

no test coverage detected