ui/viewmanagement/statehandler/inc/glxactionhandler.h
changeset 23 74c9f037fd5d
child 24 99ad1390cd33
equal deleted inserted replaced
5:f7f0874bfe7d 23:74c9f037fd5d
       
     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 
       
    26 class GlxCommandHandler;
       
    27 
       
    28 class GlxActionHandler : public QObject
       
    29 {
       
    30 Q_OBJECT
       
    31 
       
    32 public :
       
    33 	GlxActionHandler();
       
    34     ~GlxActionHandler();
       
    35     void addCommandHandler(int commandId,GlxCommandHandler* commandHandler);
       
    36 	    
       
    37 signals :
       
    38 
       
    39 public slots:
       
    40     void handleAction(qint32 commandId,int collectionId);
       
    41 
       
    42 protected:
       
    43 	
       
    44 private slots:
       
    45 
       
    46 private://functions
       
    47 
       
    48 private://data 
       
    49 QHash<int , GlxCommandHandler*> mCommandHandlerList;
       
    50 
       
    51 };
       
    52 
       
    53 
       
    54 #endif /* GLXACTIONHANDLER_H */