Q_OBJECT
public:
- HeaderTrack(int index, TrackInfo info, int height, QList <QAction *> actions, QWidget *parent = 0);
+ HeaderTrack(int index, TrackInfo info, int height, const QList <QAction *>& actions, QWidget *parent = 0);
//virtual ~HeaderTrack();
void setLock(bool lock);
void adjustSize(int height);
void setSelectedIndex(int ix);
/** @brief Update the track label to show if current track has effects or not.*/
- void updateEffectLabel(QStringList effects);
+ void updateEffectLabel(const QStringList &effects);
protected:
virtual void mousePressEvent(QMouseEvent * event);