Nut/test/common/weblogdatabase.cpp

14 lines
281 B
C++
Raw Normal View History

2016-05-12 14:08:58 +08:00
#include <QDebug>
2018-01-09 00:59:16 +08:00
#include "user.h"
2016-05-12 14:08:58 +08:00
#include "post.h"
#include "comment.h"
#include "weblogdatabase.h"
2018-01-09 00:59:16 +08:00
WeblogDatabase::WeblogDatabase() : Database(),
m_posts(new TableSet<Post*>(this)),
m_comments(new TableSet<Comment*>(this)),
m_users(new TableSet<User*>(this))
2016-05-12 14:08:58 +08:00
{
}