Wt examples  4.10.4
Loading...
Searching...
No Matches
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
12using namespace Wt;
13
18
21class FolderView : public WTreeView
22{
23public:
28 static const char *FileSelectionMimeType;
29
32 FolderView();
33
34protected:
37 virtual void dropEvent(const WDropEvent &event,
38 const WModelIndex &target);
39};
40
43#endif // FOLDER_VIEW_H_
Wt::Auth::Dbo::UserDatabase< AuthInfo > UserDatabase
Definition Session.h:22
A specialized treeview that supports a custom drop event.
Definition FolderView.h:22
virtual void dropEvent(const WDropEvent &event, const WModelIndex &target)
Drop event.
Definition FolderView.C:26
FolderView()
Constructor.
Definition FolderView.C:17
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition FolderView.h:28