Review Request: Add support for showing available rooms

David Edmundson kde at davidedmundson.co.uk
Sun Jan 29 18:44:03 UTC 2012


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

Ship it!


Two minor fairly common model mistakes. 
Fix this and anything from the last review - then Ship it!




rooms-model.cpp
<http://git.reviewboard.kde.org/r/103825/#comment8398>

    check newRoomList.size() > 0



rooms-model.cpp
<http://git.reviewboard.kde.org/r/103825/#comment8397>

    check size isn't currently 0.
     (if it is do nothing)
    
    Otherwise you remove 0 to -1.


- David Edmundson


On Jan. 29, 2012, 6:36 p.m., Dominik Cermak wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103825/
> -----------------------------------------------------------
> 
> (Updated Jan. 29, 2012, 6:36 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> This adds support for showing available rooms. You can query the default server of the selected account or specify a server yourself.
> The list shows if the room is password protected, how many persons are there, the name and the description.
> 
> Suggestions for a better design are welcome.
> Maybe make the labels of the first to lineedits also a clickMessage?
> 
> 
> This addresses bug 291711.
>     http://bugs.kde.org/show_bug.cgi?id=291711
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt e57d3895981c0d2b5a6f35e3e4265fca86e4ec28 
>   dialogs/join-chat-room-dialog.h d0aba22bba3f271294bcaeae4b0e2527d200ac87 
>   dialogs/join-chat-room-dialog.cpp 164f910aa7d06bab3ca3f7d9d472aa6d2d5ed09f 
>   dialogs/join-chat-room-dialog.ui 6c64151b629139a69e21b85b09c7c57498f2cd8a 
>   rooms-model.h PRE-CREATION 
>   rooms-model.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/103825/diff/diff
> 
> 
> Testing
> -------
> 
> Tested with XMPP.
> 
> 
> Screenshots
> -----------
> 
> Dialog with roomlist
>   http://git.reviewboard.kde.org/r/103825/s/422/
> 
> 
> Thanks,
> 
> Dominik Cermak
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120129/8ea67d1b/attachment-0001.html>


More information about the KDE-Telepathy mailing list