Wt examples
4.11.1
Loading...
Searching...
No Matches
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
42
43
#endif
// FOLDER_VIEW_H_
FolderView::dropEvent
virtual void dropEvent(const WDropEvent &event, const WModelIndex &target)
Drop event.
Definition
FolderView.C:26
FolderView::FolderView
FolderView()
Constructor.
Definition
FolderView.C:17
FolderView::FileSelectionMimeType
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition
FolderView.h:28
Wt
Definition
AddresseeEdit.h:16
Generated on Sun Jun 1 2025 for
the C++ Web Toolkit (Wt)
by
1.14.0