Nut/test/common/weblogdatabase.cpp

17 lines
372 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"
2018-01-14 22:03:24 +08:00
#include "score.h"
2016-05-12 14:08:58 +08:00
#include "weblogdatabase.h"
2018-01-09 00:59:16 +08:00
WeblogDatabase::WeblogDatabase() : Database(),
2018-02-17 23:44:39 +08:00
m_postTable(new TableSet<Post>(this)),
m_commentTable(new TableSet<Comment>(this)),
m_userTable(new TableSet<User>(this)),
m_scoreTable(new TableSet<Score>(this))
2016-05-12 14:08:58 +08:00
{
}