summaryrefslogtreecommitdiffstats
path: root/src/entry.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitfeaf6d62da1685a34fbc8c201f31da681f04e2a7 (patch)
treede2bad7247bd5f95ab845f8650a942a45248d30a /src/entry.cpp
parent2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (diff)
downloadtellico-feaf6d62da1685a34fbc8c201f31da681f04e2a7.tar.gz
tellico-feaf6d62da1685a34fbc8c201f31da681f04e2a7.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp10
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) {