1
//=========================================================
4
// $Id: value.h,v 1.2 2001/11/20 15:19:32 muse Exp $
6
// (C) Copyright 2000 Werner Schweer (ws@seh.de)
7
//=========================================================
16
//---------------------------------------------------------
18
//---------------------------------------------------------
20
class IValue : public QObject {
26
void valueChanged(int);
32
IValue(QObject* parent=0, const char* name=0);
33
int value() const { return val; }
34
void save(int level, Xml& xml);
37
//---------------------------------------------------------
39
//---------------------------------------------------------
41
class BValue : public QObject {
47
void valueChanged(bool);
48
void valueChanged(int);
51
void setValue(bool v);
52
void setValue(int v) { setValue(bool(v)); }
55
BValue(QObject* parent=0, const char* name=0);
56
bool value() const { return val; }
57
void save(int level, Xml& xml);