summaryrefslogtreecommitdiffstats
path: root/src/commands/modifyentries.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/commands/modifyentries.cpp
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
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
Diffstat (limited to 'src/commands/modifyentries.cpp')
-rw-r--r--src/commands/modifyentries.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/modifyentries.cpp b/src/commands/modifyentries.cpp
index 895348e..9d8712a 100644
--- a/src/commands/modifyentries.cpp
+++ b/src/commands/modifyentries.cpp
@@ -44,7 +44,7 @@ void ModifyEntries::execute() {
}
// loans expose a field named "loaned", and the user might modify that without
// checking in the loan, so verify that. Heavy-handed, yes...
- const QString loaned = QString::fromLatin1("loaned");
+ const TQString loaned = TQString::tqfromLatin1("loaned");
bool hasLoanField = m_coll->hasField(loaned);
for(Data::EntryVecIt entry = m_entries.begin(); hasLoanField && entry != m_entries.end(); ++entry) {
if(entry->field(loaned).isEmpty()) {
@@ -68,9 +68,9 @@ void ModifyEntries::unexecute() {
//TODO: need to tell edit dialog that it's not modified
}
-QString ModifyEntries::name() const {
+TQString ModifyEntries::name() const {
return m_entries.count() > 1 ? i18n("Modify Entries")
- : i18n("Modify (Entry Title)", "Modify %1").arg(m_entries.begin()->title());
+ : i18n("Modify (Entry Title)", "Modify %1").tqarg(m_entries.begin()->title());
}
void ModifyEntries::swapValues() {