Nut/test/common/weblogdatabase.cpp

15 lines
296 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"
2018-01-09 05:44:01 +08:00
#include "user.h"
2016-05-12 14:08:58 +08:00
#include "weblogdatabase.h"
2018-01-09 00:59:16 +08:00
WeblogDatabase::WeblogDatabase() : Database(),
2018-01-09 05:44:01 +08:00
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
{
}