diff -r 2c9d3aa5bea2 -r 20bd089f4aaa controlpanel/src/inc/cpprofilemodel.h --- a/controlpanel/src/inc/cpprofilemodel.h Thu Apr 01 03:17:51 2010 +0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,68 +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 CPPROFILEMODEL_H -#define CPPROFILEMODEL_H - -#include "cpprofilewrappermacro.h" -#include -#include - -class CpProfileModelPrivate; - - -class PROFILE_WRAPPER_EXPORT CpProfileModel - { -public: - CpProfileModel(); - ~CpProfileModel(); - -public: - int initiationFlag(); - QString ringTone(); - void setRingTone(const QString& filePath); - QString messageTone(); - void setMessageTone(const QString& filePath); - QString emailTone(); - void setEmailTone(const QString& filePath); - QString calendarTone(); - void setCalendarTone(const QString& filePath); - QString alarmTone(); - void setAlarmTone(const QString& filePath); - int ringVolume(); - void setRingVolume(int volume); - void activateBeep(); - bool isBeep(); - void activateSilent(); - bool isSilent(); - bool vibraStatus(); - void setVibraStatus(bool status); - int keyVolume(); - void setKeyVolume(int volume); - int screenVolume(); - void setScreenVolume(int volume); - int screenVibra(); - void setScreenVibra(int volume); - -private: - Q_DISABLE_COPY(CpProfileModel) - -private: - CpProfileModelPrivate* dptr; - }; - -#endif