diff -r 6bb1b21d2484 -r 2f8f8080a020 phoneapp/phoneuiqtviewadapter/inc/phoneindicatorcontroller.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneapp/phoneuiqtviewadapter/inc/phoneindicatorcontroller.h Mon May 03 12:31:11 2010 +0300 @@ -0,0 +1,46 @@ +/*! +* Copyright (c) 2010 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: Handles phone indicators. +*/ + +#ifndef PHONEINDICATORCONTROLLER_H_ +#define PHONEINDICATORCONTROLLER_H_ + + +#include +#include +#include + +// FORWARD DECLARATION +class LogsModel; +class LogsFilter; +class PhoneIndicatorController : public QObject + { + Q_OBJECT +public: + PhoneIndicatorController(QObject *parent = 0); + virtual ~PhoneIndicatorController(); + +private slots: + void updateMissedCallIndicator(const XQSettingsKey &key, const QVariant &value); + void setMissedallIndicatorData(); + +private: + HbIndicator m_indicator; + LogsModel *m_logsModel; + LogsFilter *m_missedCallsFilter; + XQSettingsManager * m_setManager; + }; + +#endif /* PHONEINDICATORCONTROLLER_H_ */