--- 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 <QObject>
#include <QVariant>
+#include <QMainWindow>
#include <QWidget>
#include <QComboBox>
#include <QSpinBox>
@@ -33,14 +34,14 @@
#include <xqsystemtoneservice.h>
-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();