Mercurial > hg > easaier-soundaccess
view sv/filter/Filter.cpp @ 202:bb04d9df8b41
set the filters always visible in the MainWindow but disable by default
author | lbajardsilogic |
---|---|
date | Tue, 29 Jan 2008 12:46:03 +0000 |
parents | 5060939ca69d |
children | 74d1b3bda5a3 |
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sound Access EASAIER client application. Silogic 2007. Laure Bajard. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING included with this distribution for more information. */ #include "Filter.h" Filter::Filter() : PropertyContainer(), m_sourceChannelCount(0), filterEnabled(false) {} Filter::~Filter() {} bool Filter::isFilterEnabled(){ return filterEnabled; } void Filter::setFilterEnabled(bool b){ filterEnabled=b; emit filterEnableChanged(b); } void Filter::setFilterEnabled(int b){ filterEnabled=b; emit filterEnableChanged(b); }