diff -r 1f895d8a5b2b -r 46686fb6258c qtmobileextensions/examples/systemtoneserviceex/ststest.h --- a/qtmobileextensions/examples/systemtoneserviceex/ststest.h Tue Jul 06 15:12:50 2010 +0300 +++ b/qtmobileextensions/examples/systemtoneserviceex/ststest.h Wed Aug 18 10:38:12 2010 +0300 @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -33,14 +34,14 @@ #include -class STSTest : public QWidget +class STSTest : public QMainWindow { Q_OBJECT public: - STSTest(QWidget *parent = 0, Qt::WFlags f = 0); + STSTest(QWidget *parent = 0); ~STSTest(); @@ -49,6 +50,8 @@ void playTone(); void playAlarm(); + + void playAlarmAsTone(); void stopAlarm();