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


Constructor & Destructor Documentation

FileModel::FileModel ( WObject parent  )  [inline]

Constructor.

Definition at line 55 of file TreeViewDragDrop.C.

00056     : WStandardItemModel(parent) { }


Member Function Documentation

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

Return the mime type.

Reimplemented from Wt::WAbstractItemModel.

Definition at line 60 of file TreeViewDragDrop.C.

00060                                      {
00061     return FolderView::FileSelectionMimeType;
00062   }


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

Generated on Tue Sep 1 17:51:23 2009 for Wt by doxygen 1.5.6