diff -r 87476091b3f5 -r 1db7cc813a4e homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsiconsidleloader.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/inc/hsiconsidleloader.h Fri Aug 06 13:36:36 2010 +0300 @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: Menu All Applications state. + * + */ + +#ifndef HSICONSIDLELOADER_H_ +#define HSICONSIDLELOADER_H_ + +#include +#include "hsmenuservice_global.h" + +class QTimer; +class HsMenuItemModel; + + +class HsIconsIdleLoader: public QObject +{ + HS_SERVICE_TEST_FRIEND_CLASS(MenuServiceTest) + + Q_OBJECT +public: + + HsIconsIdleLoader(HsMenuItemModel *model, QObject *parent = 0); + ~HsIconsIdleLoader(); + +private slots: + void processWhenIdle(); + +private: + HsMenuItemModel *mModel; + QTimer *mTimer; +}; + +#endif /* HSICONSIDLELOADER_H_ */