comparison base/PropertyContainer.h @ 229:7d5d51145b81

support stereo in MultiRealTimeFilter and integrate Equalizer filter
author lbajardsilogic
date Wed, 05 Mar 2008 14:08:57 +0000
parents a6b881972a62
children 628531da16ef
comparison
equal deleted inserted replaced
228:a6b881972a62 229:7d5d51145b81
18 18
19 #include "Command.h" 19 #include "Command.h"
20 20
21 #include <QString> 21 #include <QString>
22 #include <QObject> 22 #include <QObject>
23 #include <vector> 23 #include <QVector>
24
25 //#include <vector>
24 26
25 class PlayParameters; 27 class PlayParameters;
26 class RangeMapper; 28 class RangeMapper;
27 29
28 class PropertyContainer : public QObject 30 class PropertyContainer : public QObject
103 105
104 virtual PlayParameters *getPlayParameters() { return 0; } 106 virtual PlayParameters *getPlayParameters() { return 0; }
105 107
106 virtual void emitPropertiesChanged() { emit propertiesChanged(this); } 108 virtual void emitPropertiesChanged() { emit propertiesChanged(this); }
107 109
110 virtual void setProperty(const PropertyName &, QVector<int> value){return;}
111
108 signals: 112 signals:
109 void propertyChanged(PropertyContainer::PropertyName); 113 void propertyChanged(PropertyContainer::PropertyName);
110 void propertiesChanged(PropertyContainer*); 114 void propertiesChanged(PropertyContainer*);
111 115
112 public slots: 116 public slots:
113 /** 117 /**
114 * Set a property. This is used for all property types. For 118 * Set a property. This is used for all property types. For
115 * boolean properties, zero is false and non-zero true; for 119 * boolean properties, zero is false and non-zero true; for
116 * colours, the integer value should be treated as a qRgb. 120 * colours, the integer value should be treated as a qRgb.