diff options
Diffstat (limited to 'kmymoney2/dialogs/settings')
-rw-r--r-- | kmymoney2/dialogs/settings/ksettingsgpg.cpp | 6 | ||||
-rw-r--r-- | kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp index f34c2d8..b6cca2e 100644 --- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp +++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp @@ -151,11 +151,11 @@ void KSettingsGpg::show(void) if(fields[0] != RECOVER_KEY_ID_FULL) { // replace parenthesis in name field with brackets TQString name = fields[1]; - name.tqreplace('(', "["); - name.tqreplace(')', "]"); + name.replace('(', "["); + name.replace(')', "]"); name = TQString("%1 (0x%2)").tqarg(name).tqarg(fields[0]); m_masterKeyCombo->insertItem(name); - if(name.tqcontains(masterKey)) + if(name.contains(masterKey)) m_masterKeyCombo->setCurrentItem(name); } } diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp index a17fd6e..670e5ab 100644 --- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp +++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp @@ -104,7 +104,7 @@ void KSettingsOnlineQuotes::loadList(const bool updateResetList) m_quoteSourceList->setSelected(first, true); slotLoadWidgets(first); - m_newButton->setEnabled(m_quoteSourceList->tqfindItem(i18n("New Quote Source"), 0) == 0); + m_newButton->setEnabled(m_quoteSourceList->findItem(i18n("New Quote Source"), 0) == 0); } void KSettingsOnlineQuotes::resetConfig(void) @@ -190,7 +190,7 @@ void KSettingsOnlineQuotes::slotNewEntry(void) WebPriceQuoteSource newSource(i18n("New Quote Source")); newSource.write(); loadList(); - TQListViewItem* item = m_quoteSourceList->tqfindItem(i18n("New Quote Source"), 0); + TQListViewItem* item = m_quoteSourceList->findItem(i18n("New Quote Source"), 0); if(item) { m_quoteSourceList->setSelected(item, true); slotLoadWidgets(item); @@ -213,7 +213,7 @@ void KSettingsOnlineQuotes::slotEntryRenamed(TQListViewItem* item, const TQStrin } else { item->setText(0, m_currentItem.m_name); } - m_newButton->setEnabled(m_quoteSourceList->tqfindItem(i18n("New Quote Source"), 0) == 0); + m_newButton->setEnabled(m_quoteSourceList->findItem(i18n("New Quote Source"), 0) == 0); } #include "ksettingsonlinequotes.moc" |