homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsiconsidleloader.h
changeset 71 1db7cc813a4e
child 81 7dd137878ff8
equal deleted inserted replaced
69:87476091b3f5 71:1db7cc813a4e
       
     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: Menu All Applications state.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef HSICONSIDLELOADER_H_
       
    19 #define HSICONSIDLELOADER_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include "hsmenuservice_global.h"
       
    23 
       
    24 class QTimer;
       
    25 class HsMenuItemModel;
       
    26 
       
    27 
       
    28 class HsIconsIdleLoader: public QObject
       
    29 {
       
    30     HS_SERVICE_TEST_FRIEND_CLASS(MenuServiceTest)
       
    31     
       
    32     Q_OBJECT
       
    33 public:
       
    34     
       
    35     HsIconsIdleLoader(HsMenuItemModel *model, QObject *parent = 0);
       
    36     ~HsIconsIdleLoader();
       
    37     
       
    38 private slots:
       
    39     void processWhenIdle();
       
    40     
       
    41 private:
       
    42     HsMenuItemModel *mModel;
       
    43     QTimer *mTimer;
       
    44 };
       
    45 
       
    46 #endif /* HSICONSIDLELOADER_H_ */