Add signal for changes in Group.

This commit is contained in:
Felix Geyer 2010-08-15 15:03:47 +02:00
parent bfb75da123
commit e28ed4891b
10 changed files with 94 additions and 22 deletions

View file

@ -33,6 +33,11 @@ Group* Database::rootGroup()
return m_rootGroup;
}
const Group* Database::rootGroup() const
{
return m_rootGroup;
}
void Database::setRootGroup(Group* group)
{
Q_ASSERT(group == 0 || group->database() == this);