PNPkurs-PIbd-31-Alekseev-I-S/service/filterparams.cpp

54 lines
853 B
C++
Raw Permalink Normal View History

2025-01-15 22:57:00 +04:00
#include "filterparams.h"
FilterParams::FilterParams() {}
bool FilterParams::isReady() const
{
return _isReady;
}
void FilterParams::setIsReady(bool newIsReady)
{
_isReady = newIsReady;
}
double FilterParams::priceFrom() const
{
return _priceFrom;
}
void FilterParams::setPriceFrom(double newPriceFrom)
{
_priceFrom = newPriceFrom;
}
double FilterParams::priceTo() const
{
return _priceTo;
}
void FilterParams::setPriceTo(double newPriceTo)
{
_priceTo = newPriceTo;
}
bool FilterParams::getDisregardState() const
{
return disregardState;
}
void FilterParams::setDisregardState(bool newDisregardState)
{
disregardState = newDisregardState;
}
bool FilterParams::getApllyFilters() const
{
return apllyFilters;
}
void FilterParams::setApllyFilters(bool newApllyFilters)
{
apllyFilters = newApllyFilters;
}