ReviewFiles
Object Hierarchy:
Description:
public class ReviewFiles : Object, ListModel
Manages files in a project that need approval (flat list for approvals UI).
Provides flat list of all files in project that need approval (is_need_approval == true). Implements ListModel interface. Uses database
ID for equality comparison. Extracts File objects from ProjectFiles, doesn't store ProjectFiles.
Content:
Properties:
Creation methods:
Methods:
- public void append (File item)
Append an item to the list (ListStore-compatible).
- public void clear ()
Clear all items from the list.
- public bool contains (File file)
Check if a file is in the list.
- public Object? get_item (uint position)
ListModel interface implementation: Get item at position.
- public Type get_item_type ()
ListModel interface implementation: Get the item type.
- public uint get_n_items ()
ListModel interface implementation: Get the number of items.
- public void refresh ()
Refresh the list by extracting files from project_files where
is_need_approval == true.
- public void remove (File item)
Remove an item from the list by item reference.
- public void remove_at (uint position)
Remove an item at a specific position (ListStore-compatible).
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.ListModel