LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
ITaggableJobs Class Referenceabstract

Interface for plugins having taggable download jobs. More...

#include "itaggablejobs.h"

Public Member Functions

virtual void SetTags (int jobRow, const QStringList &tagsList)=0
 Sets the list with tags for a job. More...
 
virtual ~ITaggableJobs ()
 Virtual destructor. More...
 

Detailed Description

Interface for plugins having taggable download jobs.

If a plugin has jobs which could be tagged and wants LeechCraft to know about it then it should implement this interface, but it would not be used if the plugin doesn't implement IDownload and IJobHolder. Tags could be used later by LeechCraft to do some searches, grouping and filtering, for example.

See also
IDownload
IJobHolder

Definition at line 25 of file itaggablejobs.h.

Constructor & Destructor Documentation

◆ ~ITaggableJobs()

virtual ITaggableJobs::~ITaggableJobs ( )
inlinevirtual

Virtual destructor.

Definition at line 47 of file itaggablejobs.h.

Member Function Documentation

◆ SetTags()

virtual void ITaggableJobs::SetTags ( int  jobRow,
const QStringList &  tagsList 
)
pure virtual

Sets the list with tags for a job.

This function should replace the list with tags for a job which is in jobRow row in the model returned by IJobHolder::GetRepresentation().

Parameters
[in]jobRowrow with the job.
[in]tagsListList with tags.

The documentation for this class was generated from the following file: