diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
commit | 8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch) | |
tree | 55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/document.cpp | |
parent | 2781e27b871150395a5a82e221684108641002b2 (diff) | |
download | tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/document.cpp')
-rw-r--r-- | src/document.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document.cpp b/src/document.cpp index 178b9e8..bbe426f 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::tqfromLatin1("track"); + const TQString track = TQString::fromLatin1("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::tqfromLatin1("loaned"); + const TQString loaned = TQString::fromLatin1("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::tqfromLatin1("true")); + entry_->setField(loaned, TQString::fromLatin1("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::tqfromLatin1("loaned"); + const TQString loaned = TQString::fromLatin1("loaned"); if(!m_coll->hasField(loaned)) { return; } |