1 #include "searchparams.h"
3 SearchParams::SearchParams(QObject *parent) : QObject(parent) {
5 m_sortBy = SortByRelevance;
6 m_duration = DurationAny;
7 m_quality = QualityAny;
11 void SearchParams::setParam(QString name, QVariant value) {
12 bool success = setProperty(name.toUtf8(), value);
13 if (!success) qWarning() << "Failed to set property" << name << value.toString();