.TH "KMediaPlayer::View" 3 "28 Jan 2004" "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
.RI "\fIThe Possible buttons that can appear in the UI. \fP"
.in -1c
.SS "Public Slots"

.in +1c
.ti -1c
.RI "void \fBsetButtons\fP (int)"
.br
.RI "\fISet which buttons to display. \fP"
.ti -1c
.RI "bool \fBbutton\fP (int)"
.br
.RI "\fIReturns if a particular button is being displayed. \fP"
.ti -1c
.RI "void \fBshowButton\fP (int)"
.br
.RI "\fIDisplay a particular button. \fP"
.ti -1c
.RI "void \fBhideButton\fP (int)"
.br
.RI "\fIStop displaying a particular button. \fP"
.ti -1c
.RI "void \fBtoggleButton\fP (int)"
.br
.RI "\fIToggle the display of a particular button. \fP"
.in -1c
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBbuttonsChanged\fP (int)"
.br
.RI "\fIEmitted when the set of displayed buttons changes. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBView\fP (\fBQWidget\fP *parent, const  char *name)"
.br
.RI "\fIYour typical \fBQWidget\fP constructor. \fP"
.ti -1c
.RI "int \fBbuttons\fP (void)"
.br
.RI "\fIReturn which buttons are being displayed. \fP"
.in -1c
.SH "Detailed Description"
.PP 
\fBView\fP is part of the user interface of a \fBPlayer\fP. Definition at line 33 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 43 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. Definition at line 26 of file view.cpp.
.PP
References KStdAccel::name().
.SH "Member Function Documentation"
.PP 
.SS "int KMediaPlayer::View::buttons (void)"
.PP
Return which buttons are being displayed. Definition at line 37 of file view.cpp.
.SS "void KMediaPlayer::View::setButtons (int)\fC [slot]\fP"
.PP
Set which buttons to display. \fBSee also:\fP
.RS 4
\fBButton\fP. 
.RE
.PP
Definition at line 42 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. Definition at line 51 of file view.cpp.
.SS "void KMediaPlayer::View::showButton (int)\fC [slot]\fP"
.PP
Display a particular button. Definition at line 56 of file view.cpp.
.PP
References setButtons().
.SS "void KMediaPlayer::View::hideButton (int)\fC [slot]\fP"
.PP
Stop displaying a particular button. Definition at line 61 of file view.cpp.
.PP
References setButtons().
.SS "void KMediaPlayer::View::toggleButton (int)\fC [slot]\fP"
.PP
Toggle the display of a particular button. Definition at line 66 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. Referenced by setButtons().

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