You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
687 B
C++
42 lines
687 B
C++
#include <context.h>
|
|
|
|
#include "accommodation.h"
|
|
#include <QDebug>
|
|
|
|
#include "data/person.h"
|
|
#include "accommodationservice.h"
|
|
|
|
#include "accgrid.h"
|
|
#include "acform.h"
|
|
|
|
Accommodation::Accommodation()
|
|
{
|
|
}
|
|
|
|
void Accommodation::initServiceUi()
|
|
{
|
|
AccGrid *grid = new AccGrid();
|
|
AcForm *form = new AcForm();
|
|
|
|
grid->setForm(form);
|
|
AccommodationService *service = new AccommodationService();
|
|
m_service = service;
|
|
m_ui = grid;
|
|
}
|
|
|
|
QIcon Accommodation::pluginIcon()
|
|
{
|
|
return QIcon(":/icons/accPlugin.svg");
|
|
}
|
|
/*
|
|
QWidget *Accommodation::ui()
|
|
{
|
|
QWidget *ui = IPlugin::ui();
|
|
AccGrid *form = qobject_cast<AccGrid*>(ui);
|
|
|
|
form->fillData();
|
|
|
|
return ui;
|
|
}
|
|
*/
|