9#ifndef INTERFACES_IFINDER_H
10#define INTERFACES_IFINDER_H
16class QAbstractItemModel;
161 const QStringList& oldCats) = 0;
164Q_DECLARE_INTERFACE (
IFinder,
"org.Deviant.LeechCraft.IFinder/1.0")
Represents search results for a single Request.
virtual QByteArray GetUniqueSearchID() const =0
Represents the unique ID of this finder type.
virtual QAbstractItemModel * GetModel()=0
virtual QStringList GetCategories() const =0
Returns the list of categories this proxy would return.
Base class for search providers.
virtual QList< IFindProxy_ptr > GetProxy(const LC::Request &r)=0
Returns find proxies for the given request.
virtual void categoriesChanged(const QStringList &newCats, const QStringList &oldCats)=0
This signal should be emitted by plugin after the list of categories has been updated.
virtual QStringList GetCategories() const =0
Returns the plugin's categories.
std::shared_ptr< IFindProxy > IFindProxy_ptr
Describes the elementary subrequest.
QHash< QString, QVariant > Params_
@ RTRegexp
Regular expression.