<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!--
SPDX-FileCopyrightText: 2019 Alexander Potashev <aspotashev@gmail.com>
SPDX-FileCopyrightText: 2021 David Stächele <david@daiwai.de>
SPDX-License-Identifier: GPL-2.0-or-later
-->
<node>
  <interface name="org.kde.ktimetracker.ktimetracker">
    <method name="version">
      <arg type="s" direction="out"/>
    </method>
    <method name="taskIdsFromName">
      <arg name="out" type="as" direction="out" />
      <arg name="taskName" type="s" direction="in"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QStringList" />
    </method>
    <method name="newTask" />
    <method name="addTask">
      <arg name="taskName" type="s" direction="in"/>
    </method>
    <method name="addSubTask">
      <arg name="taskName" type="s" direction="in"/>
      <arg name="taskId" type="s" direction="in"/>      
    </method>
    <method name="deleteTask">
      <arg name="taskId" type="s" direction="in"/>
    </method>
    <method name="activeTasks">
      <arg name="out" type="as" direction="out" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QStringList" />
    </method>
    <method name="setPercentComplete">
      <arg name="taskId" type="s" direction="in"/>
      <arg name="perCent" type="i" direction="in"/>
    </method>
    <method name="bookTime">
      <arg type="i" direction="out"/>
      <arg name="taskId" type="s" direction="in"/>
      <arg name="dateTime" type="s" direction="in"/>
      <arg name="minutes" type="i" direction="in"/>
    </method>
    <method name="changeTime">
      <arg type="i" direction="out"/>
      <arg name="taskId" type="s" direction="in"/>
      <arg name="minutes" type="i" direction="in"/>
    </method>
    <method name="error">
      <arg type="s" direction="out"/>
      <arg name="errorCode" type="i" direction="in"/>
    </method>
    <method name="isIdleDetectionPossible">
       <arg type="b" direction="out" />
    </method>
    <method name="totalMinutesForTaskId">
      <arg type="i" direction="out"/>
      <arg name="taskId" type="s" direction="in"/>
    </method>
    <method name="startTimerFor">
      <arg name="taskId" type="s" direction="in"/>
    </method>
    <method name="stopTimerFor">
      <arg name="taskId" type="s" direction="in"/>
    </method>
    <method name="startTimerForTaskName">
      <arg name="taskName" type="s" direction="in"/>
      <arg type="b" direction="out"/>
    </method>
    <method name="stopTimerForTaskName">
      <arg name="taskName" type="s" direction="in"/>
      <arg type="b" direction="out"/>
    </method>
    <method name="startNewSession" />
    <method name="stopAllTimersDBUS" />
    <method name="tasks">
      <arg name="out" type="as" direction="out" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QStringList" />
    </method>
    <method name="exportCSVFile">
      <arg type="s" direction="out"/>
      <arg name="filename" type="s" direction="in"/>
      <arg name="from" type="s" direction="in"/>
      <arg name="to" type="s" direction="in"/>
      <arg name="type" type="i" direction="in"/>
      <arg name="decimalMinutes" type="b" direction="in"/>
      <arg name="allTasks" type="b" direction="in"/>
      <arg name="delimiter" type="s" direction="in"/>
      <arg name="quote" type="s" direction="in"/>
    </method>
    <method name="importPlannerFile">
      <arg name="filename" type="s" direction="in"/>
    </method>
    <method name="isActive">
      <arg type="b" direction="out" />
      <arg name="taskId" type="s" direction="in" />
    </method>
    <method name="isTaskNameActive">
      <arg type="b" direction="out" />
      <arg name="taskName" type="s" direction="in" />
    </method>
    <method name="saveAll" />
    <method name="quit" />
  </interface>
</node>
