Review Request 119064: Add a "Go online" button when offline

David Edmundson david at davidedmundson.co.uk
Tue Jul 1 19:41:17 UTC 2014


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



contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
<https://git.reviewboard.kde.org/r/119064/#comment42760>

    I don't like the use of "magic numbers" here. 
    
    0 happens to be online at the moment; but it's not a future proof solution.


However I can't think of much that I'm very happy with either

Making requestedPresenceType as well is rubbish, you're liable to lose messages and having 2 writeable properties for sort of the same thing is going to lead to problems. 
Making Tp::Presence a QObject is a massive overcomplication that doesn't seem right either.

One option is to have a Q_INVOKABLE on GlobalPresence that returns a Tp::Presence? 

- David Edmundson


On July 1, 2014, 2:16 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119064/
> -----------------------------------------------------------
> 
> (Updated July 1, 2014, 2:16 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Repository: ktp-desktop-applets
> 
> 
> Description
> -------
> 
> We're showing an empty view when we're offline. This should be improved, so I took the fast and simple approach first.
> 
> 
> Diffs
> -----
> 
>   contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml 826465a 
> 
> Diff: https://git.reviewboard.kde.org/r/119064/diff/
> 
> 
> Testing
> -------
> 
> It's simple and it works. I like it.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20140701/739fedad/attachment-0001.html>


More information about the KDE-Telepathy mailing list