Add operator != to Plasma::QueryMatch
This commit is contained in:
parent
d68f439477
commit
f75b1e7d10
@ -265,6 +265,11 @@ bool QueryMatch::operator==(const QueryMatch &other) const
|
||||
return (d == other.d);
|
||||
}
|
||||
|
||||
bool QueryMatch::operator!=(const QueryMatch &other) const
|
||||
{
|
||||
return (d != other.d);
|
||||
}
|
||||
|
||||
void QueryMatch::run(const RunnerContext &context) const
|
||||
{
|
||||
//kDebug() << "we run the term" << context->query() << "whose type is" << context->mimetype();
|
||||
|
@ -84,6 +84,7 @@ class PLASMA_EXPORT QueryMatch
|
||||
~QueryMatch();
|
||||
QueryMatch &operator=(const QueryMatch &other);
|
||||
bool operator==(const QueryMatch &other) const;
|
||||
bool operator!=(const QueryMatch &other) const;
|
||||
bool operator<(const QueryMatch &other) const;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user