projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide notifiers for when signal data changes
[pulseview.git]
/
pv
/
data
/
signalbase.hpp
diff --git
a/pv/data/signalbase.hpp
b/pv/data/signalbase.hpp
index 2b3f2f1cb5a35368c5fefae6cd03e2902c531bbd..6667dd76847cab8ce3235c99d6ec19deb73544fb 100644
(file)
--- a/
pv/data/signalbase.hpp
+++ b/
pv/data/signalbase.hpp
@@
-15,8
+15,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_DATA_SIGNALBASE_HPP
*/
#ifndef PULSEVIEW_PV_DATA_SIGNALBASE_HPP
@@
-24,6
+23,7
@@
#include <QColor>
#include <QObject>
#include <QColor>
#include <QObject>
+#include <QSettings>
#include <QString>
#include <libsigrokcxx/libsigrokcxx.hpp>
#include <QString>
#include <libsigrokcxx/libsigrokcxx.hpp>
@@
-134,6
+134,10
@@
public:
decoder_stack);
#endif
decoder_stack);
#endif
+ void save_settings(QSettings &settings) const;
+
+ void restore_settings(QSettings &settings);
+
Q_SIGNALS:
void enabled_changed(const bool &value);
Q_SIGNALS:
void enabled_changed(const bool &value);