Commit de0ee1c9 authored by Martin Straka's avatar Martin Straka

Some comments refactoring

parent b3daa438
......@@ -148,7 +148,7 @@ Item {
Text {
id: zfoLifeLabel
color: datovkaPalette.text
text: qsTr("ZFO storage size in MB")
text: qsTr("ZFO storage size limit in MB")
}
SpinBox {
/* Holds value in days. */
......
......@@ -364,10 +364,12 @@ int main(int argc, char *argv[])
*/
}
/* true = zfo db store in disk, false = to memory */
/*
* Open ZFO database, the second parameter means: true = zfo db will
* store in disk, false = only in memory
*/
if (!globZfoDbPtr->openDb(ZFO_DB_NAME, (globSet.zfoDbSizeMBs > 0))) {
qDebug() << "ERROR: zfo db not found!";
/* TODO - delete and create new db */
}
/* load UI (QML) */
......
......@@ -198,8 +198,8 @@ public:
* @brief Insert or update zfo file info to db.
*
* @param[in] msgId message ID.
* @param[in] isTestAccount True if account is ISDS testing.
* @param[in] zfoSize Real size of zfo.
* @param[in] isTestAccount True if account is ISDS test enviroment.
* @param[in] zfoSize Real size of zfo in Bytes.
* @param[in] zfoData Zfo data.
* @return true if success.
*/
......
......@@ -152,7 +152,7 @@ public:
* @brief Update Zfo last access time.
*
* @param[in] msgId String with message id.
* @param[in] isTestAccount True if account is in the ISDS testing environment.
* @param[in] isTestAccount True if account is in the ISDS test environment.
*/
void updateZfoLastAccessTime(qint64 msgId, bool isTestAccount);
......@@ -167,7 +167,7 @@ private:
};
/*!
* @brief Global account database.
* @brief Global zfo database pointer.
*/
extern ZfoDb *globZfoDbPtr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment