Review Request: Support drag and drop file transfer

Dominik Cermak d.cermak at arcor.de
Sun Dec 25 09:39:34 UTC 2011



> On Dec. 25, 2011, 12:44 a.m., David Edmundson wrote:
> > contact-list-widget.cpp, line 653
> > <http://git.reviewboard.kde.org/r/103520/diff/3-4/?file=44754#file44754line653>
> >
> >     If I read this code correctly you're grabbing the entire line from the view - i.e avatar + name + icon etc.
> >     
> >     If so, don't  call the pixmap avatar :-)

Good spot! Previously I only took the avatar but that's not so good if you have multiple contacts without one.


- Dominik


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


On Dec. 24, 2011, 10:56 p.m., Dominik Cermak wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103520/
> -----------------------------------------------------------
> 
> (Updated Dec. 24, 2011, 10:56 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> Adds support for drag and drop file transfer.
> Before the model handled the drag and drop of contacts between groups,
> but with reimplementing the drag*Event methods this stopped working so I moved the logic in the view.
> (I will later clean up the model, I'm sure now there is unused code.)
> 
> 
> This addresses bug 288560.
>     http://bugs.kde.org/show_bug.cgi?id=288560
> 
> 
> Diffs
> -----
> 
>   contact-list-widget_p.h 9f9914616be89884f5d2971782fa0c3cf20d3ac0 
>   contact-list-widget.h 85cac2a3912b127589757d95a32c64fa40444979 
>   contact-list-widget.cpp 3d4362442eb37577fcf067b1bd24daa80222b196 
> 
> Diff: http://git.reviewboard.kde.org/r/103520/diff/diff
> 
> 
> Testing
> -------
> 
> Drag and dropping contacts to groups works.
> Dropping one or more local file(s) over a contact starts the filetransfer(s).
> 
> 
> Thanks,
> 
> Dominik Cermak
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20111225/720aa1dc/attachment.html>


More information about the KDE-Telepathy mailing list