equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
18 #define CXUIDISPLAYPROPERTYHANDLER_H |
18 #define CXUIDISPLAYPROPERTYHANDLER_H |
19 |
19 |
20 #include <QObject> |
20 #include <QObject> |
21 #include <QTimer> |
21 #include <QTimer> |
22 #include <XQUtils> |
22 #include <XQUtils> |
|
23 |
|
24 #include "cxeviewfindercontrol.h" |
23 |
25 |
24 /** |
26 /** |
25 * CxuiDisplayPropertyHandler |
27 * CxuiDisplayPropertyHandler |
26 * |
28 * |
27 * Utility class for display visibility settings. |
29 * Utility class for display visibility settings. |
40 void setDisplayAlwaysVisible(bool visible); |
42 void setDisplayAlwaysVisible(bool visible); |
41 |
43 |
42 protected slots: |
44 protected slots: |
43 |
45 |
44 void simulateActivity(); |
46 void simulateActivity(); |
|
47 void handleVfStateChanged(CxeViewfinderControl::State newState, CxeError::Id error); |
45 |
48 |
46 private: // Data |
49 private: // Data |
47 |
50 |
48 QTimer mBacklightTimer; |
51 QTimer mBacklightTimer; |
49 XQUtils mUtility; |
52 XQUtils mUtility; |