Open all notebooks. Really we just delete the NOTEBOOK_IS_CLOSED record since the default is to be open.
| 1115 | // NOTEBOOK_IS_CLOSED record since the default is to be |
| 1116 | // open. |
| 1117 | void NotebookTable::openAllNotebooks() { |
| 1118 | NSqlQuery query(db); |
| 1119 | db->lockForWrite(); |
| 1120 | query.prepare("delete from DataStore where key=:key"); |
| 1121 | query.bindValue(":key", NOTEBOOK_IS_CLOSED); |
| 1122 | query.exec(); |
| 1123 | query.finish(); |
| 1124 | db->unlock(); |
| 1125 | } |
| 1126 | |
| 1127 | |
| 1128 |
no test coverage detected