Classes |
class | ProgressInfo |
Typedefs |
typedef Glib::ListHandle
< Glib::ustring > | ListHandleStrings |
typedef Glib::ListHandle
< Glib::RefPtr< const Uri > > | ListHandleUris |
typedef sigc::slot< bool,
const ProgressInfo & > | SlotProgress |
| For instance, int on_transfer_progress(GnomeVFSXferProgressInfo* info);.
|
Functions |
void | transfer_list (const Glib::StringArrayHandle &source_uri_list, const Glib::StringArrayHandle &target_uri_list, TransferOptions options, ErrorMode error_mode, OverwriteMode overwrite_mode, const SlotProgress &slot) |
void | transfer_list_uris (const ListHandleUris &source_uri_list, const ListHandleUris &target_uri_list, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, OverwriteMode overwrite_mode=XFER_OVERWRITE_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress()) |
| : A List of uris (ie file://) : A List of uris : These are options you wish to set for the transfer.
|
void | transfer (const Glib::ustring &source_uri, const Glib::ustring &target_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, OverwriteMode overwrite_mode=XFER_OVERWRITE_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress()) |
void | transfer (const Glib::RefPtr< const Uri > &source_uri, const Glib::RefPtr< const Uri > &target_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, OverwriteMode overwrite_mode=XFER_OVERWRITE_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress()) |
void | remove (const Glib::ustring &source_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress()) |
void | remove (const Glib::RefPtr< const Uri > &source_uri, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress()) |
void | remove_list (const Glib::StringArrayHandle &source_uri_list, TransferOptions options, ErrorMode error_mode, const SlotProgress &slot) |
void | remove_list_uris (const ListHandleUris &source_uri_list, TransferOptions options=XFER_DEFAULT, ErrorMode error_mode=XFER_ERROR_MODE_ABORT, const SlotProgress &progress_callback=SlotProgress()) |
void Gnome::Vfs::Transfer::transfer_list_uris |
( |
const ListHandleUris & |
source_uri_list, |
|
|
const ListHandleUris & |
target_uri_list, |
|
|
TransferOptions |
options = XFER_DEFAULT , |
|
|
ErrorMode |
error_mode = XFER_ERROR_MODE_ABORT , |
|
|
OverwriteMode |
overwrite_mode = XFER_OVERWRITE_MODE_ABORT , |
|
|
const SlotProgress & |
progress_callback = SlotProgress() | |
|
) |
| | |
: A List of uris (ie file://) : A List of uris : These are options you wish to set for the transfer.
For instance by setting the xfer behavior you can either make a copy or a move. : Decide how to behave if the xfer is interrupted. For instance you could set your application to return an error code in case of an interuption. : How to react if a file your copying is being overwritten. : This is used to monitor the progress of a transfer. Common use would be to check to see if the transfer is asking for permission to overwrite a file.
This function will transfer multiple files to multiple targets. Given a a source uri(s) and a destination uri(s). There are a list of options that your application can use to control how the transfer is done.