diff options
Diffstat (limited to 'src/translators/pilotdbexporter.cpp')
-rw-r--r-- | src/translators/pilotdbexporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/translators/pilotdbexporter.cpp b/src/translators/pilotdbexporter.cpp index caab986..f5ec13b 100644 --- a/src/translators/pilotdbexporter.cpp +++ b/src/translators/pilotdbexporter.cpp @@ -143,7 +143,7 @@ bool PilotDBExporter::exec() { lv.name = codec->fromUnicode(i18n("View Columns")).data(); for(TQStringList::ConstIterator it = m_columns.begin(); it != m_columns.end(); ++it) { PalmLib::FlatFile::ListViewColumn col; - col.field = coll->fieldTitles().tqfindIndex(*it); + col.field = coll->fieldTitles().findIndex(*it); lv.push_back(col); } db.appendListView(lv); @@ -182,8 +182,8 @@ bool PilotDBExporter::exec() { TQDate date(y, m, d); value = date.toString(TQString::tqfromLatin1("yyyy/MM/dd")); } else if(fIt->type() == Data::Field::Para) { - value.tqreplace(br, TQChar('\n')); - value.tqreplace(tags, TQString()); + value.replace(br, TQChar('\n')); + value.replace(tags, TQString()); } // the number of fields in the record must match the number of fields in the database record.appendField(PilotDB::string2field(db.field_type(i), |