diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | fbb51be9cf90010543720218379f0cba3e009302 (patch) | |
tree | 2c25c57731bff5da5c6c02e2e04482922e87506d /bibletime/frontend/display/cplainwritedisplay.cpp | |
parent | 87507feff3710d4f3e251b92e63fe876242312fe (diff) | |
download | bibletime-fbb51be9cf90010543720218379f0cba3e009302.tar.gz bibletime-fbb51be9cf90010543720218379f0cba3e009302.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'bibletime/frontend/display/cplainwritedisplay.cpp')
-rw-r--r-- | bibletime/frontend/display/cplainwritedisplay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bibletime/frontend/display/cplainwritedisplay.cpp b/bibletime/frontend/display/cplainwritedisplay.cpp index 29f0a78..bfe35c5 100644 --- a/bibletime/frontend/display/cplainwritedisplay.cpp +++ b/bibletime/frontend/display/cplainwritedisplay.cpp @@ -42,8 +42,8 @@ void CPlainWriteDisplay::selectAll() { void CPlainWriteDisplay::setText( const TQString& newText ) { //make sure the text has been converted to show \n instead of <br/> TQString text = newText; -// text.tqreplace("\n<br /><!-- BT newline -->\n", "\n"); - text.tqreplace("<br />", "\n"); //inserted by BT or the TQt textedit widget +// text.replace("\n<br /><!-- BT newline -->\n", "\n"); + text.replace("<br />", "\n"); //inserted by BT or the TQt textedit widget TQTextEdit::setText(text); } @@ -80,7 +80,7 @@ const TQString CPlainWriteDisplay::plainText() { TQString ret = TQTextEdit::text(); //in plain text mode the text just contains newlines, convert them into <br/> before we return the text for display in a HTML widget - ret.tqreplace("\n", "<br />"); + ret.replace("\n", "<br />"); return ret; } |