Review Request 115984: Implement the d-pointer in KCompletionBase as in the other classes

Aleix Pol Gonzalez aleixpol at kde.org
Wed Feb 26 12:32:42 UTC 2014


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

Ship it!


Looks good to me.

- Aleix Pol Gonzalez


On Feb. 24, 2014, 12:06 a.m., David Gil Oliva wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115984/
> -----------------------------------------------------------
> 
> (Updated Feb. 24, 2014, 12:06 a.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kcompletion
> 
> 
> Description
> -------
> 
> Implement the d-pointer in KCompletionBase as in the other classes
> 
> Add two methods: setEmitSignals(bool) and setKeybindingsMap(KeyBindingMap)
> to be called from setDelegate(). Otherwise, it doesn't seem plausible
> to reach the private member variables like this (the compiler complains):
> 
> delegate->d->emitsRotationSignals = d->emitsRotationSignals;
> 
> Now that has become:
> 
> delegate->setEmitSignals(d->emitsRotationSignals);
> 
> For coherence, implement the QScopedPointer and the init() method.
> 
> 
> Diffs
> -----
> 
>   src/kcompletionbase.h 105a6d0 
>   src/kcompletionbase.cpp 66f9398 
> 
> Diff: https://git.reviewboard.kde.org/r/115984/diff/
> 
> 
> Testing
> -------
> 
> It builds. Tests pass.
> 
> 
> Thanks,
> 
> David Gil Oliva
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140226/5210cb58/attachment.html>


More information about the Kde-frameworks-devel mailing list