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.
30 lines
525 B
C++
30 lines
525 B
C++
#include "camp.h"
|
|
|
|
#include "campgrid.h"
|
|
#include "campform.h"
|
|
#include "campservice.h"
|
|
#include "settings/campsettingsform.h"
|
|
|
|
void Camp::initServiceUi()
|
|
{
|
|
m_service = new CampService();
|
|
m_ui = new CampGrid();
|
|
((CampGrid*)m_ui)->setForm(new CampForm());
|
|
m_settingsUi = new CampSettingsForm();
|
|
}
|
|
|
|
QIcon Camp::pluginIcon()
|
|
{
|
|
return QIcon(":/icons/campPlugin.svg");
|
|
}
|
|
|
|
QTranslator *Camp::translator()
|
|
{
|
|
return translatorFrom(":/translations/camp_");
|
|
}
|
|
|
|
bool Camp::hasNumberSeries()
|
|
{
|
|
return true;
|
|
}
|