diff options
Diffstat (limited to 'src/entry.cpp')
-rw-r--r-- | src/entry.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/entry.cpp b/src/entry.cpp index db16e0a..c733608 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -228,7 +228,7 @@ bool Entry::setField(const TQString& name_, const TQString& value_) { if(!m_fields.isEmpty() && m_fields.tqcontains(name_)) { m_fields.remove(name_); } - tqinvalidateFormattedFieldValue(name_); + invalidateFormattedFieldValue(name_); return true; } @@ -259,7 +259,7 @@ bool Entry::setField(const TQString& name_, const TQString& value_) { } else { m_fields.insert(Tellico::shareString(name_), value_); } - tqinvalidateFormattedFieldValue(name_); + invalidateFormattedFieldValue(name_); return true; } @@ -333,7 +333,7 @@ bool Entry::isOwned() { } // a null string means tqinvalidate all -void Entry::tqinvalidateFormattedFieldValue(const TQString& name_) { +void Entry::invalidateFormattedFieldValue(const TQString& name_) { if(name_.isNull()) { m_formattedFields.clear(); } else if(!m_formattedFields.isEmpty() && m_formattedFields.tqcontains(name_)) { @@ -436,12 +436,12 @@ int Entry::compareValues(EntryPtr e1, EntryPtr e2, FieldPtr f) { // myDebug() << "match without articles" << endl; return 3; } - // try removing everything between tqparentheses + // try removing everything between parentheses TQRegExp rx(TQString::tqfromLatin1("\\s*\\(.*\\)\\s*")); s1.remove(rx); s2.remove(rx); if(!s1.isEmpty() && s1 == s2) { -// myDebug() << "match without tqparentheses" << endl; +// myDebug() << "match without parentheses" << endl; return 2; } if(f->flags() & Field::AllowMultiple) { |