\section{KMedia\-Player::View Class Reference}
\label{classKMediaPlayer_1_1View}\index{KMediaPlayer::View@{KMediaPlayer::View}}
{\bf View}{\rm (p.\,\pageref{classKMediaPlayer_1_1View})} is part of the user interface of a {\bf Player}{\rm (p.\,\pageref{classKMediaPlayer_1_1Player})}.  


{\tt \#include $<$view.h$>$}

Inheritance diagram for KMedia\-Player::View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=73pt]{classKMediaPlayer_1_1View__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KMedia\-Player::View:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=73pt]{classKMediaPlayer_1_1View__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Button} \{ \par
{\bf Play} =  1, 
{\bf Stop} =  2, 
{\bf Pause} =  4, 
{\bf Seeker} =  8, 
\par
{\bf All} =  255
 \}
\begin{CompactList}\small\item\em The Possible buttons that can appear in the UI. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf set\-Buttons} (int)
\begin{CompactList}\small\item\em Set which buttons to display. \item\end{CompactList}\item 
bool {\bf button} (int)
\begin{CompactList}\small\item\em Returns if a particular button is being displayed. \item\end{CompactList}\item 
void {\bf show\-Button} (int)
\begin{CompactList}\small\item\em Display a particular button. \item\end{CompactList}\item 
void {\bf hide\-Button} (int)
\begin{CompactList}\small\item\em Stop displaying a particular button. \item\end{CompactList}\item 
void {\bf toggle\-Button} (int)
\begin{CompactList}\small\item\em Toggle the display of a particular button. \item\end{CompactList}\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf buttons\-Changed} (int)
\begin{CompactList}\small\item\em Emitted when the set of displayed buttons changes. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf View} ({\bf QWidget} $\ast$parent, const  char $\ast$name)
\begin{CompactList}\small\item\em Your typical {\bf QWidget} constructor. \item\end{CompactList}\item 
int {\bf buttons} (void)
\begin{CompactList}\small\item\em Return which buttons are being displayed. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
{\bf View}{\rm (p.\,\pageref{classKMediaPlayer_1_1View})} is part of the user interface of a {\bf Player}{\rm (p.\,\pageref{classKMediaPlayer_1_1Player})}. 



Definition at line 33 of file kmediaplayer/view.h.

\subsection{Member Enumeration Documentation}
\index{KMediaPlayer::View@{KMedia\-Player::View}!Button@{Button}}
\index{Button@{Button}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf enum} {\bf KMedia\-Player::View::Button}}\label{classKMediaPlayer_1_1View_w5}


The Possible buttons that can appear in the UI. 

\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{Play@{Play}!KMediaPlayer::View@{KMediaPlayer::View}}\index{KMediaPlayer::View@{KMediaPlayer::View}!Play@{Play}}\item[{\em 
Play\label{classKMediaPlayer_1_1View_w5w0}
}]Button that connects to {\bf Player::play}{\rm (p.\,\pageref{classKMediaPlayer_1_1Player_i1})}. \index{Stop@{Stop}!KMediaPlayer::View@{KMediaPlayer::View}}\index{KMediaPlayer::View@{KMediaPlayer::View}!Stop@{Stop}}\item[{\em 
Stop\label{classKMediaPlayer_1_1View_w5w1}
}]Button that connects to {\bf Player::stop}{\rm (p.\,\pageref{classKMediaPlayer_1_1Player_i2})}. \index{Pause@{Pause}!KMediaPlayer::View@{KMediaPlayer::View}}\index{KMediaPlayer::View@{KMediaPlayer::View}!Pause@{Pause}}\item[{\em 
Pause\label{classKMediaPlayer_1_1View_w5w2}
}]Button that connects to {\bf Player::pause}{\rm (p.\,\pageref{classKMediaPlayer_1_1Player_i0})}. \index{Seeker@{Seeker}!KMediaPlayer::View@{KMediaPlayer::View}}\index{KMediaPlayer::View@{KMediaPlayer::View}!Seeker@{Seeker}}\item[{\em 
Seeker\label{classKMediaPlayer_1_1View_w5w3}
}]A seeker that interfaces with {\bf Player::seek}{\rm (p.\,\pageref{classKMediaPlayer_1_1Player_i3})}. \index{All@{All}!KMediaPlayer::View@{KMediaPlayer::View}}\index{KMediaPlayer::View@{KMediaPlayer::View}!All@{All}}\item[{\em 
All\label{classKMediaPlayer_1_1View_w5w4}
}]Show all buttons. \end{description}
\end{Desc}



