C# Class Tasque.Backends.IceCore.IceBackend

Inheritance: IBackend
Mostra file Open project: GNOME/tasque Class Usage Examples

Public Methods

Method Description
Cleanup ( ) : void

Cleanup the backend before quitting

CreateTask ( string taskName, ICategory category ) : ITask

Create a new task.

DeleteTask ( ITask task ) : void

Deletes the specified task.

GetPreferencesWidget ( ) : Gtk.Widget
IceBackend ( ) : System
Initialize ( ) : void

Initializes the backend

Refresh ( ) : void

Refreshes the backend.

SaveAndUpdateTask ( Tasque.Backends.IceCore.IceTask task ) : void
UpdateTask ( Tasque.Backends.IceCore.IceTask task ) : void

Private Methods

Method Description
CompareCategoriesSortFunc ( Gtk model, Gtk a, Gtk b ) : int
CompareTasksSortFunc ( Gtk model, Gtk a, Gtk b ) : int
ConnectToICEcoreDaemon ( ) : void

Connect with the ICEcore Daemon and register event handlers.

LoadTasksFromCategory ( IceCategory category ) : void
OnAuthenticated ( string server, string username ) : void
OnDBusNameOwnerChanged ( string serviceName, string oldOwner, string newOwner ) : void
OnDisconnected ( string server, string username ) : void

Method Details

Cleanup() public method

Cleanup the backend before quitting
public Cleanup ( ) : void
return void

CreateTask() public method

Create a new task.
public CreateTask ( string taskName, ICategory category ) : ITask
taskName string
category ICategory
return ITask

DeleteTask() public method

Deletes the specified task.
public DeleteTask ( ITask task ) : void
task ITask /// A ///
return void

GetPreferencesWidget() public method

public GetPreferencesWidget ( ) : Gtk.Widget
return Gtk.Widget

IceBackend() public method

public IceBackend ( ) : System
return System

Initialize() public method

Initializes the backend
public Initialize ( ) : void
return void

Refresh() public method

Refreshes the backend.
public Refresh ( ) : void
return void

SaveAndUpdateTask() public method

public SaveAndUpdateTask ( Tasque.Backends.IceCore.IceTask task ) : void
task Tasque.Backends.IceCore.IceTask
return void

UpdateTask() public method

public UpdateTask ( Tasque.Backends.IceCore.IceTask task ) : void
task Tasque.Backends.IceCore.IceTask
return void