![]() |
LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
|
Base interface for specific resource sources. More...
#include "iresourceplugin.h"
Public Member Functions | |
virtual | ~IResourceSource () |
virtual QAbstractItemModel * | GetOptionsModel () const =0 |
Returns the model with the options for resource. More... | |
Base interface for specific resource sources.
All resource source loaders, like smile packs resource loader or chat window style resource loader derive from this interface.
In your plugin you should never derive from this interface directly, instead, a relevant interface should be used.
Definition at line 37 of file iresourceplugin.h.
|
inlinevirtual |
Definition at line 40 of file iresourceplugin.h.
|
pure virtual |
Returns the model with the options for resource.
The model would be set as the datasource model for the corresponding combobox item in the settings dialog.
The model should have at least one column, and the text of the items in that column would be used in queries for the associated resources (see derived interfaces' documentation for more information).