Definition at line 43 of file kmediaplayer/view.h.

\subsection{Constructor \& Destructor Documentation}
\index{KMediaPlayer::View@{KMedia\-Player::View}!View@{View}}
\index{View@{View}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KMedia\-Player::View::View ({\bf QWidget} $\ast$ {\em parent}, const char $\ast$ {\em name})}\label{classKMediaPlayer_1_1View_a0}


Your typical {\bf QWidget} constructor. 



Definition at line 26 of file view.cpp.

References KStd\-Accel::name().

\subsection{Member Function Documentation}
\index{KMediaPlayer::View@{KMedia\-Player::View}!buttons@{buttons}}
\index{buttons@{buttons}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KMedia\-Player::View::buttons (void)}\label{classKMediaPlayer_1_1View_a2}


Return which buttons are being displayed. 



Definition at line 37 of file view.cpp.\index{KMediaPlayer::View@{KMedia\-Player::View}!setButtons@{setButtons}}
\index{setButtons@{setButtons}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMedia\-Player::View::set\-Buttons (int)\hspace{0.3cm}{\tt  [slot]}}\label{classKMediaPlayer_1_1View_i0}


Set which buttons to display. 

\begin{Desc}
\item[See also:]{\bf Button}{\rm (p.\,\pageref{classKMediaPlayer_1_1View_w5})}. \end{Desc}


Definition at line 42 of file view.cpp.

References buttons\-Changed().

Referenced by hide\-Button(), show\-Button(), and toggle\-Button().\index{KMediaPlayer::View@{KMedia\-Player::View}!button@{button}}
\index{button@{button}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KMedia\-Player::View::button (int)\hspace{0.3cm}{\tt  [slot]}}\label{classKMediaPlayer_1_1View_i1}


Returns if a particular button is being displayed. 



Definition at line 51 of file view.cpp.\index{KMediaPlayer::View@{KMedia\-Player::View}!showButton@{showButton}}
\index{showButton@{showButton}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMedia\-Player::View::show\-Button (int)\hspace{0.3cm}{\tt  [slot]}}\label{classKMediaPlayer_1_1View_i2}


Display a particular button. 



Definition at line 56 of file view.cpp.

References set\-Buttons().\index{KMediaPlayer::View@{KMedia\-Player::View}!hideButton@{hideButton}}
\index{hideButton@{hideButton}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMedia\-Player::View::hide\-Button (int)\hspace{0.3cm}{\tt  [slot]}}\label{classKMediaPlayer_1_1View_i3}


Stop displaying a particular button. 



Definition at line 61 of file view.cpp.

References set\-Buttons().\index{KMediaPlayer::View@{KMedia\-Player::View}!toggleButton@{toggleButton}}
\index{toggleButton@{toggleButton}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMedia\-Player::View::toggle\-Button (int)\hspace{0.3cm}{\tt  [slot]}}\label{classKMediaPlayer_1_1View_i4}


Toggle the display of a particular button. 



Definition at line 66 of file view.cpp.

References set\-Buttons().\index{KMediaPlayer::View@{KMedia\-Player::View}!buttonsChanged@{buttonsChanged}}
\index{buttonsChanged@{buttonsChanged}!KMediaPlayer::View@{KMedia\-Player::View}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMedia\-Player::View::buttons\-Changed (int)\hspace{0.3cm}{\tt  [signal]}}\label{classKMediaPlayer_1_1View_l0}


Emitted when the set of displayed buttons changes. 



Referenced by set\-Buttons().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kmediaplayer/view.h\item 
view.cpp\end{CompactItemize}
