summaryrefslogtreecommitdiffstats
path: root/src/widget/weffectchain.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-01-13 00:15:28 -0500
committerRJ Ryan <rryan@mixxx.org>2014-01-13 00:15:28 -0500
commit0d8ff350b00dc92f52c245da86e90d151b1721f2 (patch)
tree65b33a33ee1f93168d7a7d12d15f7e9d35085fa5 /src/widget/weffectchain.h
parent9246ea7a4628a9f8cbe61c33982ce30c486feb1b (diff)
Move effect widget setup out of LegacySkinParser and into the setup() method.
Diffstat (limited to 'src/widget/weffectchain.h')
-rw-r--r--src/widget/weffectchain.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/widget/weffectchain.h b/src/widget/weffectchain.h
index 8d5457758c..ffc0eb9ced 100644
--- a/src/widget/weffectchain.h
+++ b/src/widget/weffectchain.h
@@ -3,23 +3,30 @@
#include <QWidget>
#include <QLabel>
+#include <QDomNode>
#include "effects/effectchainslot.h"
#include "widget/wlabel.h"
+#include "skin/skincontext.h"
+
+class EffectsManager;
class WEffectChain : public WLabel {
Q_OBJECT
public:
- WEffectChain(QWidget* pParent=NULL);
+ WEffectChain(QWidget* pParent, EffectsManager* pEffectsManager);
virtual ~WEffectChain();
- // Set the EffectChain that should be monitored by this WEffectChain
- void setEffectChainSlot(EffectChainSlotPointer pEffectChainSlot);
+ void setup(QDomNode node, const SkinContext& context);
private slots:
void chainUpdated();
private:
+ // Set the EffectChain that should be monitored by this WEffectChain
+ void setEffectChainSlot(EffectChainSlotPointer pEffectChainSlot);
+
+ EffectsManager* m_pEffectsManager;
EffectChainSlotPointer m_pEffectChainSlot;
};