LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VolumeControlAlertWindow Class Reference

#include <VolumeControlAlertWindow.h>

Inheritance diagram for VolumeControlAlertWindow:
[legend]
Collaboration diagram for VolumeControlAlertWindow:
[legend]

Public Types

enum  VolumeControlType { VolumeControl_MuteBell, VolumeControl_Phone, VolumeControl_Media, VolumeControl_Ringtone }
 

Public Member Functions

 VolumeControlAlertWindow (int width, int height, bool hasAlpha, VolumeControlType drawWhat, int initialVolume=0)
 
virtual ~VolumeControlAlertWindow ()
 
void setDrawType (VolumeControlType val)
 
void setVolumeLevel (int val)
 
virtual void resizeEventSync (int w, int h)
 
virtual void close ()
 
- Public Member Functions inherited from AlertWindow
 AlertWindow (WindowType::Type type, int width, int height, bool hasAlpha)
 
 AlertWindow (WindowType::Type type, HostWindowData *window, IpcClientHost *clientHost=0)
 
virtual ~AlertWindow ()
 
virtual void onMessageReceived (const PIpcMessage &msg)
 
void onSetContentRect (int left, int right, int top, int bottom)
 
void setSoundParams (const std::string &fileName, const std::string &soundClass)
 
void setContentRect (const QRect &r)
 
QRect contentRect () const
 
void activate ()
 
void deactivate ()
 
bool isIncomingCallAlert () const
 
void setTransient (bool transient)
 
bool isTransientAlert ()
 
- Public Member Functions inherited from HostWindow
 HostWindow (WindowType::Type type, int width, int height, bool hasAlpha)
 
 HostWindow (WindowType::Type type, HostWindowData *data, IpcClientHost *clientHost=0)
 
virtual ~HostWindow ()
 
int routingId () const
 
bool isIpcWindow () const
 
void channelRemoved ()
 
void setClientHost (IpcClientHost *clientHost)
 
virtual void setVisibleDimensions (int width, int height)
 
virtual void resizeEventSync (int w, int h, bool forceSync=false)
 
virtual void flipEventSync (bool fromQueue=false)
 
virtual void flipEventAsync (QRect windowScreenBounds, bool fromQueue=false)
 
virtual void asynchFlipCompleted (int newWidth, int newHeight, int newScreenWidth, int newScreenHeight)
 
virtual void queuedFlipCanceled (QRect windowScreenBounds)
 
virtual void onDisconnected ()
 
virtual void onUpdateWindowRequest ()
 
void onAsynchFlipCompleted (int newWidth, int newHeight, int newScreenWidth, int newScreenHeight)
 
virtual const QPixmap * acquireScreenPixmap ()
 
virtual void setComposingText (const std::string &text)
 
virtual void commitComposingText ()
 
virtual void commitText (const std::string &text)
 
virtual void performEditorAction (PalmIME::FieldAction action)
 
virtual void removeInputFocus ()
 
virtual const HostWindowDatahostWindowData () const
 
- Public Member Functions inherited from Window
 Window (WindowType::Type type, const uint32_t bufWidth, const uint32_t bufHeight, bool hasAlpha=false)
 
 Window (WindowType::Type type, const QPixmap &pix)
 
virtual ~Window ()
 
virtual int type () const
 
virtual QRectF boundingRect () const
 
virtual bool mouseGrabbed () const
 
virtual void setMouseGrabbed (bool grabbed)
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void setName (const std::string &name)
 
std::string name () const
 
virtual void setAppId (const std::string &id)
 
std::string appId () const
 
void setProcessId (const std::string &id)
 
std::string processId () const
 
void setLaunchingAppId (const std::string &id)
 
std::string launchingAppId () const
 
void setLaunchingProcessId (const std::string &id)
 
std::string launchingProcessId () const
 
ApplicationDescriptionappDescription () const
 
void setRemoved ()
 
bool removed () const
 
void setDisableKeepAlive ()
 
bool disableKeepAlive () const
 
virtual void setWindowProperties (const WindowProperties &attr)
 
virtual void setVisibleDimensions (uint32_t width, uint32_t height)
 
virtual QSize getVisibleDimensions () const
 
virtual void resize (int w, int h)
 
int initialWidth () const
 
int initialHeight () const
 
- Public Member Functions inherited from InputClient
 InputClient ()
 
virtual bool inputFocus () const
 
virtual const
PalmIME::EditorState & 
inputState () const
 
void setInputFocus (bool focus)
 

Friends

class NativeAlertManager
 

Additional Inherited Members

- Protected Member Functions inherited from AlertWindow
virtual void onUpdateWindowRegion (int x, int y, int w, int h)
 
virtual void onUpdateFullWindow ()
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
- Protected Attributes inherited from HostWindow
HostWindowDatam_data
 
bool m_isIpcWindow
 
IpcClientHostm_clientHost
 
- Properties inherited from Window
bool grabMouse
 

Member Enumeration Documentation

Enumerator
VolumeControl_MuteBell 
VolumeControl_Phone 
VolumeControl_Media 
VolumeControl_Ringtone 

Constructor & Destructor Documentation

VolumeControlAlertWindow::VolumeControlAlertWindow ( int  width,
int  height,
bool  hasAlpha,
VolumeControlType  drawWhat,
int  initialVolume = 0 
)
VolumeControlAlertWindow::~VolumeControlAlertWindow ( )
virtual

Member Function Documentation

void VolumeControlAlertWindow::close ( )
virtual

Reimplemented from HostWindow.

void VolumeControlAlertWindow::resizeEventSync ( int  w,
int  h 
)
virtual
void VolumeControlAlertWindow::setDrawType ( VolumeControlType  val)
void VolumeControlAlertWindow::setVolumeLevel ( int  val)

Friends And Related Function Documentation

friend class NativeAlertManager
friend

The documentation for this class was generated from the following files: