MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / OnInitializeDatabase

Method OnInitializeDatabase

App/Client/Favorite/FavoriteDatabase.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146bool CFavoriteDatabase::OnInitializeDatabase()
147{
148 bool bRet = false;
149 bRet = CDatabaseTree::OnInitializeDatabase();
150 if(!bRet) return false;
151 bRet = m_IconDB.SetDatabase(GetDatabase(), m_pPara);
152 if(!bRet) return false;
153 bRet = m_FileDB.SetDatabase(GetDatabase(), m_pPara);
154 return bRet;
155}
156
157int CFavoriteDatabase::AddFavorite(const QString &szFile,
158 const QString &szName, const QIcon &icon,

Callers

nothing calls this directly

Calls 1

SetDatabaseMethod · 0.80

Tested by

no test coverage detected