13 Star 39 Fork 6

zjzdy / Offline-small-search

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
history_obj.cpp 849 Bytes
一键复制 编辑 原始数据 按行查看 历史
zjzdy 提交于 2015-10-05 03:54 . Fix many bugs.
#include "history_obj.h"
history_obj::history_obj(QObject *parent) : QObject(parent)
{
m_img = false;
}
bool history_obj::img() const
{
return m_img;
}
void history_obj::setImg(const bool & img)
{
m_img = img;
Q_EMIT imgChanged(m_img);
}
QString history_obj::str() const
{
return m_str;
}
void history_obj::setStr(const QString & str)
{
m_str = str;
Q_EMIT strChanged(m_str);
}
QStringList history_obj::search_type() const
{
return m_search_type;
}
void history_obj::setSearch_type(const QStringList & search_type)
{
m_search_type = search_type;
Q_EMIT search_typeChanged(m_search_type);
}
QString history_obj::time() const
{
return m_time;
}
void history_obj::setTime(const QString & time)
{
m_time = time;
Q_EMIT timeChanged(m_time);
}
C++
1
https://gitee.com/zjzdy/Offline-small-search.git
git@gitee.com:zjzdy/Offline-small-search.git
zjzdy
Offline-small-search
Offline-small-search
master

搜索帮助