Public Member Functions | Static Public Attributes

FileModel Class Reference
[Drag and drop in WTreeView example]

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

Inherits Wt::WStandardItemModel.

List of all members.

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.

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 49 of file TreeViewDragDrop.C.


Constructor & Destructor Documentation

FileModel::FileModel ( WObject parent  )  [inline]

Constructor.

Definition at line 54 of file TreeViewDragDrop.C.

    : WStandardItemModel(parent) { }


Member Function Documentation

virtual std::string FileModel::mimeType (  )  const [inline, virtual]

Return the mime type.

Reimplemented from Wt::WAbstractItemModel.

Definition at line 59 of file TreeViewDragDrop.C.


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

Generated on Mon Nov 29 2010 08:03:14 for Wt by doxygen 1.7.1