.TH "KMediaPlayer::View" kde3 "11 Jun 2005" "Version Version 3.4.1" "interfaces Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KMediaPlayer::View \- \fBView\fP is part of the user interface of a \fBPlayer\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <view.h>\fP
.PP
Inherits \fBQWidget\fP.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBButton\fP { \fBPlay\fP =  1, \fBStop\fP =  2, \fBPause\fP =  4, \fBSeeker\fP =  8, \fBAll\fP =  255 }"
.br
.in -1c
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBsetButtons\fP (int)"
.br
.ti -1c
.RI "bool \fBbutton\fP (int)"
.br
.ti -1c
.RI "void \fBshowButton\fP (int)"
.br
.ti -1c
.RI "void \fBhideButton\fP (int)"
.br
.ti -1c
.RI "void \fBtoggleButton\fP (int)"
.br
.in -1c
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBbuttonsChanged\fP (int)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBView\fP (\fBQWidget\fP *parent, const char *name)"
.br
.ti -1c
.RI "int \fBbuttons\fP (void)"
.br
.ti -1c
.RI "\fBQWidget\fP * \fBvideoWidget\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBsetVideoWidget\fP (\fBQWidget\fP *videoWidget)"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBView\fP is part of the user interface of a \fBPlayer\fP. 
.PP
Definition at line 34 of file kmediaplayer/view.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "\fBenum\fP \fBKMediaPlayer::View::Button\fP"
.PP
The Possible buttons that can appear in the UI. 
.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fIPlay \fP\fP
Button that connects to \fBPlayer::play\fP. 
.TP
\fB\fIStop \fP\fP
Button that connects to \fBPlayer::stop\fP. 
.TP
\fB\fIPause \fP\fP
Button that connects to \fBPlayer::pause\fP. 
.TP
\fB\fISeeker \fP\fP
A seeker that interfaces with \fBPlayer::seek\fP. 
.TP
\fB\fIAll \fP\fP
Show all buttons. 
.PP
Definition at line 44 of file kmediaplayer/view.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KMediaPlayer::View::View (\fBQWidget\fP * parent, const char * name)"
.PP
Your typical \fBQWidget\fP constructor. 
.PP
Definition at line 33 of file view.cpp.
.PP
References All.
.SH "Member Function Documentation"
.PP 
.SS "int KMediaPlayer::View::buttons (void)"
.PP
Return which buttons are being displayed. 
.PP
Definition at line 45 of file view.cpp.
.SS "\fBQWidget\fP * KMediaPlayer::View::videoWidget ()"
.PP
Return the \fBQWidget\fP in which video is displayed. 
.PP
May Return 0L if there is none. 
.PP
Definition at line 84 of file view.cpp.
.PP
Referenced by setVideoWidget().
.SS "void KMediaPlayer::View::setButtons (int)\fC [slot]\fP"
.PP
Set which buttons to display. 
.PP
\fBSee also:\fP
.RS 4
\fBButton\fP. 
.RE
.PP

.PP
Definition at line 50 of file view.cpp.
.PP
References buttonsChanged().
.PP
Referenced by hideButton(), showButton(), and toggleButton().
.SS "bool KMediaPlayer::View::button (int)\fC [slot]\fP"
.PP
Returns if a particular button is being displayed. 
.PP
Definition at line 59 of file view.cpp.
.SS "void KMediaPlayer::View::showButton (int)\fC [slot]\fP"
.PP
Display a particular button. 
.PP
Definition at line 64 of file view.cpp.
.PP
References setButtons().
.SS "void KMediaPlayer::View::hideButton (int)\fC [slot]\fP"
.PP
Stop displaying a particular button. 
.PP
Definition at line 69 of file view.cpp.
.PP
References setButtons().
.SS "void KMediaPlayer::View::toggleButton (int)\fC [slot]\fP"
.PP
Toggle the display of a particular button. 
.PP
Definition at line 74 of file view.cpp.
.PP
References setButtons().
.SS "void KMediaPlayer::View::buttonsChanged (int)\fC [signal]\fP"
.PP
Emitted when the set of displayed buttons changes. 
.PP
Referenced by setButtons().
.SS "void KMediaPlayer::View::setVideoWidget (\fBQWidget\fP * videoWidget)\fC [protected]\fP"
.PP
The implementing view should set the widget in which the video will be displayed. 
.PP
\fBKMediaPlayer\fP users may \fBreparent()\fP it to somewhere else, for example.
.PP
Definition at line 79 of file view.cpp.
.PP
References videoWidget().

.SH "Author"
.PP 
Generated automatically by Doxygen for interfaces Library from the source code.
