LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::SelectionProxyModel< Id > Class Template Reference

#include "selectionproxymodel.h"

Inheritance diagram for LC::Util::SelectionProxyModel< Id >:
Collaboration diagram for LC::Util::SelectionProxyModel< Id >:

Classes

struct  Config

Public Member Functions

 SelectionProxyModel (QAbstractItemModel &source, const Config &config, QObject *parent=nullptr)
int GetIsSelectedRole () const
void SetSelections (const QSet< Id > &selections)
QVariant data (const QModelIndex &index, int role) const override

Detailed Description

template<typename Id>
class LC::Util::SelectionProxyModel< Id >

Definition at line 17 of file selectionproxymodel.h.

Constructor & Destructor Documentation

◆ SelectionProxyModel()

template<typename Id>
LC::Util::SelectionProxyModel< Id >::SelectionProxyModel ( QAbstractItemModel & source,
const Config & config,
QObject * parent = nullptr )
inlineexplicit

Definition at line 31 of file selectionproxymodel.h.

References LC::Util::InstallModelSanitizer().

Here is the call graph for this function:

Member Function Documentation

◆ data()

template<typename Id>
QVariant LC::Util::SelectionProxyModel< Id >::data ( const QModelIndex & index,
int role ) const
inlineoverride

Definition at line 54 of file selectionproxymodel.h.

◆ GetIsSelectedRole()

template<typename Id>
int LC::Util::SelectionProxyModel< Id >::GetIsSelectedRole ( ) const
inline

Definition at line 39 of file selectionproxymodel.h.

◆ SetSelections()

template<typename Id>
void LC::Util::SelectionProxyModel< Id >::SetSelections ( const QSet< Id > & selections)
inline

Definition at line 44 of file selectionproxymodel.h.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19214.g121e5318a7-build/leechcraft-0.6.70-19214-g121e5318a7/src/util/models/selectionproxymodel.h