KMediaPlayer::View Class Reference
View is part of the user interface of a Player. More...
#include <view.h>
Inheritance diagram for KMediaPlayer::View:


Public Types | |
enum | Button { Play = 1, Stop = 2, Pause = 4, Seeker = 8, All = 255 } |
The Possible buttons that can appear in the UI. More... | |
Public Slots | |
void | setButtons (int) |
Set which buttons to display. | |
bool | button (int) |
Returns if a particular button is being displayed. | |
void | showButton (int) |
Display a particular button. | |
void | hideButton (int) |
Stop displaying a particular button. | |
void | toggleButton (int) |
Toggle the display of a particular button. | |
Signals | |
void | buttonsChanged (int) |
Emitted when the set of displayed buttons changes. | |
Public Member Functions | |
View (QWidget *parent, const char *name) | |
Your typical QWidget constructor. | |
int | buttons (void) |
Return which buttons are being displayed. |
Detailed Description
View is part of the user interface of a Player.
Definition at line 33 of file kmediaplayer/view.h.
Member Enumeration Documentation
|
The Possible buttons that can appear in the UI.
Definition at line 43 of file kmediaplayer/view.h. |
Constructor & Destructor Documentation
|
Your typical QWidget constructor.
Definition at line 26 of file view.cpp. References KStdAccel::name(). |
Member Function Documentation
|
Return which buttons are being displayed.
|
|
Set which buttons to display.
Definition at line 42 of file view.cpp. References buttonsChanged(). Referenced by hideButton(), showButton(), and toggleButton(). |
|
Returns if a particular button is being displayed.
|
|
Display a particular button.
Definition at line 56 of file view.cpp. References setButtons(). |
|
Stop displaying a particular button.
Definition at line 61 of file view.cpp. References setButtons(). |
|
Toggle the display of a particular button.
Definition at line 66 of file view.cpp. References setButtons(). |
|
Emitted when the set of displayed buttons changes.
Referenced by setButtons(). |
The documentation for this class was generated from the following files: