Addressbook plugin implementation

This commit is contained in:
Zdenek Jonak
2016-02-21 17:03:41 +01:00
parent 2bb07716b9
commit f184ac92d9
14 changed files with 569 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#include "addressbook.h"
#include "data/addressbookdata.h"
#include "addressbookform.h"
#include "addressbookgrid.h"
Addressbook::Addressbook()
{
}
void Addressbook::initServiceUi()
{
AddressbookGrid *grid = new AddressbookGrid();
AddressbookForm *form = new AddressbookForm();
m_service = new Service<AddressbookData>;
m_ui = grid;
((AddressbookGrid *) m_ui)->setForm(form);
}