Re: [Telepathy] send local user status
Hi Mateus, On Mon, Jun 6, 2016 at 1:45 AM, Mateus Bellomowrote: > I've implemented both setPresence() and getPresences() methods, but > I didn't see there any methods so the user could send his status info to his > contacts. setPresence() accepts string:Status and string:StatusMessage and designed to send the passed info to contacts. See [1] and [2]. Local user set presence in the UI (Empathy, KDE-Telepathy, ...). The UI calls setPresence(). The CM setPresence() implementation (probably via a special library) sends network packages to inform remotes about the new presence. Morse calls CTelegramCore::setOnlineStatus() of the TelegramQt backend library; Nonsense calls QXmppClient::setClientPresence() of the QXmpp backend library. [1] https://github.com/TelepathyQt/telepathy-nonsense/blob/master/connection.cc#L347 [2] https://github.com/TelepathyQt/telepathy-morse/blob/master/connection.cpp#L655 ___ telepathy mailing list telepathy@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/telepathy
[Telepathy] send local user status
Hello, I'm looking to implement the option to send local user status in telepathy-resiprocate and I want to know which function does that. I was looking at [1] and I've implemented both setPresence() and getPresences() methods, but I didn't see there any methods so the user could send his status info to his contacts. Thanks. [1] https://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html ___ telepathy mailing list telepathy@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/telepathy
Re: [Telepathy] buddy list methods
On Thu, 2016-05-26 at 09:31 -0300, Mateus Bellomo wrote: > > Looking at the first line, you need to install the libqt4-dev > package > (which you probably have already) and ensure that QtGui is included > in > your CPPFLAGS > > Thanks for the tip Daniel. I tried this but still the same error. And > looking at the link that you gave I think I know the problem. In qt4 > the packet QAction is in the qt4/QtGui folder but in qt5 is in the > QtWidgets folder. I could change the line from Do you have qt4-qmake installed? Also If you don't have them it might help to have qtchooser and qt4- default installed as well. when I tried building simpleCm I had the following cmake log (and I was able to build the generated project) * cmake .. -DUSE_QT4=TRUE -DENABLE_EXAMPLE=TRUE -- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.6.0") -- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.6.0") -- Configuring done -- Generating done -- Build files have been written to: /tmp/simpleCm/build * Diane ___ telepathy mailing list telepathy@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/telepathy