Maeomm Reference Documentation: hildon-fmmm |
Public Member Functions | |
Glib::ustring | autoname_uri (const Glib::ustring& uri, std::auto_ptr<Glib::Error>& error) const |
This function checks if the given URI already exists in the model. | |
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. | |
Glib::ustring | new_item (const Gtk::TreeModel::iterator& parent, const Glib::ustring& stub_name, const Glib::ustring& extension) |
Creates a new unique name under parent . | |
void | reset_available () |
Cancels all changes made by set_iter_available. | |
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. | |
void | set_iter_available (const Gtk::TreeModel::iterator& iter, bool available) |
This function sets some paths available/not available. | |
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) |
|
|
|
|
|
This function checks if the given URI already exists in the model. if not, then a copy of it is returned unmodified. If the URI already exists then a number is added in a form file://file(2).html.
|
|
|
|
Provides access to the underlying C GObject.
Reimplemented from Gtk::TreeDragSource. |
|
Provides access to the underlying C GObject.
Reimplemented from Gtk::TreeDragSource. |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Loads a local 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().
|
|
Loads a URI.
|
|
Creates a new unique name under parent . The returned name can be used when creating a new file. If there are no name collisions, stub name will be the final name. If a file with that name already exists, then a number is appended to stub. This function is mainly used by dialog implementations. It's probably not needed in application development.
|
|
Cancels all changes made by set_iter_available. Selection is back to it's default state. |
|
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.
|
|
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.
|
|
Searches the model for given path and returns an iterator pointing to it. Note that the path must already exist in the model.
|
|
Searches the model for given path and returns an iterator pointing to it. Note that the path must already exist in the model.
|
|
Searches the model for the given URI and returns an iterator pointing to it. Note that the path must already exist in the model.
|
|
Searches the model for the given URI and returns an iterator pointing to it. Note that the path must already exist in the model.
|
|
This function sets some paths available/not available. Locations that are not available are usually shown dimmed in the gui. This function can be used if program needs for some reason to disable some locations. By default all paths are available.
|
|
|
|
|
|
|