summaryrefslogtreecommitdiffstats
path: root/konsolekalendar/konsolekalendarexports.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 /konsolekalendar/konsolekalendarexports.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 'konsolekalendar/konsolekalendarexports.cpp')
-rw-r--r--konsolekalendar/konsolekalendarexports.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/konsolekalendar/konsolekalendarexports.cpp b/konsolekalendar/konsolekalendarexports.cpp
index cc3edf875..af371d07e 100644
--- a/konsolekalendar/konsolekalendarexports.cpp
+++ b/konsolekalendar/konsolekalendarexports.cpp
@@ -174,21 +174,21 @@ bool KonsoleKalendarExports::exportAsTxtShort( TQTextStream *ts,
*ts << "\t";
// Print Event Summary
- *ts << event->summary().tqreplace( TQChar( '\n' ), TQChar( ' ' ) );
+ *ts << event->summary().replace( TQChar( '\n' ), TQChar( ' ' ) );
// Print Event Location
if ( !event->location().isEmpty() ) {
if ( !event->summary().isEmpty() ) {
*ts << ", ";
}
- *ts << event->location().tqreplace( TQChar( '\n' ), TQChar( ' ' ) );
+ *ts << event->location().replace( TQChar( '\n' ), TQChar( ' ' ) );
}
*ts << endl;
// Print Event Description
if ( !event->description().isEmpty() ) {
*ts << "\t\t\t"
- << event->description().tqreplace( TQChar( '\n' ), TQChar( ' ' ) )
+ << event->description().replace( TQChar( '\n' ), TQChar( ' ' ) )
<< endl;
}
@@ -204,7 +204,7 @@ TQString KonsoleKalendarExports::processField( TQString field, TQString dquote )
// 2. Surrounds field with double quotes
TQString double_dquote = dquote + dquote;
- TQString retField = dquote + field.tqreplace( dquote, double_dquote ) + dquote;
+ TQString retField = dquote + field.replace( dquote, double_dquote ) + dquote;
return retField;
}
@@ -233,9 +233,9 @@ bool KonsoleKalendarExports::exportAsCSV( TQTextStream *ts,
<< delim << pF( "" );
}
- *ts << delim << pF( event->summary().tqreplace( TQChar('\n'), TQChar(' ') ) )
- << delim << pF( event->location().tqreplace( TQChar('\n'), TQChar(' ') ) )
- << delim << pF( event->description().tqreplace( TQChar('\n'), TQChar(' ') ) )
+ *ts << delim << pF( event->summary().replace( TQChar('\n'), TQChar(' ') ) )
+ << delim << pF( event->location().replace( TQChar('\n'), TQChar(' ') ) )
+ << delim << pF( event->description().replace( TQChar('\n'), TQChar(' ') ) )
<< delim << pF( event->uid() )
<< endl;