umbrello API Documentation

KPlayerSliderAction Class Reference

Slider action suitable for insertion into a toolbar. More...

#include <kplayerslideraction.h>

List of all members.

Public Member Functions

 KPlayerSliderAction (const QString &text, const KShortcut &, const QObject *receiver, const char *slot, KActionCollection *parent=0, const char *name=0)
 The KPlayerSliderAction constructor.
virtual ~KPlayerSliderAction ()
 The KPlayerSliderAction destructor.
KPlayerSliderslider (void)
 Returns a pointer to the KPlayerSlider object.
virtual int plug (QWidget *widget, int index=-1)
 Plugs the slider into the toolbar.
virtual void unplug (QWidget *widget)
 Unplugs the slider from the toolbar.

Protected Slots

void orientationChanged (Qt::Orientation)
 Changes the slider orientation when the toolbar orientation changes.


Detailed Description

Slider action suitable for insertion into a toolbar.

Author:
kiriuja

Definition at line 166 of file kplayerslideraction.h.


Constructor & Destructor Documentation

KPlayerSliderAction::KPlayerSliderAction const QString &  text,
const KShortcut &  ,
const QObject *  receiver,
const char *  slot,
KActionCollection *  parent = 0,
const char *  name = 0
 

The KPlayerSliderAction constructor.

Parameters are passed on to KAction.

Definition at line 160 of file kplayerslideraction.cpp.

References slider().

KPlayerSliderAction::~KPlayerSliderAction  )  [virtual]
 

The KPlayerSliderAction destructor.

Does nothing.

Definition at line 169 of file kplayerslideraction.cpp.


Member Function Documentation

KPlayerSlider* KPlayerSliderAction::slider void   )  [inline]
 

Returns a pointer to the KPlayerSlider object.

Definition at line 181 of file kplayerslideraction.h.

Referenced by KPlayerSliderAction(), orientationChanged(), and unplug().

int KPlayerSliderAction::plug QWidget *  widget,
int  index = -1
[virtual]
 

Plugs the slider into the toolbar.

Definition at line 173 of file kplayerslideraction.cpp.

References orientationChanged().

void KPlayerSliderAction::unplug QWidget *  widget  )  [virtual]
 

Unplugs the slider from the toolbar.

Definition at line 210 of file kplayerslideraction.cpp.

References orientationChanged(), and slider().

void KPlayerSliderAction::orientationChanged Qt::Orientation   )  [protected, slot]
 

Changes the slider orientation when the toolbar orientation changes.

Definition at line 251 of file kplayerslideraction.cpp.

References slider().

Referenced by plug(), and unplug().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:05 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003