Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KMediaPlayer::View Class Reference

#include <view.h>

List of all members.

Public Types

enum  Button {
  Play = 1, Stop = 2, Pause = 4, Seeker = 8,
  All = 255
}

Public Slots

void setButtons (int)
bool button (int)
void showButton (int)
void hideButton (int)
void toggleButton (int)

Signals

void buttonsChanged (int)

Public Methods

 View (QWidget *parent, const char *name)
int buttons (void)


Detailed Description

View is part of the user interface of a Player.

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


Member Enumeration Documentation

enum KMediaPlayer::View::Button
 

The Possible buttons that can appear in the UI.

Enumeration values:
Play  Button that connects to Player::play
Stop  Button that connects to Player::stop
Pause  Button that connects to Player::pause
Seeker  A seeker that interfaces with Player::seek
All  Show all buttons.

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


Constructor & Destructor Documentation

KMediaPlayer::View::View QWidget *    parent,
const char *    name
 

Your typical QWidget constructor.


Member Function Documentation

bool KMediaPlayer::View::button int    [slot]
 

Returns if a particular button is being displayed.

int KMediaPlayer::View::buttons void   
 

Return which buttons are being displayed.

void KMediaPlayer::View::buttonsChanged int    [signal]
 

Emitted when the set of displayed buttons changes.

void KMediaPlayer::View::hideButton int    [slot]
 

Stop displaying a particular button.

void KMediaPlayer::View::setButtons int    [slot]
 

Set which buttons to display.

See also:
Button.

void KMediaPlayer::View::showButton int    [slot]
 

Display a particular button.

void KMediaPlayer::View::toggleButton int    [slot]
 

Toggle the display of a particular button.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:35 2003 for kdelibs by doxygen1.2.18