diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:04 -0600 |
commit | 4744cb9332b5879f248dac23703bd15e208b948a (patch) | |
tree | ed3e10d2a574a3c998fe3efd37c9a2d0da7cc8c7 /bibletime/backend/cswordmoduleinfo.cpp | |
parent | b3604f731cc45450d860d07be06fc050339de07a (diff) | |
download | bibletime-4744cb9332b5879f248dac23703bd15e208b948a.tar.gz bibletime-4744cb9332b5879f248dac23703bd15e208b948a.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'bibletime/backend/cswordmoduleinfo.cpp')
-rw-r--r-- | bibletime/backend/cswordmoduleinfo.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/bibletime/backend/cswordmoduleinfo.cpp b/bibletime/backend/cswordmoduleinfo.cpp index 77b46da..ecb03d0 100644 --- a/bibletime/backend/cswordmoduleinfo.cpp +++ b/bibletime/backend/cswordmoduleinfo.cpp @@ -714,40 +714,40 @@ TQString CSwordModuleInfo::aboutText() const { text += "<font size=\"-1\"><table>"; text += TQString("<tr><td><b>%1</b></td><td>%2</td><tr>") - .tqarg(i18n("Version")) - .tqarg(hasVersion()? config(CSwordModuleInfo::ModuleVersion) : i18n("unknown")); + .arg(i18n("Version")) + .arg(hasVersion()? config(CSwordModuleInfo::ModuleVersion) : i18n("unknown")); text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Markup")) - .tqarg(!TQString(m_module->getConfigEntry("SourceType")).isEmpty()? m_module-> + .arg(i18n("Markup")) + .arg(!TQString(m_module->getConfigEntry("SourceType")).isEmpty()? m_module-> getConfigEntry("SourceType") : i18n("unknown").ascii()); text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Location")) - .tqarg(config(CSwordModuleInfo::AbsoluteDataPath)); + .arg(i18n("Location")) + .arg(config(CSwordModuleInfo::AbsoluteDataPath)); text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Language")) - .tqarg(language()->translatedName()); + .arg(i18n("Language")) + .arg(language()->translatedName()); if (m_module->getConfigEntry("Category")) text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Category")) - .tqarg(m_module->getConfigEntry("Category")); + .arg(i18n("Category")) + .arg(m_module->getConfigEntry("Category")); if (m_module->getConfigEntry("LCSH")) text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("LCSH")) - .tqarg(m_module->getConfigEntry("LCSH")); + .arg(i18n("LCSH")) + .arg(m_module->getConfigEntry("LCSH")); text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Writable")) - .tqarg(isWritable()? i18n("yes") : i18n("no")); + .arg(i18n("Writable")) + .arg(isWritable()? i18n("yes") : i18n("no")); if (isEncrypted()) text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Unlock key")) - .tqarg(config(CSwordModuleInfo::CipherKey)); + .arg(i18n("Unlock key")) + .arg(config(CSwordModuleInfo::CipherKey)); TQString options; @@ -765,19 +765,19 @@ TQString CSwordModuleInfo::aboutText() const { if (!options.isEmpty()) { text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(i18n("Features")) - .tqarg(options); + .arg(i18n("Features")) + .arg(options); } text += "</table><hr>"; if (category() == Cult) //clearly say the module contains cult/questionable materials text += TQString("<br/><b>%1</b><br/><br/>") - .tqarg(i18n("Take care, this work contains cult / questionable material!")); + .arg(i18n("Take care, this work contains cult / questionable material!")); text += TQString("<b>%1:</b><br><font size=\"-1\">%2</font>") - .tqarg(i18n("About")) - .tqarg(config(AboutInformation)); + .arg(i18n("About")) + .arg(config(AboutInformation)); typedef TQValueList<CSwordModuleInfo::ConfigEntry> ListConfigEntry; @@ -834,8 +834,8 @@ TQString CSwordModuleInfo::aboutText() const { if (!t.isEmpty()) { text += TQString("<tr><td><b>%1</b></td><td>%2</td></tr>") - .tqarg(entryMap[*it]) - .tqarg(config(*it)); + .arg(entryMap[*it]) + .arg(config(*it)); } } |