summaryrefslogtreecommitdiffstats
path: root/ksirc/ahistlineedit.cpp
diff options
context:
space:
mode:
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);
}
}