Change setters from public slots to plain public functions

Fixes #2
This commit is contained in:
oKcerG 2016-02-24 20:41:32 +01:00
parent 99d89d8cfb
commit 4d4ab3c27e
1 changed files with 12 additions and 9 deletions

View File

@ -30,23 +30,26 @@ public:
QQmlSortFilterProxyModel(QObject* parent = 0);
QString filterRoleName() const;
QString filterPattern() const;
PatternSyntax filterPatternSyntax() const;
QVariant filterValue() const;
QQmlScriptString filterExpression() const;
QString sortRoleName() const;
QQmlScriptString sortExpression() const;
public slots:
void setFilterRoleName(QString filterRoleName);
QString filterPattern() const;
void setFilterPattern(QString filterPattern);
PatternSyntax filterPatternSyntax() const;
void setFilterPatternSyntax(PatternSyntax patternSyntax);
QVariant filterValue() const;
void setFilterValue(QVariant filterValue);
QQmlScriptString filterExpression() const;
void setFilterExpression(QQmlScriptString filterScriptString);
QString sortRoleName() const;
void setSortRoleName(QString sortRoleName);
void setSortOrder(Qt::SortOrder sortOrder);
QQmlScriptString sortExpression() const;
void setSortExpression(QQmlScriptString compareScriptString);
signals: