author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 11 Jun 2010 13:38:32 +0300 | |
changeset 28 | 075425b8d9a4 |
parent 24 | 6df133bd92e1 |
child 32 | 189d20c34778 |
permissions | -rw-r--r-- |
24 | 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 RADIOSETTINGS_H_ |
|
19 |
#define RADIOSETTINGS_H_ |
|
20 |
||
21 |
// System includes |
|
22 |
#include <QtGlobal> |
|
23 |
||
24 |
// User includes |
|
25 |
#include "radiosettingsif.h" |
|
26 |
||
27 |
// Forward declarations |
|
28 |
class RadioSettingsPrivate; |
|
29 |
||
30 |
// Class declaration |
|
31 |
class RadioSettings : public RadioSettingsIf |
|
32 |
{ |
|
33 |
Q_DECLARE_PRIVATE_D( d_ptr, RadioSettings ) |
|
34 |
Q_DISABLE_COPY( RadioSettings ) |
|
35 |
||
36 |
friend class RadioEngineWrapperPrivate; |
|
37 |
||
38 |
public: |
|
39 |
||
40 |
virtual ~RadioSettings(); |
|
41 |
||
42 |
private: |
|
43 |
||
44 |
RadioSettings(); |
|
45 |
||
46 |
// from base class RadioSettingsIf |
|
47 |
||
48 |
bool isFirstTimeStart(); |
|
28
075425b8d9a4
Revision: 201021
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
24
diff
changeset
|
49 |
void setFirstTimeStartPerformed( bool firstTimeStartPerformed ); |
24 | 50 |
bool showFavorites() const; |
51 |
void setShowFavorites( bool showFavorites ); |
|
52 |
bool toggleShowFavorites(); |
|
53 |
||
54 |
private: // data |
|
55 |
||
56 |
/** |
|
57 |
* Unmodifiable pointer to the private implementation |
|
58 |
*/ |
|
59 |
RadioSettingsPrivate* const d_ptr; |
|
60 |
||
61 |
}; |
|
62 |
||
63 |
#endif // RADIOSETTINGS_H_ |