ui/viewmanagement/statehandler/inc/glxactionhandler.h
branchRCL_3
changeset 59 8e5f6eea9c9f
equal deleted inserted replaced
57:ea65f74e6de4 59:8e5f6eea9c9f
       
     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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19  
       
    20 #ifndef GLXACTIONHANDLER_H
       
    21 #define GLXACTIONHANDLER_H
       
    22 
       
    23 #include <QObject>
       
    24 #include <QHash>
       
    25 #include <QModelIndex>
       
    26 
       
    27 class GlxCommandHandler;
       
    28 
       
    29 class GlxActionHandler : public QObject
       
    30 {
       
    31 Q_OBJECT
       
    32 
       
    33 public :
       
    34 	GlxActionHandler();
       
    35     ~GlxActionHandler();
       
    36     void addCommandHandler(int commandId,GlxCommandHandler* commandHandler);
       
    37 	    
       
    38 signals :
       
    39 
       
    40 public :
       
    41     void handleAction(qint32 commandId,int collectionId,QList<QModelIndex> indexList = QList<QModelIndex>());
       
    42 
       
    43 private://functions
       
    44 
       
    45 private://data 
       
    46 QHash<int , GlxCommandHandler*> mCommandHandlerList;
       
    47 
       
    48 };
       
    49 
       
    50 
       
    51 #endif /* GLXACTIONHANDLER_H */