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 // THIS IS A STUB CLASS FOR WIN32 ENVIRONMENT! |
|
19 // It is only meant to compile, not to actually do anything |
|
20 |
|
21 #ifndef Q_SYSTEMINFO_H |
|
22 #define Q_SYSTEMINFO_H |
|
23 |
|
24 #include <QObject> |
|
25 |
|
26 namespace QtMobility { |
|
27 |
|
28 class QSystemDeviceInfo : public QObject |
|
29 { |
|
30 Q_OBJECT |
|
31 public: |
|
32 |
|
33 QSystemDeviceInfo( QObject* parent = 0 ); |
|
34 virtual ~QSystemDeviceInfo(); |
|
35 |
|
36 enum Profile { GeneralProfile, OfflineProfile }; |
|
37 Profile currentProfile() { return GeneralProfile; } |
|
38 |
|
39 signals: |
|
40 |
|
41 void currentProfileChanged(QSystemDeviceInfo::Profile); |
|
42 |
|
43 }; |
|
44 |
|
45 |
|
46 } |
|
47 |
|
48 #endif // Q_SYSTEMINFO_H |