diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
| commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
| tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/document.cpp | |
| parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
| download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip | |
Rename a number of old tq methods that are no longer tq specific
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; } |
