[Kde-pim] Review Request: Refactor the formatting functions inside KCal

Kevin Krammer kevin.krammer at gmx.at
Sat Feb 21 16:29:45 GMT 2009



> On 2009-02-21 08:22:50, Allen Winter wrote:
> > trunk/KDE/kdepimlibs/kcal/incidenceformatter.h, line 188
> > <http://reviewboard.kde.org/r/134/diff/1/?file=839#file839line188>
> >
> >     how about calling this dateTimeToStr() instead?  i.e. don't make it specific to an event, especially since its being used to print a to-do due date.
> >     
> >     mention in the apidox that printing to-do start/due or journal start should always pass allday=true.

How about using "String" instead of "Str". Makes them more consistent with toString() methods of other classes.

And probably get rid of the booleans in favor of using flags for improving readability of calls to these methods?


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/134/#review214
-----------------------------------------------------------


On 2009-02-20 05:16:09, Csaba Kertész wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/134/
> -----------------------------------------------------------
> 
> (Updated 2009-02-20 05:16:09)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> Move the rest formatting functions to incidenceformatter class inside KCal
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdepimlibs/kcal/htmlexport.cpp 924164 
>   trunk/KDE/kdepimlibs/kcal/incidenceformatter.h 924164 
>   trunk/KDE/kdepimlibs/kcal/incidenceformatter.cpp 924164 
> 
> Diff: http://reviewboard.kde.org/r/134/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Csaba
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list