示例#1
0
CommentaryObject::CommentaryObject(todos_model_entity::Commentary *commentary, QObject *parent)
	: QObject(parent)
	, m_id(commentary->GetId())
	, m_taskId(commentary->GetTaskId())
	, m_type(TypeConverter::toString(commentary->GetType()))
	, m_publishedOn(commentary->GetPublishedOn())
	, m_content(makeContent(commentary->GetContent()))
{}
示例#2
0
CommentaryObject::CommentaryObject(unsigned long id, unsigned long taskId, CommentaryType type, const QDateTime &publishedOn, const Content &content, QObject *parent)
	: QObject(parent)
	, m_id(id)
	, m_taskId(taskId)
	, m_type(TypeConverter::toString(type))
	, m_publishedOn(publishedOn)
	, m_content(makeContent(content))
{}
示例#3
0
文件: progView.cpp 项目: juriad/tvp
ProgView::ProgView(QWidget *parent) :
		QWidget(parent) {
	makeContent();
}