• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KMediaPlayer

  • KMediaPlayer
  • View
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
KMediaPlayer::View Class Reference

#include <view.h>

Inheritance diagram for KMediaPlayer::View:
Inheritance graph
[legend]

Public Types

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

Public Slots

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

Signals

void buttonsChanged (int)
 

Public Member Functions

 View (QWidget *parent)
 
virtual ~View (void)
 
int buttons (void)
 
QWidget * videoWidget ()
 

Protected Member Functions

void setVideoWidget (QWidget *videoWidget)
 

Detailed Description

View is part of the user interface of a Player.

Definition at line 34 of file view.h.

Member Enumeration Documentation

enum KMediaPlayer::View::Button

The Possible buttons that can appear in the UI.

Enumerator
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 44 of file view.h.

Constructor & Destructor Documentation

KMediaPlayer::View::View ( QWidget *  parent)

Your typical QWidget constructor.

Definition at line 33 of file view.cpp.

KMediaPlayer::View::~View ( void  )
virtual

Definition at line 40 of file view.cpp.

Member Function Documentation

bool KMediaPlayer::View::button ( int  b)
slot

Returns if a particular button is being displayed.

Definition at line 59 of file view.cpp.

int KMediaPlayer::View::buttons ( void  )

Return which buttons are being displayed.

Definition at line 45 of file view.cpp.

void KMediaPlayer::View::buttonsChanged ( int  )
signal

Emitted when the set of displayed buttons changes.

void KMediaPlayer::View::hideButton ( int  b)
slot

Stop displaying a particular button.

Definition at line 69 of file view.cpp.

void KMediaPlayer::View::setButtons ( int  buttons)
slot

Set which buttons to display.

See Button.

Definition at line 50 of file view.cpp.

void KMediaPlayer::View::setVideoWidget ( QWidget *  videoWidget)
protected

The implementing view should set the widget in which the video will be displayed.

KMediaPlayer users may reparent() it to somewhere else, for example.

Definition at line 79 of file view.cpp.

void KMediaPlayer::View::showButton ( int  b)
slot

Display a particular button.

Definition at line 64 of file view.cpp.

void KMediaPlayer::View::toggleButton ( int  b)
slot

Toggle the display of a particular button.

Definition at line 74 of file view.cpp.

QWidget * KMediaPlayer::View::videoWidget ( )

Return the QWidget in which video is displayed.

May Return 0L if there is none.

Definition at line 84 of file view.cpp.


The documentation for this class was generated from the following files:
  • view.h
  • view.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMediaPlayer

Skip menu "KMediaPlayer"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal