Wt examples  3.3.6
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 (WObject *parent)
 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 ( WObject *  parent)
inline

Constructor.

Definition at line 56 of file TreeViewDragDrop.C.

57  : WStandardItemModel(parent) { }

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:26

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

Generated on Thu Jan 12 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.13