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...

Inheritance diagram for FileModel:
Inheritance graph
[legend]

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


Constructor & Destructor Documentation

FileModel::FileModel ( WObject parent ) [inline]

Constructor.

Definition at line 56 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 61 of file TreeViewDragDrop.C.


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

Generated on Fri Jul 8 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.2