diff options
Diffstat (limited to 'src/commands/addentries.cpp')
-rw-r--r-- | src/commands/addentries.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/addentries.cpp b/src/commands/addentries.cpp index 6cd7636..9460ebd 100644 --- a/src/commands/addentries.cpp +++ b/src/commands/addentries.cpp @@ -37,7 +37,7 @@ void AddEntries::execute() { // now check for default values Data::FieldVec fields = m_coll->fields(); for(Data::FieldVec::Iterator field = fields.begin(); field != fields.end(); ++field) { - const QString defaultValue = field->defaultValue(); + const TQString defaultValue = field->defaultValue(); if(!defaultValue.isEmpty()) { for(Data::EntryVec::Iterator entry = m_entries.begin(); entry != m_entries.end(); ++entry) { if(entry->field(field).isEmpty()) { @@ -58,7 +58,7 @@ void AddEntries::unexecute() { Controller::self()->removedEntries(m_entries); } -QString AddEntries::name() const { +TQString AddEntries::name() const { return m_entries.count() > 1 ? i18n("Add Entries") - : i18n("Add (Entry Title)", "Add %1").arg(m_entries.begin()->title()); + : i18n("Add (Entry Title)", "Add %1").tqarg(m_entries.begin()->title()); } |