phoneapp/phoneuiqtviewadapter/inc/phoneindicatorcontroller.h
changeset 27 2f8f8080a020
child 30 ebdbd102c78a
equal deleted inserted replaced
22:6bb1b21d2484 27:2f8f8080a020
       
     1 /*!
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Handles phone indicators.
       
    15 */
       
    16 
       
    17 #ifndef PHONEINDICATORCONTROLLER_H_
       
    18 #define PHONEINDICATORCONTROLLER_H_
       
    19 
       
    20 
       
    21 #include <QObject>
       
    22 #include <xqsettingsmanager.h>
       
    23 #include <hbindicator.h>
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class LogsModel;
       
    27 class LogsFilter;
       
    28 class PhoneIndicatorController : public QObject
       
    29     {
       
    30     Q_OBJECT
       
    31 public:
       
    32     PhoneIndicatorController(QObject *parent = 0);
       
    33     virtual ~PhoneIndicatorController();
       
    34     
       
    35 private slots:
       
    36     void updateMissedCallIndicator(const XQSettingsKey &key, const QVariant &value);
       
    37     void setMissedallIndicatorData();
       
    38     
       
    39 private:
       
    40     HbIndicator m_indicator;
       
    41     LogsModel  *m_logsModel;
       
    42     LogsFilter *m_missedCallsFilter;
       
    43     XQSettingsManager * m_setManager;
       
    44     };
       
    45 
       
    46 #endif /* PHONEINDICATORCONTROLLER_H_ */