From 2781e27b871150395a5a82e221684108641002b2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:51 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 031454e56009d576589c28757f6c6fcf4884095e. --- src/document.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/document.cpp') 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; } -- cgit v1.2.1