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.
47 lines
732 B
C++
47 lines
732 B
C++
#include <context.h>
|
|
|
|
#include "accommodation.h"
|
|
#include <QDebug>
|
|
#include "accommodationform.h"
|
|
|
|
#include "data/person.h"
|
|
#include "accommodationservice.h"
|
|
|
|
Accommodation::Accommodation()
|
|
{
|
|
}
|
|
|
|
void Accommodation::initServiceUi()
|
|
{
|
|
m_ui = new AccommodationForm();
|
|
AccommodationService *service = new AccommodationService();
|
|
m_service = service;
|
|
}
|
|
|
|
QWidget *Accommodation::ui()
|
|
{
|
|
QWidget *ui = IPlugin::ui();
|
|
AccommodationForm *form = qobject_cast<AccommodationForm*>(ui);
|
|
|
|
form->fillGrid();
|
|
|
|
return ui;
|
|
}
|
|
|
|
/*
|
|
QString Accommodation::pluginName()
|
|
{
|
|
return "Ubytovani";
|
|
}
|
|
|
|
void Accommodation::init(const QJsonObject &metaData)
|
|
{
|
|
|
|
}
|
|
|
|
QString Accommodation::pluginId()
|
|
{
|
|
return "ACCOMMODATION";
|
|
}
|
|
*/
|