2 #include <Wt/WStandardItemModel.h> 4 #include "ModelProvider.h" 6 Wtx::Web::Calendar::ModelProvider::ModelProvider
8 const std::string & name,
9 const std::string & dateStart,
10 const std::string & dateEnd,
11 const std::string & timeStart,
12 const std::string & timeEnd,
13 const std::string & subject,
14 const std::string & body
30 std::shared_ptr<Wt::WAbstractItemModel> Wtx::Web::Calendar::ModelProvider::getModel(
const Wt::WDate & date,
const std::vector<std::string> & fieldList )
32 return std::make_shared<Wt::WStandardItemModel>();
35 const std::string & Wtx::Web::Calendar::ModelProvider::name()
const 40 const std::string & Wtx::Web::Calendar::ModelProvider::dateStart()
const 45 const std::string & Wtx::Web::Calendar::ModelProvider::dateEnd()
const 50 const std::string & Wtx::Web::Calendar::ModelProvider::timeStart()
const 55 const std::string & Wtx::Web::Calendar::ModelProvider::timeEnd()
const 60 const std::string & Wtx::Web::Calendar::ModelProvider::subject()
const 65 const std::string & Wtx::Web::Calendar::ModelProvider::body()
const 70 void Wtx::Web::Calendar::ModelProvider::setMapping
72 const std::string & dateStart,
73 const std::string & dateEnd,
74 const std::string & timeStart,
75 const std::string & timeEnd,
76 const std::string & subject,
77 const std::string & body
80 m_dateStart = dateStart;
82 m_timeStart = timeStart;