summaryrefslogtreecommitdiffstats
path: root/ksirc/ahistlineedit.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
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /ksirc/ahistlineedit.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/ahistlineedit.cpp')
-rw-r--r--ksirc/ahistlineedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/ahistlineedit.cpp b/ksirc/ahistlineedit.cpp
index 80eb2eec..2baa2381 100644
--- a/ksirc/ahistlineedit.cpp
+++ b/ksirc/ahistlineedit.cpp
@@ -93,7 +93,7 @@ int aHistLineEdit::cursorPosition() const
void aHistLineEdit::slotMaybeResize()
{
/*
- if(TQTextEdit::text().tqcontains("\n")){
+ if(TQTextEdit::text().contains("\n")){
setText(text());
setCursorPosition(text().length());
}
@@ -385,7 +385,7 @@ void aHistLineEdit::paste()
}
else {
TQString paste = TQApplication::tqclipboard()->text(TQClipboard::Selection);
- paste.tqreplace("\n", " ~ ");
+ paste.replace("\n", " ~ ");
insert(paste);
}
}