diff -r 61bc0f252b2b -r bac7acad7cb3 camerauis/cameraxui/cxui/inc/cxuidisplaypropertyhandler.h --- a/camerauis/cameraxui/cxui/inc/cxuidisplaypropertyhandler.h Tue Aug 31 15:03:46 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ -#ifndef CXUIDISPLAYPROPERTYHANDLER_H -#define CXUIDISPLAYPROPERTYHANDLER_H - -#include -#include -#include - -/** - * CxuiDisplayPropertyHandler - * - * Utility class for display visibility settings. - * Can be used for enabling / disabling screensaver and - * setting backlight constantly on or to normal timeout mode. - */ -class CxuiDisplayPropertyHandler : public QObject -{ - Q_OBJECT - -public: - - CxuiDisplayPropertyHandler(); - virtual ~CxuiDisplayPropertyHandler(); - - void setDisplayAlwaysVisible(bool visible); - -protected slots: - - void simulateActivity(); - -private: // Data - - QTimer mBacklightTimer; - XQUtils mUtility; -}; - -#endif // CXUIDISPLAYPROPERTYHANDLER_H