Quote:
Originally Posted by geek1011
It should be as simple as something like 'menu_item:reader:Power-off in 30m:cmd_spawn:sleep 1800;qndb -m pwrShutdown'.
|
And as geek1011 just pointed out to me on Github, I forgot to add the sleep option. It should be in the next version of NickelDBus.
For detailed documentation on what each option does, click the
API Documentation link at the top or bottom of the page. It's in 'Qt' speak I'm afraid, but all you really need from it for qndb is the name (the bit after NDB:: ) and the number and type of arguments to pass (eg: QString const& arg is an argument of type string, which is just text) An int means a whole number etc.