Wt examples  4.0.2
Public Member Functions | Static Public Attributes | List of all members
FileModel Class Reference

A specialized standard item model which report a specific drag and drop mime type. More...

Inheritance diagram for FileModel:
Inheritance graph
[legend]

Public Member Functions

 FileModel ()
 Constructor. More...
 
virtual std::string mimeType () const
 Return the mime type. More...
 

Static Public Attributes

static WString dateDisplayFormat
 Date display format. More...
 
static WString dateEditFormat
 Date edit format. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

§ FileModel()

FileModel::FileModel ( )
inline

Constructor.

Definition at line 56 of file TreeViewDragDrop.C.

57  : WStandardItemModel() { }

Member Function Documentation

§ mimeType()

virtual std::string FileModel::mimeType ( ) const
inlinevirtual

Return the mime type.

Definition at line 61 of file TreeViewDragDrop.C.

61  {
63  }
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition: FolderView.h:28

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

Generated on Wed May 30 2018 for the C++ Web Toolkit (Wt) by doxygen 1.8.12