Top |
ICalProperty *
i_cal_property_new (ICalPropertyKind kind
);
Creates a ICalProperty of the target type.
Since: 1.0
ICalProperty *
i_cal_property_clone (ICalProperty *prop
);
Deeply clone a ICalProperty.
Since: 1.0
ICalProperty *
i_cal_property_new_from_string (const gchar *str
);
Creates a ICalProperty from a string.
Since: 1.0
gchar *
i_cal_property_as_ical_string (ICalProperty *prop
);
Converts a ICalProperty to a string representation.
Since: 1.0
void
i_cal_property_free (ICalProperty *prop
);
Frees a ICalProperty.
[skip]
Since: 1.0
ICalPropertyKind
i_cal_property_isa (ICalProperty *property
);
Gets the kind of ICalProperty.
Since: 1.0
gint
i_cal_property_isa_property (ICalProperty *property
);
Checks whether the native part of ICalProperty is of the type icalproperty.
Since: 1.0
void i_cal_property_add_parameter (ICalProperty *prop
,ICalParameter *parameter
);
Adds a ICalParameter into the ICalProperty. It behaves like set the copy of the ICalParameter. Upon completion the native part of ICalParameter will be set to NULL.
prop |
The ICalProperty to be set |
|
parameter |
The parameter to be added into |
[transfer none] |
Since: 1.0
void i_cal_property_take_parameter (ICalProperty *prop
,ICalParameter *parameter
);
Adds the parameter
into the prop
and free the parameter
.
[skip]
prop |
The ICalProperty to be set |
|
parameter |
The parameter to be added into |
[transfer full] |
Since: 1.0
void i_cal_property_set_parameter (ICalProperty *prop
,ICalParameter *parameter
);
Sets a ICalParameter into the ICalProperty. It behaves like set the copy of the ICalParameter. Upon completion the native part of ICalParameter will be set to NULL.
prop |
The ICalProperty to be set |
|
parameter |
The parameter to be set into |
[transfer none] |
Since: 1.0
void i_cal_property_set_parameter_from_string (ICalProperty *prop
,const gchar *name
,const gchar *value
);
Sets the ICalProperty with the parameter defined by the name and value.
prop |
The ICalProperty to be set |
|
name |
The name of the parameter |
|
value |
The value of the parameter |
Since: 1.0
gchar * i_cal_property_get_parameter_as_string (ICalProperty *prop
,const gchar *name
);
Gets the string representation of the target parameter in the ICalProperty.
Since: 1.0
void i_cal_property_remove_parameter_by_kind (ICalProperty *prop
,ICalParameterKind kind
);
Removes the target kind of the parameters in the ICalProperty.
Since: 1.0
void i_cal_property_remove_parameter_by_name (ICalProperty *prop
,const gchar *name
);
Removes parameter in the ICalProperty by name.
Since: 1.0
void i_cal_property_remove_parameter_by_ref (ICalProperty *prop
,ICalParameter *param
);
Removes the parameter in the ICalProperty by ref.
Since: 1.0
gint
i_cal_property_count_parameters (const ICalProperty *prop
);
Counts the parameters in the ICalProperty.
Since: 1.0
ICalParameter * i_cal_property_get_first_parameter (ICalProperty *prop
,ICalParameterKind kind
);
Gets the first ICalParameter from the parent ICalProperty.
prop |
The ICalProperty to be queried |
|
kind |
The target kind of ICalParameter to be retrieved |
Since: 1.0
ICalParameter * i_cal_property_get_next_parameter (ICalProperty *prop
,ICalParameterKind kind
);
Gets the next ICalParameter from the parent ICalProperty.
prop |
The ICalProperty to be queried |
|
kind |
The target kind of ICalParameter to be retrieved |
Since: 1.0
void i_cal_property_set_value (ICalProperty *prop
,ICalValue *value
);
Sets the ICalProperty with the ICalValue.
Since: 1.0
void i_cal_property_take_value (ICalProperty *prop
,ICalValue *value
);
Sets the prop
with the value
and unrefs the value
.
[skip]
prop |
The target ICalProperty |
|
value |
The ICalValue will be set as the property of |
[transfer full] |
Since: 1.0
void i_cal_property_set_value_from_string (ICalProperty *prop
,const gchar *value
,const gchar *kind
);
Sets the ICalProperty with the ICalValue constructed from string.
prop |
The ICalProperty to be set |
|
value |
The value used to construct the ICalValue |
|
kind |
The kind used to construct the ICalValue |
Since: 1.0
ICalValue *
i_cal_property_get_value (const ICalProperty *prop
);
Gets the ICalValue of ICalProperty.
Since: 1.0
gchar *
i_cal_property_get_value_as_string (const ICalProperty *prop
);
Gets the string representation of the value in ICalProperty.
Since: 1.0
void i_cal_value_set_parent (ICalValue *value
,ICalProperty *property
);
Sets the parent property of a value.
Since: 2.0
ICalProperty *
i_cal_value_get_parent (ICalValue *value
);
Gets the parent ICalProperty of the specified ICalValue.
Since: 3.0
void i_cal_parameter_set_parent (ICalParameter *param
,ICalProperty *property
);
Sets the parent ICalProperty of an ICalParameter.
Since: 3.0
ICalProperty *
i_cal_parameter_get_parent (ICalParameter *param
);
Gets the parent ICalProperty of the specified ICalParameter.
Since: 3.0
void i_cal_property_set_x_name (ICalProperty *prop
,const gchar *name
);
Sets the name of x property for the ICalProperty.
Since: 1.0
const gchar *
i_cal_property_get_x_name (ICalProperty *prop
);
Gets the name of x property.
Since: 1.0
gchar *
i_cal_property_get_property_name (const ICalProperty *prop
);
Gets the property name of ICalProperty.
Since: 1.0
ICalValueKind
i_cal_parameter_value_to_value_kind (ICalParameterValue value
);
Converts the ICalParameterValue to ICalValueKind.
Since: 1.0
ICalValueKind
i_cal_property_kind_to_value_kind (ICalPropertyKind kind
);
Converts the ICalPropertyKind to ICalValueKind.
Since: 1.0
ICalPropertyKind
i_cal_value_kind_to_property_kind (ICalValueKind kind
);
Converts a ICalValueKind to a ICalPropertyKind.
Since: 1.0
const gchar *
i_cal_property_kind_to_string (ICalPropertyKind kind
);
Converts the ICalPropertyKind to a string.
Since: 1.0
ICalPropertyKind
i_cal_property_kind_from_string (const gchar *string
);
Converts the string to ICalPropertyKind.
Since: 1.0
gboolean
i_cal_property_kind_is_valid (const ICalPropertyKind kind
);
Checks whether ICalPropertyKind is valid.
Since: 1.0
ICalPropertyMethod
i_cal_property_method_from_string (const gchar *str
);
Converts the string to ICalPropertyKind.
Since: 1.0
const gchar *
i_cal_property_method_to_string (ICalPropertyMethod method
);
Converts the ICalPropertyMethod to string.
Since: 1.0
gchar *
i_cal_property_enum_to_string (gint e
);
Converts the enum to string.
Since: 1.0
gint i_cal_property_kind_and_string_to_enum (const gint kind
,const gchar *str
);
Converts a integer and string into an enum.
Since: 1.0
ICalPropertyStatus
i_cal_property_status_from_string (const gchar *str
);
Converts the string to ICalPropertyKind.
Since: 1.0
const gchar *
i_cal_property_status_to_string (ICalPropertyStatus method
);
Converts the ICalPropertyStatus to string.
Since: 1.0
gint i_cal_property_kind_has_property (ICalPropertyKind kind
,gint e
);
Checks whether the enum belongs to the ICalPropertyKind.
Since: 1.0