cli: search: implement -r, cleanup of options that don't belong there
This commit is contained in:
@ -23,6 +23,11 @@ QueryType QSSQuery::getQueryType()
|
||||
return static_cast<QueryType>(tokensMask & COMBINED);
|
||||
}
|
||||
|
||||
void QSSQuery::addSortCondition(SortCondition sc)
|
||||
{
|
||||
this->sortConditions.append(sc);
|
||||
}
|
||||
|
||||
bool QSSQuery::checkParanthesis(QString expression)
|
||||
{
|
||||
QStack<QChar> open;
|
||||
|
@ -52,6 +52,7 @@ class QSSQuery
|
||||
{
|
||||
return tokensMask;
|
||||
}
|
||||
void addSortCondition(SortCondition sc);
|
||||
static bool checkParanthesis(QString query);
|
||||
static QSSQuery build(QString query);
|
||||
};
|
||||
|
Reference in New Issue
Block a user