PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
AddressFilterProxyModel Class Referencefinal

#include <addressfilterproxymodel.h>

Inheritance diagram for AddressFilterProxyModel:
[legend]
Collaboration diagram for AddressFilterProxyModel:
[legend]

Public Member Functions

 AddressFilterProxyModel (const QString &type, QObject *parent)
 
 AddressFilterProxyModel (const QStringList &types, QObject *parent)
 
void init ()
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
void setType (const QString &type)
 
void setType (const QStringList &types)
 

Protected Member Functions

bool filterAcceptsRow (int row, const QModelIndex &parent) const override
 

Private Attributes

QStringList m_types
 

Detailed Description

Definition at line 10 of file addressfilterproxymodel.h.

Constructor & Destructor Documentation

◆ AddressFilterProxyModel() [1/2]

AddressFilterProxyModel::AddressFilterProxyModel ( const QString &  type,
QObject *  parent 
)
inline

Definition at line 14 of file addressfilterproxymodel.h.

◆ AddressFilterProxyModel() [2/2]

AddressFilterProxyModel::AddressFilterProxyModel ( const QStringList &  types,
QObject *  parent 
)
inline

Definition at line 20 of file addressfilterproxymodel.h.

Here is the call graph for this function:

Member Function Documentation

◆ filterAcceptsRow()

bool AddressFilterProxyModel::filterAcceptsRow ( int  row,
const QModelIndex &  parent 
) const
overrideprotected

Definition at line 8 of file addressfilterproxymodel.cpp.

◆ init()

void AddressFilterProxyModel::init ( )
inline

Definition at line 26 of file addressfilterproxymodel.h.

Here is the caller graph for this function:

◆ rowCount()

int AddressFilterProxyModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

Definition at line 38 of file addressfilterproxymodel.cpp.

◆ setType() [1/2]

void AddressFilterProxyModel::setType ( const QString &  type)

Definition at line 27 of file addressfilterproxymodel.cpp.

Here is the caller graph for this function:

◆ setType() [2/2]

void AddressFilterProxyModel::setType ( const QStringList &  types)

Definition at line 32 of file addressfilterproxymodel.cpp.

Member Data Documentation

◆ m_types

QStringList AddressFilterProxyModel::m_types
private

Definition at line 41 of file addressfilterproxymodel.h.


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