Talk:Development/Tutorials/D-Bus/Introduction: Difference between revisions

From KDE TechBase
(this has now been fixed)
(move contents of dbus. it's nothing useful for readers.)
 
Line 1: Line 1:
 
D-Bus is the successor of DCOP, but it has a complicated syntax. Here is an example:
kde-devel:~/build/KDE/kdepim/ktimetracker> dbus-send --type=method_call --print-reply --dest=org.kde.ktimetracker /KTimeTracker org.kde.ktimetracker.ktimetracker.version
method return sender=:1.64 -> dest=:1.81
    string "4.0.0"

Latest revision as of 16:14, 18 November 2007

D-Bus is the successor of DCOP, but it has a complicated syntax. Here is an example:

kde-devel:~/build/KDE/kdepim/ktimetracker> dbus-send --type=method_call --print-reply --dest=org.kde.ktimetracker /KTimeTracker org.kde.ktimetracker.ktimetracker.version
method return sender=:1.64 -> dest=:1.81
   string "4.0.0"