Review Request 116880: Add PresenceManager class for use from QML

Siddhartha Sahu sh.siddhartha at gmail.com
Sat Mar 29 17:46:53 UTC 2014



> On March 29, 2014, 10:32 p.m., Martin Klapetek wrote:
> > GlobalPresence also supports setting a presence message, do you have any plans for that?

Yes surely :)
Currently the setPresence call is not working, so I posted my WIP code to get feedback on what I am doing wrong.


> On March 29, 2014, 10:32 p.m., Martin Klapetek wrote:
> > KTp/Declarative/presence-manager.h, lines 44-54
> > <https://git.reviewboard.kde.org/r/116880/diff/2/?file=258059#file258059line44>
> >
> >     Is there a reason we copy this from tp-qt? Can we just do Q_ENUMS(Tp::ConnectionPresenceType) (if it's not already)?

I did try. I'm getting an "error: ‘staticMetaObject’ is not a member of ‘Tp’"


> On March 29, 2014, 10:32 p.m., Martin Klapetek wrote:
> > KTp/Declarative/presence-manager.cpp, line 57
> > <https://git.reviewboard.kde.org/r/116880/diff/2/?file=258060#file258060line57>
> >
> >     Try to minimize the debug output as much as possible, this is not a very useful for anyone except the developer (and it's perfectly fine to have loads of kDebugs locally).

I'll clean up before committing :)


- Siddhartha


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


On March 29, 2014, 10 p.m., Siddhartha Sahu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116880/
> -----------------------------------------------------------
> 
> (Updated March 29, 2014, 10 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Repository: ktp-common-internals
> 
> 
> Description
> -------
> 
> [Work in progress]
> 
> This adds a PresenceManager class to Declarative code that can be used from QML to get and set global presence.
> 
> 
> Diffs
> -----
> 
>   KTp/Declarative/qml-plugins.cpp bc134e0dcb35ebd323dee5164a8ce5ae5537dd75 
>   KTp/Declarative/presence-manager.cpp PRE-CREATION 
>   KTp/Declarative/presence-manager.h PRE-CREATION 
>   KTp/Declarative/CMakeLists.txt 57025536af43279d31380f32a2827e4060686fdc 
> 
> Diff: https://git.reviewboard.kde.org/r/116880/diff/
> 
> 
> Testing
> -------
> 
> Is accessible from ktp-active, functions called successfully with parameters
> 
> 
> Thanks,
> 
> Siddhartha Sahu
> 
>

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


More information about the KDE-Telepathy mailing list