- Q_OBJECT
-
- public:
- EffectsListView(EffectsList *audioEffectList, EffectsList *videoEffectList, EffectsList *customEffectList, QWidget *parent=0);
- KListWidget *listView();
-
- private:
- Ui::EffectList_UI ui;
- EffectsList *m_audioList;
- EffectsList *m_videoList;
- EffectsList *m_customList;
-
- private slots:
- void initList(int pos);
+ Q_OBJECT
+
+public:
+ explicit EffectsListView(QWidget *parent = 0);
+
+ /** @brief Re-initializes the list of effects. */
+ void reloadEffectList(QMenu *effectsMenu, KActionCategory *effectActions);
+ QMenu* getEffectsMenu();
+ //void slotAddEffect(GenTime pos, int track, QString name);
+
+ /** @brief Palette was changed, update styles. */
+ void updatePalette();
+
+private:
+ EffectsListWidget *m_effectsList;
+
+private slots:
+ /** @brief Applies the type filter to the effect list.
+ * @param pos Index of the combo box; where 0 = All, 1 = Video, 2 = Audio, 3 = Custom */
+ void filterList(int pos);
+
+ /** @brief Updates the info panel to match the selected effect. */