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