summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/specialchardialog.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
commit36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (patch)
tree629d3942958745660e36c30b0d6139af9459c0f8 /quanta/dialogs/specialchardialog.cpp
parent929d7ae4f69d62b8f1f6d3506adf75f017753935 (diff)
downloadtdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.tar.gz
tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/dialogs/specialchardialog.cpp')
-rw-r--r--quanta/dialogs/specialchardialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/dialogs/specialchardialog.cpp b/quanta/dialogs/specialchardialog.cpp
index 2caa497e..f8697123 100644
--- a/quanta/dialogs/specialchardialog.cpp
+++ b/quanta/dialogs/specialchardialog.cpp
@@ -52,7 +52,7 @@ void SpecialCharDialog::filterChars(const TQString& filter)
CharsListBox->insertStringList(charList);
else {
for (TQStringList::ConstIterator it = charList.begin(); it != charList.end(); ++it)
- if ( (*it).tqcontains(filter, false) )
+ if ( (*it).contains(filter, false) )
CharsListBox->insertItem(*it);
}
if (CharsListBox->currentItem() == -1 && CharsListBox->count())
@@ -67,8 +67,8 @@ TQString SpecialCharDialog::selection()
void SpecialCharDialog::insertCode()
{
TQString selected = CharsListBox->text(CharsListBox->currentItem());
- int begin = selected.tqfind("(&")+1;
- int length = selected.tqfind(";)") - begin + 1;
+ int begin = selected.find("(&")+1;
+ int length = selected.find(";)") - begin + 1;
m_selection = selected.mid(begin, length);
done(TQDialog::Accepted);
}