blob: 9beb3324e1921eca7ec71941a1f5febeb436dc69 [file] [log] [blame]
#include "Notebook.h"
#include "CellModel.h"
Notebook::Notebook(QObject *parent)
: QObject(parent)
, _cellModel(new CellModel(this))
{
}
Notebook::Notebook(const Notebook &other, QObject *parent)
: QObject(parent)
, _cells(other._cells)
, _cellModel(new CellModel(this))
{
}
CellModel *Notebook::cellModel()
{
return _cellModel;
}