Book Shelf
Loading...
Searching...
No Matches
BookProxyModel Class Reference

The BookProxyModel class is a proxy model that filters the book table model. More...

#include <bookproxymodel.h>

Inheritance diagram for BookProxyModel:

Public Slots

void setFilter (const QString &filterText)
 Set the filter text for the proxy model.
 

Public Member Functions

 BookProxyModel (QObject *parent=nullptr)
 Construct a new BookProxyModel object.
 

Detailed Description

The BookProxyModel class is a proxy model that filters the book table model.

Constructor & Destructor Documentation

◆ BookProxyModel()

BookProxyModel::BookProxyModel ( QObject * parent = nullptr)
explicit

Construct a new BookProxyModel object.

Parameters
parentThe parent object.

Member Function Documentation

◆ setFilter

void BookProxyModel::setFilter ( const QString & filterText)
slot

Set the filter text for the proxy model.

Parameters
filterTextThe text to filter the model by.

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