Message: previous - next
Month: December 2016

Re: [Bulk] [trinity-devel] Re: kbluetooth

From: deloptes <deloptes@...>
Date: Tue, 27 Dec 2016 19:04:36 +0100
Michele Calgaro wrote:

> Hi Emanoil,
> looking at packages available in Debian/Stretch, I see there are these
> packages: - python-dbus.mainloop.pyqt5 � �(for python 2)
> - python3-dbus.mainloop.pyqt5 � (for python 3)
> - python3-dbus.mainloop.qt � � �(fpr python 3 - qt4)
> These packages supply support for the Qt application main loop in python.
> I guess we need something similar for python 2 and Tqt3, which is
> currently not available AFAIK. I guess/hope (I could be wrong of course)
> that starting from the source code of the existing packages you could come
> up with something like that without too many modifications. If you do so,
> we will be very happy to add such package for R14.1

Hi Michele,
I am not a python coder and it is beyond my interests. The purpose of the
code (if I understand correctly) is to spawn the kbluetooth app (which
appears in the system tray) when adapter is plugged in.
As stated I would prefer the functionality as in blueman. This means the
applet runs always and user can enable or disable the adapter etc. - the
python code is obsolete for what I want to do, but it is nice to have.

As also mentioned unfortunately the code is not running "as is" in wheezy
with TDE. It does not make sense to me to work on it.

The code has good conceptual and functional design, which can be reused into
some extent, but the rest would need to be redesigned and rewritten ... I
may try to do it. I could learn a bit more about TDE ... and about
designing complex apps with dbus.