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 | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /konsolekalendar | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-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')
-rw-r--r-- | konsolekalendar/COPYING | 4 | ||||
-rw-r--r-- | konsolekalendar/ROADMAP | 2 | ||||
-rw-r--r-- | konsolekalendar/konsolekalendarexports.cpp | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/konsolekalendar/COPYING b/konsolekalendar/COPYING index b55fa1466..54754ab4b 100644 --- a/konsolekalendar/COPYING +++ b/konsolekalendar/COPYING @@ -59,7 +59,7 @@ modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which tqcontains + 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following: The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source -code means all the source code for all modules it tqcontains, plus any +code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include diff --git a/konsolekalendar/ROADMAP b/konsolekalendar/ROADMAP index 6d8a4a27f..333366ec7 100644 --- a/konsolekalendar/ROADMAP +++ b/konsolekalendar/ROADMAP @@ -8,7 +8,7 @@ Inner Version| | From KDE version 1.3.4 | New remote calendar support | cvs 1.3.5 | Remove old input system.. | cvs 1.3.6 | Test..test..test it baby | cvs -1.4 | Start creating outputs try to tqfind | +1.4 | Start creating outputs try to find | | People who need these.. | cvs 1.5 | Implement possibility to execute app | cvs 1.5.1 | Do something;) 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; |