hastodo — Check if top-level todo exists.
hastodo(QString taskname)
is a DCOP call that
looks for a of the given name. If found, it returns the
iCalendar UID that identifies that todo. If not found, it returns an empty
string.
The iCalendar file that KArm currently has opened is the file that is searched. All todo trees are searched, not just top-level todo's. If more than one todo has a matching name, the first one found is returned.