Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/skin/propertybinder.h

Go to the documentation of this file.
00001 #ifndef PROPERTYBINDER_H
00002 #define PROPERTYBINDER_H
00003 
00004 #include <QObject>
00005 #include <QWidget>
00006 #include <QString>
00007 #include <QVariant>
00008 
00009 class ControlObject;
00010 class ControlObjectThreadMain;
00011 
00012 class PropertyBinder : QObject {
00013     Q_OBJECT
00014   public:
00015     PropertyBinder(QWidget* pWidget, QString propertyName, ControlObject* pControl);
00016     virtual ~PropertyBinder();
00017   signals:
00018     void setWidgetProperty(const char* name, const QVariant& value);
00019   private slots:
00020     void slotValueChanged(double dValue);
00021   private:
00022     QString m_propertyName;
00023     QWidget* m_pWidget;
00024     ControlObjectThreadMain* m_pControlThreadMain;
00025 };
00026 
00027 #endif /* PROPERTYBINDER_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines