| 255 | } |
| 256 | |
| 257 | bool PageContainer::prepareToClose() |
| 258 | { |
| 259 | if(!saveAll()) |
| 260 | { |
| 261 | return false; |
| 262 | } |
| 263 | if (m_currentPage) |
| 264 | { |
| 265 | m_currentPage->closed(); |
| 266 | } |
| 267 | return true; |
| 268 | } |
| 269 | |
| 270 | bool PageContainer::saveAll() |
| 271 | { |
no test coverage detected