'next' support continued: Repeat param for Play functions

This commit is contained in:
Bertrand Songis
2014-01-21 20:58:11 +01:00
parent ccd8d9d1fd
commit 3d91abbd5b
6 changed files with 64 additions and 29 deletions
+18
View File
@@ -13,6 +13,23 @@
#include <phonon/mediasource.h>
#endif
class RepeatComboBox: public QComboBox
{
Q_OBJECT
public:
RepeatComboBox(QWidget *parent, int & repeatParam);
signals:
void modified();
private slots:
void onIndexChanged(int);
protected:
int & repeatParam;
};
class CustomFunctionsPanel : public ModelPanel
{
Q_OBJECT
@@ -28,6 +45,7 @@ class CustomFunctionsPanel : public ModelPanel
void fsw_customContextMenuRequested(QPoint pos);
void refreshCustomFunction(int index, bool modified=false);
void playMusic();
void onChildModified();
#ifdef PHONON
void mediaPlayer_state(Phonon::State newState, Phonon::State oldState);
#endif