summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-09 14:22:05 (UTC)
committer simon <simon>2002-12-09 14:22:05 (UTC)
commit8746877e7ed89fc4c227d5d79d63c35c69ceacd6 (patch) (side-by-side diff)
tree3e8b175d266dcf97062278af0592118b70af533d
parent2bcd5795a30de05820edaf253dc34717de498fca (diff)
downloadopie-8746877e7ed89fc4c227d5d79d63c35c69ceacd6.zip
opie-8746877e7ed89fc4c227d5d79d63c35c69ceacd6.tar.gz
opie-8746877e7ed89fc4c227d5d79d63c35c69ceacd6.tar.bz2
- moving some variables to the base class
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
@@ -92,7 +92,4 @@ private slots:
void stopSkip();
private:
- typedef std::vector<QBitmap> MaskVector;
- typedef std::vector<QPixmap> PixmapVector;
-
void setToggleButton( int, bool );
virtual void paintButton( QPainter &p, int i );
@@ -102,7 +99,4 @@ private:
QImage imgUp;
QImage imgDn;
- MaskVector masks;
- PixmapVector buttonPixUp;
- PixmapVector buttonPixDown;
OTicker songInfo;
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
@@ -55,4 +55,7 @@ public:
};
+ typedef std::vector<QBitmap> MaskVector;
+ typedef std::vector<QPixmap> PixmapVector;
+
MediaWidget( PlayListWidget &_playList, MediaPlayerState &_mediaPlayerState, QWidget *parent = 0, const char *name = 0 );
virtual ~MediaWidget();
@@ -88,4 +91,8 @@ protected:
QImage buttonMask;
+ MaskVector masks;
+ PixmapVector buttonPixUp;
+ PixmapVector buttonPixDown;
+
QPoint upperLeftOfButtonMask;
};