From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: TQt4 port tellico This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/commands/addentries.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commands/addentries.cpp') 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()); } -- cgit v1.2.3