| 35 | } |
| 36 | |
| 37 | QString BibTeXFile::Entry::howPublished() const |
| 38 | { |
| 39 | if (_cache.valid) { |
| 40 | return _cache.howPublished; |
| 41 | } |
| 42 | if (hasField(QString::fromLatin1("howpublished"))) { |
| 43 | return value(QString::fromLatin1("howpublished")); |
| 44 | } |
| 45 | if (hasField(QStringLiteral("journal"))) { |
| 46 | return value(QString::fromLatin1("journal")); |
| 47 | } |
| 48 | return value(QString::fromLatin1("booktitle")); |
| 49 | } |
| 50 | |
| 51 | QString BibTeXFile::Entry::value(const QString & key) const |
| 52 | { |
no outgoing calls