homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsoperatorhandler.h
changeset 46 23b5d6a29cce
child 71 1db7cc813a4e
equal deleted inserted replaced
39:4e8ebe173323 46:23b5d6a29cce
       
     1 /*
       
     2  * Copyright (c) 2009 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: Hs Operator Handler.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HSOPERATORHANDLER_H_
       
    19 #define HSOPERATORHANDLER_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include "hbicon.h"
       
    23 #include "hsmenustates_global.h"
       
    24 
       
    25 class HsOperatorHandlerPrivate;
       
    26 
       
    27 class HsOperatorHandler: public QObject
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
       
    32 
       
    33 public:
       
    34     HsOperatorHandler(QObject *parent = 0);
       
    35     virtual ~HsOperatorHandler();
       
    36     HbIcon icon();
       
    37     QString text();
       
    38 
       
    39 public slots:
       
    40     void action();
       
    41 
       
    42 private:
       
    43     HsOperatorHandlerPrivate *const m_q;
       
    44 };
       
    45 
       
    46 #endif /* HSOPERATORHANDLER_H_ */