Camel.VeeStore¶
- Subclasses:
None
Methods¶
- Inherited:
Camel.Store (46), Camel.Service (32), Camel.Object (4), GObject.Object (37), Gio.Initable (2)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Enable _Unmatched folder |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Camel.VeeStore(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
new
Camel.VeeStore
object- Return type:
Create a new
Camel.VeeStore
object.
- get_unmatched_enabled()¶
- Returns:
whether Unmatched folder processing is enabled
- Return type:
New in version 3.6.
- get_unmatched_folder()¶
-
New in version 3.6.
- get_vee_data_cache()¶
- Returns:
the associated
Camel.VeeDataCache
- Return type:
New in version 3.6.
- note_subfolder_unused(subfolder, unused_by)¶
- Parameters:
subfolder (
Camel.Folder
) – aCamel.Folder
unused_by (
Camel.VeeFolder
) – aCamel.VeeFolder
This is a counter
Camel.part
ofCamel.VeeStore.note_subfolder_used
(). Once the subfolder is claimed to be not used by all folders its message infos are removed from the Unmatched folder.New in version 3.6.
- note_subfolder_used(subfolder, used_by)¶
- Parameters:
subfolder (
Camel.Folder
) – aCamel.Folder
used_by (
Camel.VeeFolder
) – aCamel.VeeFolder
Notes that the subfolder is used by used_by folder, which is used to determine what folders will be included in the Unmatched folders.
New in version 3.6.
- note_vuid_unused(mi_data, unused_by)¶
- Parameters:
mi_data (
Camel.VeeMessageInfoData
) – aCamel.VeeMessageInfoData
unused_by (
Camel.VeeFolder
) – aCamel.VeeFolder
A counter
Camel.part
ofCamel.VeeStore.note_vuid_used
(). Once the unused_by claims the mi_data is not used by it anymore, and neither any other virtual folder is using it, then the Unmatched folder will have it added.New in version 3.6.
- note_vuid_used(mi_data, used_by)¶
- Parameters:
mi_data (
Camel.VeeMessageInfoData
) – aCamel.VeeMessageInfoData
used_by (
Camel.VeeFolder
) – aCamel.VeeFolder
Notes the mi_data is used by the used_by virtual folder, which removes it from the Unmatched folder, if not used anywhere else.
New in version 3.6.
- rebuild_unmatched_folder(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – optionalGio.Cancellable
object, orNone
- Raises:
Let’s the self know to rebuild the Unmatched folder. This is done as a separate job, when the cancellable is
None
, otherwise it’s run synchronously.New in version 3.6.