Wt examples
4.2.2
builddir
build
BUILD
wt-4.2.2
examples
treeview-dragdrop
FolderView.h
Go to the documentation of this file.
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
#ifndef FOLDER_VIEW_H_
8
#define FOLDER_VIEW_H_
9
10
#include <Wt/WTreeView.h>
11
12
using namespace
Wt
;
13
18
21
class
FolderView
:
public
WTreeView
22
{
23
public
:
28
static
const
char
*
FileSelectionMimeType
;
29
32
FolderView
();
33
34
protected
:
37
virtual
void
dropEvent(
const
WDropEvent &event,
38
const
WModelIndex &target);
39
};
40
43
#endif // FOLDER_VIEW_H_
FolderView::FileSelectionMimeType
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition:
FolderView.h:28
FolderView
A specialized treeview that supports a custom drop event.
Definition:
FolderView.h:21
Wt
Definition:
AddresseeEdit.h:16
Generated on Fri Mar 20 2020 for
the C++ Web Toolkit (Wt)
by
1.8.15