Wt examples 3.3.12
FormExample.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
8#ifndef FORMEXAMPLE_H_
9#define FORMEXAMPLE_H_
10
11#include <Wt/WContainerWidget>
12
13namespace Wt {
14 class WText;
15}
16
17using namespace Wt;
18
23
30{
31public:
35
36private:
37 std::vector<WText *> languageSelects_;
38
41 void changeLanguage();
42
43 void setLanguage(const std::string lang);
44};
45
48#endif // FORMEXAMPLE_H_
Main widget for the Form example.
Definition FormExample.h:30
void changeLanguage()
Change the language.
Definition FormExample.C:62
void setLanguage(const std::string lang)
Definition FormExample.C:40
std::vector< WText * > languageSelects_
Definition FormExample.h:37
WWidget * parent() const

Generated on Fri May 17 2024 for the C++ Web Toolkit (Wt) by doxygen 1.9.8