Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

VolumeAppletControl Class Reference

#include </home/clem/local/src/opie/noncore/applets/volumeapplet2/volumeapplet.h>

Collaboration diagram for VolumeAppletControl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VolumeAppletControl (Opie::Ui::OTaskbarApplet *parent, const char *name=0)
 ~VolumeAppletControl ()
bool volMuted () const
int volPercent () const
virtual QSize sizeHint () const

Public Attributes

int m_vol_percent
bool m_vol_muted
Opie::MM::OMixerInterfacemixer

Protected Member Functions

virtual void showEvent (QShowEvent *)
virtual void hideEvent (QHideEvent *)
void build ()

Private Attributes

QGridLayout * l

Constructor & Destructor Documentation

VolumeAppletControl::VolumeAppletControl Opie::Ui::OTaskbarApplet parent,
const char *  name = 0
 

VolumeAppletControl::~VolumeAppletControl  ) 
 

Definition at line 115 of file volumeapplet.cpp.


Member Function Documentation

void VolumeAppletControl::build  )  [protected]
 

Definition at line 87 of file volumeapplet.cpp.

References Opie::MM::OMixerInterface::allChannels(), QValueList< T >::begin(), QValueList< T >::end(), Opie::MM::OSoundSystem::iterator(), l, m_vol_percent, oendl, owarn, Opie::MM::OMixerInterface::volume(), and Opie::MM::x.

void VolumeAppletControl::hideEvent QHideEvent *   )  [protected, virtual]
 

Definition at line 137 of file volumeapplet.cpp.

References odebug, and oendl.

void VolumeAppletControl::showEvent QShowEvent *   )  [protected, virtual]
 

Definition at line 130 of file volumeapplet.cpp.

References odebug, and oendl.

QSize VolumeAppletControl::sizeHint  )  const [virtual]
 

Definition at line 144 of file volumeapplet.cpp.

bool VolumeAppletControl::volMuted  )  const
 

Definition at line 124 of file volumeapplet.cpp.

References m_vol_muted.

int VolumeAppletControl::volPercent  )  const
 

Definition at line 119 of file volumeapplet.cpp.

References m_vol_percent.


Member Data Documentation

QGridLayout* VolumeAppletControl::l [private]
 

Definition at line 91 of file volumeapplet.h.

Referenced by build().

bool VolumeAppletControl::m_vol_muted
 

Definition at line 78 of file volumeapplet.h.

Referenced by volMuted().

int VolumeAppletControl::m_vol_percent
 

Definition at line 77 of file volumeapplet.h.

Referenced by build(), and volPercent().

Opie::MM::OMixerInterface* VolumeAppletControl::mixer
 

Definition at line 80 of file volumeapplet.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:55:24 2005 for OPIE by  doxygen 1.4.2