[kdepim-users] qdbus korganizer and QDate

Dj YB yehielb at mail.ru
Mon Aug 23 10:30:29 BST 2010


Hello,

https://bugs.kde.org/show_bug.cgi?id=211633
trying to write a script to do the next thing.
in korganizer upon a shortcut popup an input box for a date, then go to that 
date.
sound simple, and it should be.
however trying to use dbus is hard since I can't find  an example or a document 
as to how to use it, so trial and error was fun but now I need help.

method void org.kde.Korganizer.Calendar.showDate(QDate date)

this is the method I am using but I can't figure out the format of the 
argument, nothing I tried work...

things I have tried and did not work

$dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate 1/1/10
$dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate 10/1/1
$dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate 
2010-01-01
$dbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.showDate 
2010,1,1

and others.
hope someone know the answer
Thanks in advance,
YB.
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list