[Konsole-devel] Review Request 128346: Port to QRegularExpression

Sune Vuorela kde at pusling.com
Mon Jul 4 18:53:32 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128346/#review97088
-----------------------------------------------------------



In general, looks good. Just a few comments.


src/KeyboardTranslator.cpp (line 362)
<https://git.reviewboard.kde.org/r/128346/#comment65582>

    const?



src/KeyboardTranslator.cpp (line 365)
<https://git.reviewboard.kde.org/r/128346/#comment65583>

    const?



src/Profile.cpp (line 319)
<https://git.reviewboard.kde.org/r/128346/#comment65584>

    const?



src/SessionController.cpp (line 1175)
<https://git.reviewboard.kde.org/r/128346/#comment65585>

    const method?



src/SessionController.cpp (line 1821)
<https://git.reviewboard.kde.org/r/128346/#comment65586>

    if(_regExp.isValid()) ?


- Sune Vuorela


On July 2, 2016, 7:42 p.m., Martin Tobias Holmedahl Sandsmark wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128346/
> -----------------------------------------------------------
> 
> (Updated July 2, 2016, 7:42 p.m.)
> 
> 
> Review request for Konsole and Kurt Hindenburg.
> 
> 
> Repository: konsole
> 
> 
> Description
> -------
> 
> Port away from using QRegExp to QRegularExpression. The result is a bit better performance, a bit more readable code (imho) and also no more relying on mutable state in static objects (like in the keyboard translator parser).
> 
> 
> Diffs
> -----
> 
>   src/Filter.h 8d125f2 
>   src/Filter.cpp 789c4cd 
>   src/KeyboardTranslator.cpp 3effb72 
>   src/Profile.cpp 287b047 
>   src/SessionController.h 32a9e7c 
>   src/SessionController.cpp b37937d 
> 
> Diff: https://git.reviewboard.kde.org/r/128346/diff/
> 
> 
> Testing
> -------
> 
> Tested all the affected code individually.
> 
> 
> Thanks,
> 
> Martin Tobias Holmedahl Sandsmark
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160704/25af0d85/attachment-0001.html>


More information about the konsole-devel mailing list