Wt examples 3.1.10
|
A specialized standard item model which report a specific drag and drop mime type. More...
Public Member Functions | |
FileModel (WObject *parent) | |
Constructor. | |
virtual std::string | mimeType () const |
Return the mime type. | |
Static Public Attributes | |
static WString | dateDisplayFormat |
Date display format. | |
static WString | dateEditFormat |
Date edit format. |
A specialized standard item model which report a specific drag and drop mime type.
A specific drag and drop mime type instead of the generic abstract item model is returned by the model.
Definition at line 51 of file TreeViewDragDrop.C.
FileModel::FileModel | ( | WObject * | parent | ) | [inline] |
virtual std::string FileModel::mimeType | ( | ) | const [inline, virtual] |
Return the mime type.
Reimplemented from Wt::WAbstractItemModel.
Definition at line 61 of file TreeViewDragDrop.C.
{ return FolderView::FileSelectionMimeType; }