phoneapp/phoneuiqtviewadapter/inc/phoneindicatorcontroller.h
changeset 27 2f8f8080a020
child 30 ebdbd102c78a
--- /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 <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_ */