LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::CheckableProxyModel< IdType > Class Template Reference

#include "checkableproxymodel.h"

Inheritance diagram for LC::Util::CheckableProxyModel< IdType >:
Collaboration diagram for LC::Util::CheckableProxyModel< IdType >:

Public Member Functions

QSet< IdType > GetUnchecked () const
QSet< IdType > GetChecked () const
 CheckableProxyModelBase (int idRole, QObject *parent=nullptr)
Public Member Functions inherited from LC::Util::CheckableProxyModelBase
 CheckableProxyModelBase (int idRole, QObject *parent=nullptr)
Qt::ItemFlags flags (const QModelIndex &index) const override
QVariant data (const QModelIndex &index, int role) const override
bool setData (const QModelIndex &index, const QVariant &value, int role) override
void CheckAll ()
void CheckNone ()

Protected Member Functions

bool IsChecked (const QVariant &idVar) const override
void SetChecked (const QVariant &idVar, bool checked) override

Additional Inherited Members

Signals inherited from LC::Util::CheckableProxyModelBase
void selectionChanged ()
Protected Attributes inherited from LC::Util::CheckableProxyModelBase
const int IdRole_

Detailed Description

template<typename IdType>
class LC::Util::CheckableProxyModel< IdType >

Definition at line 39 of file checkableproxymodel.h.

Member Function Documentation

◆ CheckableProxyModelBase()

template<typename IdType>
LC::Util::CheckableProxyModelBase::CheckableProxyModelBase ( int idRole,
QObject * parent = nullptr )
explicit

Definition at line 23 of file checkableproxymodel.cpp.

References LC::Util::CheckableProxyModelBase::flags().

Here is the call graph for this function:

◆ GetChecked()

template<typename IdType>
QSet< IdType > LC::Util::CheckableProxyModel< IdType >::GetChecked ( ) const
inline

Definition at line 50 of file checkableproxymodel.h.

References LC::Util::CheckableProxyModelBase::IdRole_.

◆ GetUnchecked()

template<typename IdType>
QSet< IdType > LC::Util::CheckableProxyModel< IdType >::GetUnchecked ( ) const
inline

Definition at line 45 of file checkableproxymodel.h.

◆ IsChecked()

template<typename IdType>
bool LC::Util::CheckableProxyModel< IdType >::IsChecked ( const QVariant & idVar) const
inlineoverrideprotectedvirtual

Implements LC::Util::CheckableProxyModelBase.

Definition at line 67 of file checkableproxymodel.h.

◆ SetChecked()

template<typename IdType>
void LC::Util::CheckableProxyModel< IdType >::SetChecked ( const QVariant & idVar,
bool checked )
inlineoverrideprotectedvirtual

Implements LC::Util::CheckableProxyModelBase.

Definition at line 72 of file checkableproxymodel.h.


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