phoneapp/phoneringingtoneplayer/tsrc/t_phoneringingtoneplayer/t_phoneringingtoneplayer.h
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef T_PHONERINGINGTONEPLAYER_H |
|
19 #define T_PHONERINGINGTONEPLAYER_H |
|
20 |
|
21 #include <QGraphicsItem> |
|
22 #include <hbview.h> |
|
23 |
|
24 class CPhoneRingingToneController; |
|
25 |
|
26 class t_phoneringingtoneplayer : public HbView |
|
27 { |
|
28 Q_OBJECT |
|
29 |
|
30 public: |
|
31 t_phoneringingtoneplayer(QGraphicsItem *parent = 0); |
|
32 ~t_phoneringingtoneplayer(); |
|
33 |
|
34 private: |
|
35 void createMenu(); |
|
36 void createContent(); |
|
37 |
|
38 protected slots: |
|
39 void PlayRingingtoneRingning(); |
|
40 void StopRingingtone(); |
|
41 void PlayRingingtoneBeepOnce(); |
|
42 void PlayRingingtoneSilence(); |
|
43 void PlayRingingtoneTTS(); |
|
44 void PlayRingingtoneAscending(); |
|
45 void PlayRingingtoneOnce(); |
|
46 void SampleMP3(); |
|
47 void Nokiatuneaac(); |
|
48 void volumeSliderChanged(int value); |
|
49 |
|
50 private: |
|
51 |
|
52 TBuf<50> m_ringingtone; |
|
53 int m_volume; |
|
54 CPhoneRingingToneController *m_ringingtoneplayer; |
|
55 }; |
|
56 |
|
57 #endif // T_PHONERINGINGTONEPLAYER_H |
|