summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/mediaplayerstate.h
authorsimon <simon>2002-12-02 19:20:59 (UTC)
committer simon <simon>2002-12-02 19:20:59 (UTC)
commit24081d2efe5860c9656716b04af00e5ab85d1cd3 (patch) (unidiff)
treeaf0a952e87220242aab54bfae4010c667b60aca9 /noncore/multimedia/opieplayer2/mediaplayerstate.h
parent54665278a9b7d703deb73ede0d74d3948c265b39 (diff)
downloadopie-24081d2efe5860c9656716b04af00e5ab85d1cd3.zip
opie-24081d2efe5860c9656716b04af00e5ab85d1cd3.tar.gz
opie-24081d2efe5860c9656716b04af00e5ab85d1cd3.tar.bz2
- another step to switch to from char view to DisplayType
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayerstate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h
index ca531c5..b18780b 100644
--- a/noncore/multimedia/opieplayer2/mediaplayerstate.h
+++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h
@@ -63,7 +63,7 @@ public:
63 bool isStopped() const { return stopped; } 63 bool isStopped() const { return stopped; }
64 long position() const { return curPosition; } 64 long position() const { return curPosition; }
65 long length() const { return curLength; } 65 long length() const { return curLength; }
66 char view() const { return curView; } 66 char view() const;
67 DisplayType displayType() const; 67 DisplayType displayType() const;
68 68
69public slots: 69public slots:
@@ -80,6 +80,7 @@ public slots:
80 void updatePosition( long p ); 80 void updatePosition( long p );
81 void setLength( long l ); 81 void setLength( long l );
82 void setView( char v ); 82 void setView( char v );
83 void setDisplayType( MediaPlayerState::DisplayType displayType );
83 void setBlanked( bool b ); 84 void setBlanked( bool b );
84 void setVideoGamma( int v ); 85 void setVideoGamma( int v );
85 86
@@ -110,7 +111,6 @@ signals:
110 void positionChanged( long ); // When the slider is moved 111 void positionChanged( long ); // When the slider is moved
111 void positionUpdated( long ); // When the media file progresses 112 void positionUpdated( long ); // When the media file progresses
112 void lengthChanged( long ); 113 void lengthChanged( long );
113 void viewChanged( char );
114 void displayTypeChanged( MediaPlayerState::DisplayType type ); 114 void displayTypeChanged( MediaPlayerState::DisplayType type );
115 void isSeekableToggled( bool ); 115 void isSeekableToggled( bool );
116 void blankToggled( bool ); 116 void blankToggled( bool );
@@ -132,7 +132,7 @@ private:
132 bool stopped : 1; 132 bool stopped : 1;
133 long curPosition; 133 long curPosition;
134 long curLength; 134 long curLength;
135 char curView; 135 DisplayType m_displayType;
136 int videoGamma; 136 int videoGamma;
137 void readConfig( Config& cfg ); 137 void readConfig( Config& cfg );
138 138