54 lines
853 B
C++
54 lines
853 B
C++
|
#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;
|
||
|
}
|