summaryrefslogtreecommitdiffstats
path: root/kword/KWEditPersonnalExpression.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kword/KWEditPersonnalExpression.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWEditPersonnalExpression.cpp')
-rw-r--r--kword/KWEditPersonnalExpression.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kword/KWEditPersonnalExpression.cpp b/kword/KWEditPersonnalExpression.cpp
index 59b79f97..3af07a3e 100644
--- a/kword/KWEditPersonnalExpression.cpp
+++ b/kword/KWEditPersonnalExpression.cpp
@@ -129,7 +129,7 @@ void KWEditPersonnalExpression::slotGroupSelected()
m_groupLineEdit->blockSignals(true);
m_delExpression->setEnabled(m_groupList->currentItem()!=-1);
m_groupLineEdit->setText(m_groupList->currentText());
- list::Iterator it= listExpression.tqfind(m_groupList->currentText());
+ list::Iterator it= listExpression.find(m_groupList->currentText());
TQStringList lst(it.data());
m_ExpressionsList->blockSignals(true);
m_ExpressionsList->clear();
@@ -147,7 +147,7 @@ void KWEditPersonnalExpression::slotUpdateGroupName(const TQString &newGroupName
return;
m_addGroup->setEnabled( true );
- list::Iterator it= listExpression.tqfind(m_groupList->currentText());
+ list::Iterator it= listExpression.find(m_groupList->currentText());
TQStringList lst(it.data());
listExpression.insert(newGroupName,lst);
listExpression.remove(m_groupList->currentText());
@@ -162,12 +162,12 @@ void KWEditPersonnalExpression::slotUpdateExpression(const TQString &newExpressi
if(newExpression.isEmpty() || m_groupList->currentItem()==-1 || m_ExpressionsList->currentText().isEmpty())
return;
- list::Iterator it= listExpression.tqfind(m_groupList->currentText());
+ list::Iterator it= listExpression.find(m_groupList->currentText());
TQStringList lst = it.data();
- TQStringList::Iterator it2=lst.tqfind(m_ExpressionsList->currentText());
+ TQStringList::Iterator it2=lst.find(m_ExpressionsList->currentText());
lst.insert(it2,TQString(newExpression));
lst.remove(it2);
- listExpression.tqreplace(m_groupList->currentText(),lst);
+ listExpression.replace(m_groupList->currentText(),lst);
lst.remove(m_ExpressionsList->currentText());
m_ExpressionsList->blockSignals(true);
@@ -246,13 +246,13 @@ void KWEditPersonnalExpression::slotOk()
}
void KWEditPersonnalExpression::slotAddExpression() {
- list::Iterator it= listExpression.tqfind(m_groupList->currentText());
+ list::Iterator it= listExpression.find(m_groupList->currentText());
TQStringList lst(it.data());
TQString newWord = i18n("empty");
- if ( lst.tqcontains( newWord ))
+ if ( lst.contains( newWord ))
return;
lst<< newWord;
- listExpression.tqreplace(m_groupList->currentText(),lst);
+ listExpression.replace(m_groupList->currentText(),lst);
m_ExpressionsList->blockSignals(true);
m_ExpressionsList->insertItem(newWord);
@@ -272,10 +272,10 @@ void KWEditPersonnalExpression::slotRemoveExpression() {
TQString text=m_ExpressionsList->currentText ();
if(!text.isEmpty())
{
- list::Iterator it= listExpression.tqfind(m_groupList->currentText());
+ list::Iterator it= listExpression.find(m_groupList->currentText());
TQStringList lst(it.data());
lst.remove(text);
- listExpression.tqreplace(m_groupList->currentText(),lst);
+ listExpression.replace(m_groupList->currentText(),lst);
m_ExpressionsList->blockSignals(true);
m_ExpressionsList->clear();