Diffstat (limited to 'noncore/multimedia/opieplayer2/mediawidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediawidget.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h index 0b9d826..9cb75ae 100644 --- a/noncore/multimedia/opieplayer2/mediawidget.h +++ b/noncore/multimedia/opieplayer2/mediawidget.h @@ -26,4 +26,6 @@ #include "playlistwidget.h" +#include <vector> + class MediaWidget : public QWidget { @@ -34,5 +36,7 @@ public: struct Button { -// Button() : isToggle( false ), isHeld( false ), isDown( false ) {} + //Button() : isToggle( false ), isHeld( false ), isDown( false ) {} +// Button( bool toggle, bool held, bool down ) +// : isToggle( toggle ), isHeld( held ), isDown( down ) {} bool isToggle : 1; @@ -40,4 +44,5 @@ public: bool isDown : 1; }; + typedef std::vector<Button> ButtonVector; MediaWidget( PlayListWidget &_playList, MediaPlayerState &_mediaPlayerState, QWidget *parent = 0, const char *name = 0 ); |