![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Calendar Backend (libedata-cal) | ![]() |
---|---|---|---|---|
Top | Description |
#define QUERY (obj) #define IS_QUERY (obj) EDataCalView * e_data_cal_view_new (ECalBackend *backend
,const gchar *path
,ECalBackendSExp *sexp
); const gchar * e_data_cal_view_get_dbus_path (EDataCalView *view
); const gchar * e_data_cal_view_get_text (EDataCalView *query
); ECalBackendSExp * e_data_cal_view_get_object_sexp (EDataCalView *query
); gboolean e_data_cal_view_object_matches (EDataCalView *query
,const gchar *object
); GList * e_data_cal_view_get_matched_objects (EDataCalView *query
); gboolean e_data_cal_view_is_started (EDataCalView *query
); gboolean e_data_cal_view_is_done (EDataCalView *query
); EDataCalCallStatus e_data_cal_view_get_done_status (EDataCalView *query
); void e_data_cal_view_notify_objects_added (EDataCalView *query
,const GList *objects
); void e_data_cal_view_notify_objects_added_1 (EDataCalView *query
,const gchar *object
); void e_data_cal_view_notify_objects_modified (EDataCalView *query
,const GList *objects
); void e_data_cal_view_notify_objects_modified_1 (EDataCalView *query
,const gchar *object
); void e_data_cal_view_notify_objects_removed (EDataCalView *query
,const GList *ids
); void e_data_cal_view_notify_objects_removed_1 (EDataCalView *query
,const ECalComponentId *id
); void e_data_cal_view_notify_progress (EDataCalView *query
,const gchar *message
,gint percent
); void e_data_cal_view_notify_done (EDataCalView *query
,EDataCalCallStatus status
);
#define QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_DATA_CAL_VIEW_TYPE, EDataCalView))
|
EDataCalView * e_data_cal_view_new (ECalBackend *backend
,const gchar *path
,ECalBackendSExp *sexp
);
|
|
|
|
|
|
Returns : |
const gchar * e_data_cal_view_get_dbus_path (EDataCalView *view
);
Returns the D-Bus path for view
.
|
an EDataCalView |
Returns : |
the D-Bus path for view
|
Since 2.30
const gchar * e_data_cal_view_get_text (EDataCalView *query
);
Get the expression used for the given query.
|
A EDataCalView object. |
Returns : |
the query expression used to search. |
ECalBackendSExp * e_data_cal_view_get_object_sexp (EDataCalView *query
);
Get the ECalBackendSExp object used for the given query.
|
A query object. |
Returns : |
The expression object used to search. |
gboolean e_data_cal_view_object_matches (EDataCalView *query
,const gchar *object
);
Compares the given object
to the regular expression used for the
given query.
|
A query object. |
|
Object to match. |
Returns : |
TRUE if the object matches the expression, FALSE if not. |
GList * e_data_cal_view_get_matched_objects (EDataCalView *query
);
Gets the list of objects already matched for the given query.
|
A query object. |
Returns : |
A list of matched objects. |
gboolean e_data_cal_view_is_started (EDataCalView *query
);
Checks whether the given query has already been started.
|
A query object. |
Returns : |
TRUE if the query has already been started, FALSE otherwise. |
gboolean e_data_cal_view_is_done (EDataCalView *query
);
Checks whether the given query is already done. Being done means the initial matching of objects have been finished, not that no more notifications about changes will be sent. In fact, even after done, notifications will still be sent if there are changes in the objects matching the query search expression.
|
A query object. |
Returns : |
TRUE if the query is done, FALSE if still in progress. |
EDataCalCallStatus e_data_cal_view_get_done_status (EDataCalView *query
);
Gets the status code obtained when the initial matching of objects was done for the given query.
|
A query object. |
Returns : |
The query status. |
void e_data_cal_view_notify_objects_added (EDataCalView *query
,const GList *objects
);
Notifies all query listeners of the addition of a list of objects.
|
A query object. |
|
List of objects that have been added. |
void e_data_cal_view_notify_objects_added_1 (EDataCalView *query
,const gchar *object
);
Notifies all the query listeners of the addition of a single object.
|
A query object. |
|
The object that has been added. |
void e_data_cal_view_notify_objects_modified (EDataCalView *query
,const GList *objects
);
Notifies all query listeners of the modification of a list of objects.
|
A query object. |
|
List of modified objects. |
void e_data_cal_view_notify_objects_modified_1 (EDataCalView *query
,const gchar *object
);
Notifies all query listeners of the modification of a single object.
|
A query object. |
|
The modified object. |
void e_data_cal_view_notify_objects_removed (EDataCalView *query
,const GList *ids
);
Notifies all query listener of the removal of a list of objects.
|
A query object. |
|
List of IDs for the objects that have been removed. |
void e_data_cal_view_notify_objects_removed_1 (EDataCalView *query
,const ECalComponentId *id
);
Notifies all query listener of the removal of a single object.
|
A query object. |
|
ID of the removed object. |
void e_data_cal_view_notify_progress (EDataCalView *query
,const gchar *message
,gint percent
);
Notifies all query listeners of progress messages.
|
A query object. |
|
Progress message to send to listeners. |
|
Percentage completed. |