Re: Re: kbluetooth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



why is it that nobody replys to anything in this mailing list :( ??
sorry, I wish I can help you.

respectfully

On Wed, Dec 21, 2016 at 1:19 AM, deloptes <deloptes@xxxxxxxxx> wrote:
I am afraid I am missing something like python dbus.mainloop.tqt
for the kblueplugd

from   python_tqt import qt
import dbus
import dbus.mainloop.qt <<<<<<< HERE
import distutils.spawn

kbtcmd    = [ 'kbluetooth' ]
quitprogs = [ 'kdebluetooth', 'kbluemon', 'kinputwizard' ]  # FIXME: quit
kbluelock too?


app = qt.TQApplication(sys.argv)
if app.isSessionRestored():
        sys.exit(1)

dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True) <<<<<<< HERE
bus = dbus.SystemBus()

try:
        manager =
dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager')
except:
        print "Unable to connect to bluez."
        sys.exit(1)



---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net
For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting



[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux