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


Constructor & Destructor Documentation

FileModel::FileModel ( WObject parent  )  [inline]

Constructor.

Definition at line 54 of file TreeViewDragDrop.C.

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

00059                                      {
00060     return FolderView::FileSelectionMimeType;
00061   }


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

Generated on Mon Mar 9 08:28:56 2009 for Wt by doxygen 1.5.6