Wt examples
3.3.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
build
buildd
witty-3.3.0
examples
composer
AddresseeEdit.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 bvba, Kessel-Lo, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
#ifndef ADDRESSEE_EDIT_H_
8
#define ADDRESSEE_EDIT_H_
9
10
#include <Wt/WTextArea>
11
12
#include "
Contact.h
"
13
14
using namespace
Wt;
15
16
namespace
Wt {
17
class
WTableCell
;
18
}
19
20
class
Label
;
21
26
31
class
AddresseeEdit
:
public
WTextArea
32
{
33
public
:
39
AddresseeEdit
(
const
WString
& label,
WContainerWidget
*parent,
40
WContainerWidget
*labelParent);
41
44
void
setAddressees(
const
std::vector<Contact>& contacts);
45
48
std::vector<Contact> addressees()
const
;
49
51
virtual
void
setHidden(
bool
hidden,
const
WAnimation
& animation);
52
53
private
:
55
Label
*
label_
;
56
58
bool
parse
(std::vector<Contact>& contacts)
const
;
59
};
60
64
#endif // ADDRESSEE_EDIT_H_
Generated on Fri May 31 2013 for
the C++ Web Toolkit (Wt)
by
1.8.3.1