summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.h6
-rw-r--r--noncore/multimedia/opieplayer2/mediawidget.h7
2 files changed, 7 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h
index 73ce1e5..332fb4b 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.h
+++ b/noncore/multimedia/opieplayer2/audiowidget.h
@@ -90,21 +90,15 @@ private slots:
void skipFor();
void skipBack();
void stopSkip();
private:
- typedef std::vector<QBitmap> MaskVector;
- typedef std::vector<QPixmap> PixmapVector;
-
void setToggleButton( int, bool );
virtual void paintButton( QPainter &p, int i );
int skipDirection;
QString skin;
QPixmap pixBg;
QImage imgUp;
QImage imgDn;
- MaskVector masks;
- PixmapVector buttonPixUp;
- PixmapVector buttonPixDown;
OTicker songInfo;
QSlider slider;
QLineEdit time;
diff --git a/noncore/multimedia/opieplayer2/mediawidget.h b/noncore/multimedia/opieplayer2/mediawidget.h
index 9fb3499..2641df6 100644
--- a/noncore/multimedia/opieplayer2/mediawidget.h
+++ b/noncore/multimedia/opieplayer2/mediawidget.h
@@ -53,8 +53,11 @@ public:
const char *fileName;
ButtonType type;
};
+ typedef std::vector<QBitmap> MaskVector;
+ typedef std::vector<QPixmap> PixmapVector;
+
MediaWidget( PlayListWidget &_playList, MediaPlayerState &_mediaPlayerState, QWidget *parent = 0, const char *name = 0 );
virtual ~MediaWidget();
public slots:
@@ -86,8 +89,12 @@ protected:
ButtonVector buttons;
QImage buttonMask;
+ MaskVector masks;
+ PixmapVector buttonPixUp;
+ PixmapVector buttonPixDown;
+
QPoint upperLeftOfButtonMask;
};
#endif // MEDIAWIDGET_H