summaryrefslogtreecommitdiffstats
path: root/korganizer/kojournaleditor.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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /korganizer/kojournaleditor.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/kojournaleditor.cpp')
-rw-r--r--korganizer/kojournaleditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kojournaleditor.cpp b/korganizer/kojournaleditor.cpp
index 3570f6eca..23bdbe8f8 100644
--- a/korganizer/kojournaleditor.cpp
+++ b/korganizer/kojournaleditor.cpp
@@ -118,9 +118,9 @@ void KOJournalEditor::newJournal()
void KOJournalEditor::setTexts( const TQString &summary, const TQString &description )
{
- if ( description.isEmpty() && summary.tqcontains("\n") ) {
+ if ( description.isEmpty() && summary.contains("\n") ) {
mGeneral->setDescription( summary );
- int pos = summary.tqfind( "\n" );
+ int pos = summary.find( "\n" );
mGeneral->setSummary( summary.left( pos ) );
} else {
mGeneral->setSummary( summary );