diff options
Diffstat (limited to 'src/widget/weffectchain.h')
-rw-r--r-- | src/widget/weffectchain.h | 13 |
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; }; |