summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/document.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document.cpp b/src/document.cpp
index bbe426f..178b9e8 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -398,7 +398,7 @@ void Document::unMergeCollection(CollPtr coll_, FieldVec origFields_, MergePair
m_coll->removeEntries(entries);
// second item in pair are the entries which got modified by the original merge command
- const TQString track = TQString::fromLatin1("track");
+ const TQString track = TQString::tqfromLatin1("track");
PairVector trackChanges = entryPair_.second;
// need to go through them in reverse since one entry may have been modified multiple times
// first item in the pair is the entry pointer
@@ -464,14 +464,14 @@ void Document::checkOutEntry(Data::EntryPtr entry_) {
return;
}
- const TQString loaned = TQString::fromLatin1("loaned");
+ const TQString loaned = TQString::tqfromLatin1("loaned");
if(!m_coll->hasField(loaned)) {
FieldPtr f = new Field(loaned, i18n("Loaned"), Field::Bool);
f->setFlags(Field::AllowGrouped);
f->setCategory(i18n("Personal"));
m_coll->addField(f);
}
- entry_->setField(loaned, TQString::fromLatin1("true"));
+ entry_->setField(loaned, TQString::tqfromLatin1("true"));
EntryVec vec;
vec.append(entry_);
m_coll->updateDicts(vec);
@@ -482,7 +482,7 @@ void Document::checkInEntry(Data::EntryPtr entry_) {
return;
}
- const TQString loaned = TQString::fromLatin1("loaned");
+ const TQString loaned = TQString::tqfromLatin1("loaned");
if(!m_coll->hasField(loaned)) {
return;
}