itom
Loading...
Searching...
No Matches
ito::ItomFileSystemModel Class Reference

Instead of the default QFileSystemModel, this model is able to provide a more flexible support for drop or paste operations if the destination file already exists. If the file should be duplicated (from one folder to the same folder), a (copy)-suffix is appended to the base-filename. If the source is another directory, but the file has the same name, the user is prompted if he wants to overwrite the source file or not. More...

Inheritance diagram for ito::ItomFileSystemModel:

Public Member Functions

 ItomFileSystemModel (QObject *parent=0)
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 

Detailed Description

Instead of the default QFileSystemModel, this model is able to provide a more flexible support for drop or paste operations if the destination file already exists. If the file should be duplicated (from one folder to the same folder), a (copy)-suffix is appended to the base-filename. If the source is another directory, but the file has the same name, the user is prompted if he wants to overwrite the source file or not.


The documentation for this class was generated from the following files: