phoneapp/phoneuiqtviewadapter/inc/phoneindicatorcontroller.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:31:11 +0300
changeset 27 2f8f8080a020
child 30 ebdbd102c78a
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*!
* 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 <QObject>
#include <xqsettingsmanager.h>
#include <hbindicator.h>

// 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_ */