#include <alerttonebrowser.h>
Public Member Functions | |
AlertToneBrowser (AlertTone *tone, QGraphicsWidget *parent=0) | |
~AlertToneBrowser () | |
void | set (const QVariant &filename) |
Protected Member Functions | |
virtual void | retranslateUi () |
virtual void | polishEvent () |
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.
AlertToneBrowser::AlertToneBrowser | ( | AlertTone * | tone, | |
QGraphicsWidget * | parent = 0 | |||
) |
Constructor for the AlertToneBrowser widget
tone | An AlertTone instance | |
parent | The parent widget |
AlertToneBrowser::~AlertToneBrowser | ( | ) |
Destructor for the AlertToneBrowser widget
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.