Public Member Functions | Protected Member Functions

AlertToneBrowser Class Reference

#include <alerttonebrowser.h>

List of all members.

Public Member Functions

 AlertToneBrowser (AlertTone *tone, QGraphicsWidget *parent=0)
 ~AlertToneBrowser ()
void set (const QVariant &filename)

Protected Member Functions

virtual void retranslateUi ()
virtual void polishEvent ()

Detailed Description

A compound widget that holds two buttons and a list widget. The two buttons can be used to pick a sound file using a content picker page and load a sound file from the OVI store. The list contains the default sound files, a list that is created reading some specific directories of the file system.


Constructor & Destructor Documentation

AlertToneBrowser::AlertToneBrowser ( AlertTone tone,
QGraphicsWidget *  parent = 0 
)

Constructor for the AlertToneBrowser widget

Parameters:
tone An AlertTone instance
parent The parent widget
AlertToneBrowser::~AlertToneBrowser (  ) 

Destructor for the AlertToneBrowser widget


Member Function Documentation

void AlertToneBrowser::polishEvent (  )  [protected, virtual]

This virtual method is called when the MApplicationPage for the widget is already there, so we can initialize it.

void AlertToneBrowser::retranslateUi (  )  [protected, virtual]

This method is called by the framework on language-change, so it is used internally to reload the translations for widgets

void AlertToneBrowser::set ( const QVariant &  filename  ) 

Selects the given item in the browser. This method is going to work even if called before the widget is shown.


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