C# 클래스 Gtk.Tasque.RemoteControl

상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: GNOME/tasque 1 사용 예제들

공개 메소드들

메소드 설명
CreateTask ( string taskListName, string taskName, bool enterEditMode ) : string

Create a new task in Tasque using the given taskListName and name. Will not attempt to parse due date information.

CreateTask ( string taskListName, string taskName, bool enterEditMode, bool parseDate ) : string

Create a new task in Tasque using the given taskListName and name.

DeleteTaskById ( string id ) : bool

Deletes a task

GetDueDateForTaskById ( string id ) : int

Get the due date of a task for a given ID

GetInstance ( ) : RemoteControl
GetNameForTaskById ( string id ) : string

Gets the name of a task for a given ID

GetPriorityForTaskById ( string id ) : int

Gets the priority of a task for a given ID

GetStateForTaskById ( string id ) : int

Gets the state of a task for a given ID

GetTaskIds ( ) : string[]

Retreives the IDs of all tasks for the current backend.

GetTaskListForTaskById ( string id ) : string

Gets the list of a task for a given ID

GetTaskListNames ( ) : string[]

Return an array of ITaskList names.

KnockKnock ( ) : void
MarkTaskAsActiveById ( string id ) : bool

Marks a task active

MarkTaskAsCompleteById ( string id ) : void

Marks a task complete

Register ( GtkApplicationBase application ) : RemoteControl
SetDueDateForTaskById ( string id, int dueDate ) : bool

Set the due date of a task for a given ID

SetNameForTaskById ( string id, string name ) : bool

Sets the name of a task for a given ID

SetPriorityForTaskById ( string id, int priority ) : bool

Sets the priority of a task for a given ID

SetTaskListForTaskById ( string id, string listName ) : bool

Sets the list of a task for a given ID

ShowTasks ( ) : void

비공개 메소드들

메소드 설명
GetTaskById ( string id ) : ITask

Looks up a task by ID in the backend

RemoteControl ( GtkApplicationBase application ) : Notifications

메소드 상세

CreateTask() 공개 메소드

Create a new task in Tasque using the given taskListName and name. Will not attempt to parse due date information.
public CreateTask ( string taskListName, string taskName, bool enterEditMode ) : string
taskListName string /// A . The name of an existing taskList. /// Matches are not case-sensitive. ///
taskName string /// A . The name of the task to be created. ///
enterEditMode bool /// A . Specify true if the TaskWindow /// should be shown, the new task scrolled to, and have it be put into /// edit mode immediately. ///
리턴 string

CreateTask() 공개 메소드

Create a new task in Tasque using the given taskListName and name.
public CreateTask ( string taskListName, string taskName, bool enterEditMode, bool parseDate ) : string
taskListName string /// A . The name of an existing taskList. /// Matches are not case-sensitive. ///
taskName string /// A . The name of the task to be created. ///
enterEditMode bool /// A . Specify true if the TaskWindow /// should be shown, the new task scrolled to, and have it be put into /// edit mode immediately. ///
parseDate bool /// A . Specify true if the /// date should be parsed out of the taskName (in case /// Preferences.ParseDateEnabledKey is true as well). ///
리턴 string

DeleteTaskById() 공개 메소드

Deletes a task
public DeleteTaskById ( string id ) : bool
id string /// A for the ID of the task ///
리턴 bool

GetDueDateForTaskById() 공개 메소드

Get the due date of a task for a given ID
public GetDueDateForTaskById ( string id ) : int
id string /// A for the ID of the task ///
리턴 int

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : RemoteControl
리턴 RemoteControl

GetNameForTaskById() 공개 메소드

Gets the name of a task for a given ID
public GetNameForTaskById ( string id ) : string
id string /// A for the ID of the task ///
리턴 string

GetPriorityForTaskById() 공개 메소드

Gets the priority of a task for a given ID
public GetPriorityForTaskById ( string id ) : int
id string /// A for the ID of the task ///
리턴 int

GetStateForTaskById() 공개 메소드

Gets the state of a task for a given ID
public GetStateForTaskById ( string id ) : int
id string /// A for the ID of the task ///
리턴 int

GetTaskIds() 공개 메소드

Retreives the IDs of all tasks for the current backend.
public GetTaskIds ( ) : string[]
리턴 string[]

GetTaskListForTaskById() 공개 메소드

Gets the list of a task for a given ID
public GetTaskListForTaskById ( string id ) : string
id string /// A for the ID of the task ///
리턴 string

GetTaskListNames() 공개 메소드

Return an array of ITaskList names.
public GetTaskListNames ( ) : string[]
리턴 string[]

KnockKnock() 공개 메소드

public KnockKnock ( ) : void
리턴 void

MarkTaskAsActiveById() 공개 메소드

Marks a task active
public MarkTaskAsActiveById ( string id ) : bool
id string /// A for the ID of the task ///
리턴 bool

MarkTaskAsCompleteById() 공개 메소드

Marks a task complete
public MarkTaskAsCompleteById ( string id ) : void
id string /// A for the ID of the task ///
리턴 void

Register() 공개 정적인 메소드

public static Register ( GtkApplicationBase application ) : RemoteControl
application GtkApplicationBase
리턴 RemoteControl

SetDueDateForTaskById() 공개 메소드

Set the due date of a task for a given ID
public SetDueDateForTaskById ( string id, int dueDate ) : bool
id string /// A for the ID of the task ///
dueDate int
리턴 bool

SetNameForTaskById() 공개 메소드

Sets the name of a task for a given ID
public SetNameForTaskById ( string id, string name ) : bool
id string /// A for the ID of the task ///
name string
리턴 bool

SetPriorityForTaskById() 공개 메소드

Sets the priority of a task for a given ID
public SetPriorityForTaskById ( string id, int priority ) : bool
id string /// A for the ID of the task ///
priority int /// A the priority of the task ///
리턴 bool

SetTaskListForTaskById() 공개 메소드

Sets the list of a task for a given ID
public SetTaskListForTaskById ( string id, string listName ) : bool
id string /// A for the ID of the task ///
listName string /// A the list of the task ///
리턴 bool

ShowTasks() 공개 메소드

public ShowTasks ( ) : void
리턴 void