| 76 | } |
| 77 | |
| 78 | void BibTeXFile::Entry::updateCache() |
| 79 | { |
| 80 | // invalidate cache so that all subsequent method calls actually search the |
| 81 | // fields |
| 82 | _cache.valid = false; |
| 83 | _cache.author = author(); |
| 84 | _cache.howPublished = howPublished(); |
| 85 | _cache.title = title(); |
| 86 | _cache.year = year(); |
| 87 | _cache.valid = true; |
| 88 | } |
| 89 | |
| 90 | bool BibTeXFile::load(const QString & filename) |
| 91 | { |