equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 HSSYSTEMEVENTS_H |
|
19 #define HSSYSTEMEVENTS_H |
|
20 |
|
21 #include <QObject> |
|
22 |
|
23 #include "hstest_global.h" |
|
24 #include "hsdomainmodel_global.h" |
|
25 |
|
26 HOMESCREEN_TEST_CLASS(TestHsDomainModel) |
|
27 |
|
28 class HSDOMAINMODEL_EXPORT HsSystemEvents : public QObject |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 HsSystemEvents(QObject *parent = 0); |
|
34 ~HsSystemEvents(); |
|
35 |
|
36 static HsSystemEvents *instance(); |
|
37 static void setInstance(HsSystemEvents *instance); |
|
38 |
|
39 signals: |
|
40 void homeKeyClicked(); |
|
41 |
|
42 private: |
|
43 Q_DISABLE_COPY(HsSystemEvents) |
|
44 |
|
45 private: |
|
46 static HsSystemEvents *mInstance; |
|
47 |
|
48 friend class HsStateMachine; |
|
49 |
|
50 HOMESCREEN_TEST_FRIEND_CLASS(TestHsDomainModel) |
|
51 }; |
|
52 |
|
53 #endif // HSSYSTEMEVENTS_H |