Revision 697998
Go back to digest for 12th August 2007Features in Educational
Jasem Mutlaq committed changes in /trunk/KDE/kdeedu/kstars/kstars:
Using XML for DBus interfaces, which autogenerates adaptors that are used in the KStars and SimClock classes. The service name is 'org.kde.kstars' and the two objects thus far are /KStars and /KStars/SimClock. There are plans to make INDI calls seperate, but I intend to implement that in KDE 4.1
You can test this by launcing kstars, and then at konsole:
dbus-send --dest=org.kde.kstars --print-reply=x /KStars
org.kde.kstars.zoomOut
I have no idea why --print-reply is needed, but the call doesn't work without it. Similary for SimClock:
dbus-send --dest=org.kde.kstars --print-reply=h /KStars/SimClock
org.kde.kstars.SimClock.stop
You can also use dbus-viewer to find all the available object paths and corresponding methods.
File Changes
Added 2 files
- /trunk/KDE/kdeedu/kstars/kstars
- /org.kde.kstars.SimClock.xml
- /org.kde.kstars.xml
Deleted 2 files
- /trunk/KDE/kdeedu/kstars/kstars
- /kstarsinterface.h
- /simclockinterface.h
Modified 3 files
- /trunk/KDE/kdeedu/kstars/kstars
- /CMakeLists.txt
- /kstars.cpp
- /simclock.cpp
7 files changed in total