Review Request: Initial implementation of telepathy-approver
Dario Freddi
drf at kde.org
Sat Dec 11 14:14:28 CET 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100199/#review490
-----------------------------------------------------------
Ship it!
To me it looks ok, I agree with Daniele's comments and I have a pair more.
src/approverdaemon.h
<http://git.reviewboard.kde.org/r/100199/#comment372>
In this case, you definitely want to have a QObject *parent in the constructor to properly use the parenting features. Also, using Q_OBJECT is always advised on every QObject, even if you don't need metaobject features, so I strongly advise to put it nevertheless
src/textchannelapprover.cpp
<http://git.reviewboard.kde.org/r/100199/#comment371>
I'm kinda concerned about this approach: could you please elaborate on why you need such complex logic for handling the notifier item? Ideally, with the notifier item approach, you would always have a notifier item object, and you require attention/show/hide depending on the needs of the application.
- Dario
On 2010-12-09 20:27:51, George Kiagiadakis wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100199/
> -----------------------------------------------------------
>
> (Updated 2010-12-09 20:27:51)
>
>
> Review request for Telepathy.
>
>
> Summary
> -------
>
> This is the initial implementation of the approver. It can approve p2p text chats only, for now. It is build as a kded module. When a new message arrives, it shows a knotify popup, it plays a sound and shows a KStatusNotifierItem flashing in the tray.
>
> gitweb url:
> http://gitweb.kde.org/clones/telepathy-approver/gkiagia/telepathy-approver.git/shortlog/refs/heads/implementation
>
>
> Diffs
> -----
>
> CMakeLists.txt PRE-CREATION
> src/CMakeLists.txt PRE-CREATION
> src/approverdaemon.h PRE-CREATION
> src/approverdaemon.cpp PRE-CREATION
> src/channelapprover.h PRE-CREATION
> src/channelapprover.cpp PRE-CREATION
> src/dispatchoperation.h PRE-CREATION
> src/dispatchoperation.cpp PRE-CREATION
> src/handlewithcaller.h PRE-CREATION
> src/handlewithcaller.cpp PRE-CREATION
> src/telepathy_kde_approver.desktop PRE-CREATION
> src/telepathy_kde_approver.notifyrc PRE-CREATION
> src/textchannelapprover.h PRE-CREATION
> src/textchannelapprover.cpp PRE-CREATION
> src/tpkdeapprovermodule.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/100199/diff
>
>
> Testing
> -------
>
> Tested with empathy as the chat handler. Currently the "respond" button on the popup doesn't seem to work, but I blame knotify's crappiness for that. Clicking on the flashing icon works perfectly, though.
>
>
> Thanks,
>
> George
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-telepathy/attachments/20101211/d2ba0f7f/attachment.htm
More information about the KDE-Telepathy
mailing list