summaryrefslogtreecommitdiffstats
path: root/src/commands
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:41:14 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:41:14 -0600
commit26f93a7d9105483b49ae930545ddb2873156fa8e (patch)
treebd208384438ff06193cc1a0a1548a9d69a83cd41 /src/commands
parent8d9b90ca794ffabf151719c2edebe9278a2d3f36 (diff)
downloadtellico-26f93a7d9105483b49ae930545ddb2873156fa8e.tar.gz
tellico-26f93a7d9105483b49ae930545ddb2873156fa8e.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/addentries.cpp2
-rw-r--r--src/commands/addloans.cpp2
-rw-r--r--src/commands/fieldcommand.cpp6
-rw-r--r--src/commands/modifyentries.cpp2
-rw-r--r--src/commands/removeentries.cpp2
-rw-r--r--src/commands/removeloans.cpp2
-rw-r--r--src/commands/updateentries.cpp2
7 files changed, 9 insertions, 9 deletions
diff --git a/src/commands/addentries.cpp b/src/commands/addentries.cpp
index 9460ebd..87d7bc7 100644
--- a/src/commands/addentries.cpp
+++ b/src/commands/addentries.cpp
@@ -60,5 +60,5 @@ void AddEntries::unexecute() {
TQString AddEntries::name() const {
return m_entries.count() > 1 ? i18n("Add Entries")
- : i18n("Add (Entry Title)", "Add %1").tqarg(m_entries.begin()->title());
+ : i18n("Add (Entry Title)", "Add %1").arg(m_entries.begin()->title());
}
diff --git a/src/commands/addloans.cpp b/src/commands/addloans.cpp
index d5ce78a..bbef197 100644
--- a/src/commands/addloans.cpp
+++ b/src/commands/addloans.cpp
@@ -106,5 +106,5 @@ void AddLoans::unexecute() {
TQString AddLoans::name() const {
return m_loans.count() > 1 ? i18n("Check-out Items")
- : i18n("Check-out (Entry Title)", "Check-out %1").tqarg(m_loans.begin()->entry()->title());
+ : i18n("Check-out (Entry Title)", "Check-out %1").arg(m_loans.begin()->entry()->title());
}
diff --git a/src/commands/fieldcommand.cpp b/src/commands/fieldcommand.cpp
index 5ba080b..43c063a 100644
--- a/src/commands/fieldcommand.cpp
+++ b/src/commands/fieldcommand.cpp
@@ -101,11 +101,11 @@ void FieldCommand::unexecute() {
TQString FieldCommand::name() const {
switch(m_mode) {
case FieldAdd:
- return i18n("Add %1 Field").tqarg(m_activeField->title());
+ return i18n("Add %1 Field").arg(m_activeField->title());
case FieldModify:
- return i18n("Modify %1 Field").tqarg(m_activeField->title());
+ return i18n("Modify %1 Field").arg(m_activeField->title());
case FieldRemove:
- return i18n("Delete %1 Field").tqarg(m_activeField->title());
+ return i18n("Delete %1 Field").arg(m_activeField->title());
}
// hush warnings
return TQString();
diff --git a/src/commands/modifyentries.cpp b/src/commands/modifyentries.cpp
index 7317314..3db5297 100644
--- a/src/commands/modifyentries.cpp
+++ b/src/commands/modifyentries.cpp
@@ -70,7 +70,7 @@ void ModifyEntries::unexecute() {
TQString ModifyEntries::name() const {
return m_entries.count() > 1 ? i18n("Modify Entries")
- : i18n("Modify (Entry Title)", "Modify %1").tqarg(m_entries.begin()->title());
+ : i18n("Modify (Entry Title)", "Modify %1").arg(m_entries.begin()->title());
}
void ModifyEntries::swapValues() {
diff --git a/src/commands/removeentries.cpp b/src/commands/removeentries.cpp
index bf2676b..1fb9b60 100644
--- a/src/commands/removeentries.cpp
+++ b/src/commands/removeentries.cpp
@@ -46,5 +46,5 @@ void RemoveEntries::unexecute() {
TQString RemoveEntries::name() const {
return m_entries.count() > 1 ? i18n("Delete Entries")
- : i18n("Delete (Entry Title)", "Delete %1").tqarg(m_entries.begin()->title());
+ : i18n("Delete (Entry Title)", "Delete %1").arg(m_entries.begin()->title());
}
diff --git a/src/commands/removeloans.cpp b/src/commands/removeloans.cpp
index 7ee321b..3d39886 100644
--- a/src/commands/removeloans.cpp
+++ b/src/commands/removeloans.cpp
@@ -77,5 +77,5 @@ void RemoveLoans::unexecute() {
TQString RemoveLoans::name() const {
return m_loans.count() > 1 ? i18n("Check-in Entries")
- : i18n("Check-in (Entry Title)", "Check-in %1").tqarg(m_loans.begin()->entry()->title());
+ : i18n("Check-in (Entry Title)", "Check-in %1").arg(m_loans.begin()->entry()->title());
}
diff --git a/src/commands/updateentries.cpp b/src/commands/updateentries.cpp
index 6b53102..32ab8e0 100644
--- a/src/commands/updateentries.cpp
+++ b/src/commands/updateentries.cpp
@@ -47,7 +47,7 @@ private:
}
UpdateEntries::UpdateEntries(Data::CollPtr coll_, Data::EntryPtr oldEntry_, Data::EntryPtr newEntry_, bool overWrite_)
- : Group(i18n("Modify (Entry Title)", "Modify %1").tqarg(newEntry_->title()))
+ : Group(i18n("Modify (Entry Title)", "Modify %1").arg(newEntry_->title()))
, m_coll(coll_)
, m_oldEntry(oldEntry_)
, m_newEntry(newEntry_)