/home/koen/project/wt/cvs/wt/examples/form/FormExample.h

Go to the documentation of this file.
00001 // This may look like C code, but it's really -*- C++ -*-
00002 /*
00003  * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
00004  *
00005  * See the LICENSE file for terms of use.
00006  */
00007 
00008 #ifndef FORMEXAMPLE_H_
00009 #define FORMEXAMPLE_H_
00010 
00011 #include <WContainerWidget>
00012 
00013 namespace Wt {
00014   class WText;
00015 }
00016 
00017 using namespace Wt;
00018 
00023 
00029 class FormExample : public WContainerWidget
00030 {
00031 public:
00034   FormExample(WContainerWidget *parent = 0);
00035 
00036 private slots:
00039   void changeLanguage();
00040 
00041 private:
00042   std::vector<WText *> languageSelects_;
00043 
00044   void setLanguage(const std::string lang);
00045 };
00046 
00049 #endif // FORMEXAMPLE_H_

Generated on Mon Apr 14 15:15:04 2008 for Wt by doxygen 1.5.3