
Definition at line 117 of file videolist.cpp.
Public Types | |
| typedef meta_dir_list::iterator | dir_iterator |
| typedef meta_dir_list::const_iterator | const_dir_iterator |
| typedef meta_data_list::iterator | entry_iterator |
| typedef meta_data_list::const_iterator | const_entry_iterator |
Public Member Functions | |
| meta_dir_node (const QString &path, const QString &name="", meta_dir_node *parent=NULL, bool is_path_root=false) | |
| meta_dir_node () | |
| void | setName (const QString &name) |
| const QString & | getName () const |
| const QString & | getPath () const |
| void | setPath (const QString &path) |
| smart_dir_node | addSubDir (const QString &subdir, const QString &name="") |
| void | addSubDir (const smart_dir_node &subdir) |
| smart_dir_node | getSubDir (const QString &subdir, const QString &name="", bool create=true) |
| void | addEntry (const smart_meta_node &entry) |
| void | clear () |
| bool | empty () const |
| int | subdir_count () const |
| template<typename DirSort, typename EntrySort> | |
| void | sort (DirSort dir_sort, EntrySort entry_sort) |
| dir_iterator | dirs_begin () |
| dir_iterator | dirs_end () |
| const_dir_iterator | dirs_begin () const |
| const_dir_iterator | dirs_end () const |
| entry_iterator | entries_begin () |
| entry_iterator | entries_end () |
| const_entry_iterator | entries_begin () const |
| const_entry_iterator | entries_end () const |
| bool | has_entries () const |
Private Attributes | |
| QString | m_path |
| QString | m_name |
| meta_dir_list | m_subdirs |
| meta_data_list | m_entries |
| typedef meta_dir_list::iterator fake_unnamed::meta_dir_node::dir_iterator |
Definition at line 120 of file videolist.cpp.
| typedef meta_dir_list::const_iterator fake_unnamed::meta_dir_node::const_dir_iterator |
Definition at line 121 of file videolist.cpp.
| typedef meta_data_list::iterator fake_unnamed::meta_dir_node::entry_iterator |
Definition at line 123 of file videolist.cpp.
| typedef meta_data_list::const_iterator fake_unnamed::meta_dir_node::const_entry_iterator |
Definition at line 124 of file videolist.cpp.
| fake_unnamed::meta_dir_node::meta_dir_node | ( | const QString & | path, | |
| const QString & | name = "", |
|||
| meta_dir_node * | parent = NULL, |
|||
| bool | is_path_root = false | |||
| ) | [inline] |
Definition at line 127 of file videolist.cpp.
| fake_unnamed::meta_dir_node::meta_dir_node | ( | ) | [inline] |
| void fake_unnamed::meta_dir_node::setName | ( | const QString & | name | ) | [inline] |
Definition at line 141 of file videolist.cpp.
Referenced by VideoListImp::buildDbList(), and VideoListImp::update_meta_view().
| const QString& fake_unnamed::meta_dir_node::getName | ( | void | ) | const [inline, virtual] |
Implements fake_unnamed::meta_node.
Definition at line 146 of file videolist.cpp.
Referenced by VideoListImp::update_meta_view().
| const QString& fake_unnamed::meta_dir_node::getPath | ( | ) | const [inline, virtual] |
Reimplemented from fake_unnamed::meta_node.
Definition at line 151 of file videolist.cpp.
Referenced by VideoListImp::update_meta_view().
| void fake_unnamed::meta_dir_node::setPath | ( | const QString & | path | ) | [inline] |
Definition at line 156 of file videolist.cpp.
Referenced by VideoListImp::buildDbList(), and VideoListImp::update_meta_view().
| smart_dir_node fake_unnamed::meta_dir_node::addSubDir | ( | const QString & | subdir, | |
| const QString & | name = "" | |||
| ) | [inline] |
Definition at line 161 of file videolist.cpp.
Referenced by fake_unnamed::AddMetadataToDir(), VideoListImp::buildDbList(), VideoListImp::buildFsysList(), and fake_unnamed::copy_filtered_tree().
| void fake_unnamed::meta_dir_node::addSubDir | ( | const smart_dir_node & | subdir | ) | [inline] |
Definition at line 167 of file videolist.cpp.
| smart_dir_node fake_unnamed::meta_dir_node::getSubDir | ( | const QString & | subdir, | |
| const QString & | name = "", |
|||
| bool | create = true | |||
| ) | [inline] |
| void fake_unnamed::meta_dir_node::addEntry | ( | const smart_meta_node & | entry | ) | [inline] |
Definition at line 194 of file videolist.cpp.
Referenced by fake_unnamed::AddMetadataToDir(), fake_unnamed::copy_entries(), and VideoListImp::update_meta_view().
| void fake_unnamed::meta_dir_node::clear | ( | void | ) | [inline] |
Definition at line 200 of file videolist.cpp.
Referenced by VideoListImp::fillMetadata(), and VideoListImp::update_meta_view().
| bool fake_unnamed::meta_dir_node::empty | ( | ) | const [inline] |
Definition at line 206 of file videolist.cpp.
| int fake_unnamed::meta_dir_node::subdir_count | ( | ) | const [inline] |
Definition at line 211 of file videolist.cpp.
| void fake_unnamed::meta_dir_node::sort | ( | DirSort | dir_sort, | |
| EntrySort | entry_sort | |||
| ) | [inline] |
| dir_iterator fake_unnamed::meta_dir_node::dirs_begin | ( | ) | [inline] |
Definition at line 228 of file videolist.cpp.
Referenced by VideoListImp::build_generic_tree(), fake_unnamed::copy_filtered_tree(), and fake_unnamed::tree_view_to_flat().
| dir_iterator fake_unnamed::meta_dir_node::dirs_end | ( | ) | [inline] |
Definition at line 233 of file videolist.cpp.
Referenced by VideoListImp::build_generic_tree(), fake_unnamed::copy_filtered_tree(), and fake_unnamed::tree_view_to_flat().
| const_dir_iterator fake_unnamed::meta_dir_node::dirs_begin | ( | ) | const [inline] |
Definition at line 238 of file videolist.cpp.
| const_dir_iterator fake_unnamed::meta_dir_node::dirs_end | ( | ) | const [inline] |
Definition at line 243 of file videolist.cpp.
| entry_iterator fake_unnamed::meta_dir_node::entries_begin | ( | ) | [inline] |
Definition at line 248 of file videolist.cpp.
Referenced by VideoListImp::build_generic_tree(), fake_unnamed::copy_entries(), and fake_unnamed::tree_view_to_flat().
| entry_iterator fake_unnamed::meta_dir_node::entries_end | ( | ) | [inline] |
Definition at line 253 of file videolist.cpp.
Referenced by VideoListImp::build_generic_tree(), fake_unnamed::copy_entries(), and fake_unnamed::tree_view_to_flat().
| const_entry_iterator fake_unnamed::meta_dir_node::entries_begin | ( | ) | const [inline] |
Definition at line 258 of file videolist.cpp.
| const_entry_iterator fake_unnamed::meta_dir_node::entries_end | ( | ) | const [inline] |
Definition at line 263 of file videolist.cpp.
| bool fake_unnamed::meta_dir_node::has_entries | ( | ) | const [inline] |
Definition at line 270 of file videolist.cpp.
QString fake_unnamed::meta_dir_node::m_path [private] |
QString fake_unnamed::meta_dir_node::m_name [private] |
Definition at line 289 of file videolist.cpp.
Referenced by getName(), meta_dir_node(), and setName().
Definition at line 290 of file videolist.cpp.
Referenced by addSubDir(), clear(), dirs_begin(), dirs_end(), empty(), getSubDir(), has_entries(), sort(), and subdir_count().
Definition at line 291 of file videolist.cpp.
Referenced by addEntry(), clear(), empty(), entries_begin(), entries_end(), has_entries(), and sort().
1.5.5