Maemomm Reference Documentation: hildon-notifymm |
Inheritance diagram for Hildon::FileSystemModel:
Public Member Functions | ||||
const HildonFileSystemModel* | gobj () const | |||
Provides access to the underlying C GObject. | ||||
HildonFileSystemModel* | gobj () | |||
Provides access to the underlying C GObject. | ||||
HildonFileSystemModel* | gobj_copy () | |||
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | ||||
Gtk::TreeModel::iterator | load_local_path (const std::string& path) | |||
Loads a local path. | ||||
Gtk::TreeModel::iterator | load_path (const std::string& path) | |||
This method locates the given path from the data model. | ||||
Gtk::TreeModel::iterator | load_uri (const Glib::ustring& uri) | |||
Loads a URI. | ||||
Gtk::TreeModel::iterator | search_local_path (const std::string& path, const Gtk::TreeModel::iterator& start_iter, bool recursive=true) const | |||
Searches the model for the given local path and returns an iterator pointing to it. | ||||
Gtk::TreeModel::iterator | search_local_path (const std::string& path, bool recursive=true) const | |||
Searches the model for the given local path and returns an iterator pointing to it. | ||||
Gtk::TreeModel::iterator | search_path (const std::string& path, const Gtk::TreeModel::iterator& start_iter, bool recursive=true) const | |||
Searches the model for given path and returns an iterator pointing to it. | ||||
Gtk::TreeModel::iterator | search_path (const std::string& path, bool recursive=true) const | |||
Searches the model for given path and returns an iterator pointing to it. | ||||
Gtk::TreeModel::iterator | search_uri (const Glib::ustring& uri, const Gtk::TreeModel::iterator& start_iter, bool recursive=true) const | |||
Searches the model for the given URI and returns an iterator pointing to it. | ||||
Gtk::TreeModel::iterator | search_uri (const Glib::ustring& uri, bool recursive=true) const | |||
Searches the model for the given URI and returns an iterator pointing to it. | ||||
Glib::SignalProxy1< void, const Gtk::TreeModel::iterator& > | signal_device_disconnected () | |||
| ||||
Glib::SignalProxy1< void, const Gtk::TreeModel::iterator& > | signal_finished_loading () | |||
| ||||
virtual | ~FileSystemModel () | |||
Static Public Member Functions | ||||
static Glib::RefPtr<FileSystemModel> | create (Gtk::Widget& ref_widget) | |||
Protected Member Functions | ||||
FileSystemModel (Gtk::Widget& ref_widget) | ||||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Glib::RefPtr<Hildon::FileSystemModel> | wrap (HildonFileSystemModel* object, bool take_copy=false) | |||
|
virtual Hildon::FileSystemModel::~FileSystemModel | ( | ) | [virtual] |
Hildon::FileSystemModel::FileSystemModel | ( | Gtk::Widget & | ref_widget | ) | [explicit, protected] |
static Glib::RefPtr<FileSystemModel> Hildon::FileSystemModel::create | ( | Gtk::Widget & | ref_widget | ) | [static] |
const HildonFileSystemModel* Hildon::FileSystemModel::gobj | ( | ) | const [inline] |
HildonFileSystemModel* Hildon::FileSystemModel::gobj | ( | ) | [inline] |
HildonFileSystemModel* Hildon::FileSystemModel::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Gtk::TreeModel::iterator Hildon::FileSystemModel::load_local_path | ( | const std::string & | path | ) |
Loads a local path.
path | A path to load. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::load_path | ( | const std::string & | path | ) |
This method locates the given path from the data model.
New branches are loaded if the given path doesn't exist in memory. This method is otherwise similar to search_path().
path | A file path to load. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::load_uri | ( | const Glib::ustring & | uri | ) |
Loads a URI.
uri | A URI to load. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::search_local_path | ( | const std::string & | path, | |
const Gtk::TreeModel::iterator & | start_iter, | |||
bool | recursive = true | |||
) | const |
Searches the model for the given local path and returns an iterator pointing to it.
Note that the path must already exist in the model.
path | a file path to load. | |
start_iter | An iterator indicating the starting point. | |
recursive | if false, only immediate children of the parent are searched. If true, this searches the entire subtree. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::search_local_path | ( | const std::string & | path, | |
bool | recursive = true | |||
) | const |
Searches the model for the given local path and returns an iterator pointing to it.
Note that the path must already exist in the model.
path | a file path to load.t. | |
recursive | if false, only immediate children of the parent are searched. If true, this searches the entire subtree. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::search_path | ( | const std::string & | path, | |
const Gtk::TreeModel::iterator & | start_iter, | |||
bool | recursive = true | |||
) | const |
Searches the model for given path and returns an iterator pointing to it.
Note that the path must already exist in the model.
path | A file path to load. | |
start_iter | An iterator indicating the starting point. | |
recursive | if false, only immediate children of the parent are searched. If true, this searches the entire subtree. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::search_path | ( | const std::string & | path, | |
bool | recursive = true | |||
) | const |
Searches the model for given path and returns an iterator pointing to it.
Note that the path must already exist in the model.
path | A file path to load. | |
recursive | if false, only immediate children of the parent are searched. If true, this searches the entire subtree. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::search_uri | ( | const Glib::ustring & | uri, | |
const Gtk::TreeModel::iterator & | start_iter, | |||
bool | recursive = true | |||
) | const |
Searches the model for the given URI and returns an iterator pointing to it.
Note that the path must already exist in the model.
uri | a URI to load. | |
start_iter | An iterator indicating the starting point. | |
recursive | if false, only immediate children of the parent are searched. If true, this searches the entire subtree. |
Gtk::TreeModel::iterator Hildon::FileSystemModel::search_uri | ( | const Glib::ustring & | uri, | |
bool | recursive = true | |||
) | const |
Searches the model for the given URI and returns an iterator pointing to it.
Note that the path must already exist in the model.
uri | a URI to load. | |
recursive | if false, only immediate children of the parent are searched. If true, this searches the entire subtree. |
Glib::SignalProxy1< void,const Gtk::TreeModel::iterator& > Hildon::FileSystemModel::signal_device_disconnected | ( | ) |
Glib::SignalProxy1< void,const Gtk::TreeModel::iterator& > Hildon::FileSystemModel::signal_finished_loading | ( | ) |
Glib::RefPtr<Hildon::FileSystemModel> wrap | ( | HildonFileSystemModel * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |