docs.kde.org
hastodo
Prev
Next

Name

hastodo — Check if top-level to-do exists.

Synopsis

QString hastodo(QString taskname)

Parameters

taskname

The name of the to-do to look for.

Description

hastodo(QString taskname) is a D-Bus call that looks for a of the given name. If found, it returns the iCalendar UID that identifies that to-do. If not found, it returns an empty string.

The iCalendar file that KTimetracker currently has opened is the file that is searched. All to-do trees are searched, not just top-level to-do's. If more than one to-do has a matching name, the first one found is returned.

Prev
Next
Contents


docs.kde.org