-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathWAbstractItemDelegate.C
More file actions
42 lines (32 loc) · 1.23 KB
/
WAbstractItemDelegate.C
File metadata and controls
42 lines (32 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Copyright (C) 2009 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
#include "Wt/WAbstractItemDelegate.h"
namespace Wt {
WAbstractItemDelegate::WAbstractItemDelegate()
{ }
WAbstractItemDelegate::~WAbstractItemDelegate()
{ }
void WAbstractItemDelegate::updateModelIndex(WT_MAYBE_UNUSED WWidget* widget, WT_MAYBE_UNUSED const WModelIndex&)
{ }
cpp17::any WAbstractItemDelegate::editState(WT_MAYBE_UNUSED WWidget* widget, WT_MAYBE_UNUSED const WModelIndex&) const
{
return cpp17::any();
}
void WAbstractItemDelegate::setEditState(WT_MAYBE_UNUSED WWidget* widget,
WT_MAYBE_UNUSED const WModelIndex&,
WT_MAYBE_UNUSED const cpp17::any& value) const
{ }
void WAbstractItemDelegate::setModelData(WT_MAYBE_UNUSED const cpp17::any& editState,
WT_MAYBE_UNUSED WAbstractItemModel* model,
WT_MAYBE_UNUSED const WModelIndex&) const
{ }
ValidationState WAbstractItemDelegate::validate(WT_MAYBE_UNUSED const WModelIndex&,
WT_MAYBE_UNUSED const cpp17::any& editState)
const
{
return ValidationState::Valid;
}
}