TimeMonth
};
- SearchParams();
+ SearchParams(QObject *parent = 0);
const QString keywords() const { return m_keywords; }
void setKeywords( QString keywords ) { m_keywords = keywords; }
int time() const { return m_time; }
void setTime( int time ) { m_time = time; }
+ bool operator==(const SearchParams &other) const {
+ return m_keywords == other.keywords() &&
+ m_author == other.author();
+ }
+
public slots:
void setParam(QString name, QVariant value);