#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; }