Re: [FSO] QT Dbus connection to Gypsy

2008-10-28 Thread Michael Tansella
Are you extracting the data out of the struct with the operators Thank you again for that hint: For interested the way I implemented it: Greets Michael struct GPSSatellite{ int ID; bool InUse; unsigned int Elevation; unsigned

Re: [FSO] QT Dbus connection to Gypsy

2008-10-28 Thread Nicola Mfb
2008/10/28 Michael Tansella [EMAIL PROTECTED] Are you extracting the data out of the struct with the operators Thank you again for that hint: For interested the way I implemented it: Here my snippet to read Phonebooks from sim: struct PhonebookEntry { int index; QString name;

Re: [FSO] QT Dbus connection to Gypsy

2008-10-24 Thread Michael Tansella
On Wednesday 22 October 2008 22:36:51 Michael 'Mickey' Lauer wrote: How exactly does it not work? Are you extracting the data out of the struct with the operators as described in http://doc.trolltech.com/4.2/qdbusargument.html ? Thank you very much, I didn't notice the Class qdbusargument

Re: [FSO] QT Dbus connection to Gypsy

2008-10-22 Thread Michael 'Mickey' Lauer
How exactly does it not work? Are you extracting the data out of the struct with the operators as described in http://doc.trolltech.com/4.2/qdbusargument.html ? :M: ___ Openmoko community mailing list community@lists.openmoko.org

Re: [FSO] QT Dbus connection to Gypsy

2008-10-21 Thread Michael Tansella
Ok now I got it: I can call simple methodes (see below) But one problem I still have. i don't know what type Gypsy.Position.GetPosition returns. When I call it with mdbus it returns: #mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy org.freedesktop.Gypsy.Position.GetPosition

[FSO] QT Dbus connection to Gypsy

2008-10-17 Thread Michael Tansella
Hi, I'm new to QT and Dbus and I want to establish a simple connection to Gypsy. I looked at the Code of Kbluetooth http://kdebluetooth.sourcearchive.com/documentation/1:0.1-0ubuntu1/obexsession_8cpp-source.html and tried to port it to my intensions. But unfortunately it didnt't work.

Re: [FSO] QT Dbus connection to Gypsy

2008-10-17 Thread Michael Tansella
On Friday 17 October 2008 14:27:51 Michael Tansella wrote: QDBusConnection dbusconn = dbus-connectToBus(QDBusConnection::SessionBus, dbus); Service = org.freedesktop; I found 1 error, it must be SystemBus instead of SessionBus. But unfortunately I still cannot establish a connection. As soon