Review Request: Add syntax for changing global presence

Martin Klapetek martin.klapetek at gmail.com
Thu Jul 5 10:54:20 UTC 2012



> On July 4, 2012, 3:07 p.m., David Edmundson wrote:
> > src/contactrunner.cpp, line 515
> > <http://git.reviewboard.kde.org/r/105407/diff/1/?file=70950#file70950line515>
> >
> >     Use KTp::Presence() to get the icon. (you create one anyway).
> >     
> >     Also KIcon("blah") is generally used instead of QIcon::fromTheme("blah").

KIcon is going to be deprecated in KF5 in favor of QIcon::fromTheme. But still, use the KTp::presence() to get the icon, we'll fix it in there then.


- Martin


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


On July 2, 2012, 8:22 a.m., Dan Vratil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105407/
> -----------------------------------------------------------
> 
> (Updated July 2, 2012, 8:22 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> This patch adds syntax for changing global presence:
> 
> go online|away|busy|hidden|offline [status message]
> 
> The status message is optional. The "go" keyword and presence names are translatable.
> 
> 
> Diffs
> -----
> 
>   src/contactrunner.h c316aa4 
>   src/contactrunner.cpp 0d48c79 
> 
> Diff: http://git.reviewboard.kde.org/r/105407/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dan Vratil
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120705/1f4d4ccc/attachment-0001.html>


More information about the KDE-Telepathy mailing list