phoneplugins/dialerwidgetplugin/inc/dialerwidgetengine.h
changeset 46 bc5a64e5bc3c
equal deleted inserted replaced
45:6b911d05207e 46:bc5a64e5bc3c
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef DIALERWIDGETENGINE_H_
       
    19 #define DIALERWIDGETENGINE_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include <xqsettingsmanager.h>
       
    23 
       
    24 class DialerWidgetEngine : public QObject    
       
    25     {
       
    26     Q_OBJECT
       
    27 public:
       
    28     DialerWidgetEngine();
       
    29     virtual ~DialerWidgetEngine();
       
    30     bool initialize();
       
    31     int missedCallsCount();
       
    32     
       
    33 public slots:
       
    34     void valueChanged(const XQSettingsKey &key, const QVariant &value);
       
    35 signals:
       
    36     void exceptionOccured(const int& err);
       
    37     void missedCallsCountChanged(const int& missedCallsCount);
       
    38 private:
       
    39 
       
    40 private:
       
    41     XQSettingsManager * m_settingsManager;
       
    42     int m_missedCalls;
       
    43     };
       
    44 
       
    45 #endif /* DIALERWIDGETENGINE_H_ */
       
    46