controlpanelui/src/cpplugins/keytouchfdbkplugin/src/cpkeyscreenmodel_p.h
author hgs
Thu, 30 Sep 2010 16:15:53 +0800
changeset 41 ab0490982943
parent 19 36aa4756ee82
permissions -rw-r--r--
201039

/*
 * 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 CPKEYSCREENMODEL_P_H
#define CPKEYSCREENMODEL_P_H

#include <qglobal.h>

class CRepository;

class CpKeyScreenModelPrivate
    {
public:
    CpKeyScreenModelPrivate();
    ~CpKeyScreenModelPrivate();
public:
    bool isKeyguardSupported();
    int keyguard();
    void setKeyguard(int value);
    bool isRotateSupported();
    bool rotate();
    void setRotate(bool value);
    bool isBrightnessSupported();
    int brightness();
    void setBrightness(int value);
    bool isScreensaverSupported();
    bool screensaver();
    void setScreensaver(bool value);
private:
#ifdef Q_OS_SYMBIAN
    CRepository* mLightCenRep;
    CRepository* mSecurityCenRep;
    CRepository* mRotateSensor;
    CRepository* mScreenSaver;
#endif
    };

#endif