diff -r 11fa016241a4 -r da3ec8478e66 perfapps/memspyui/ui/hb/inc/memspythreaddetailindexview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perfapps/memspyui/ui/hb/inc/memspythreaddetailindexview.h Fri Sep 17 08:29:47 2010 +0300 @@ -0,0 +1,53 @@ +/* + * 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: + * + */ + +#ifndef MEMSPYTHREADDETAILINDEXVIEW_H_ +#define MEMSPYTHREADDETAILINDEXVIEW_H_ + +#include "memspylistview.h" +#include "enginewrapper.h" + +class HbMenu; + +class MemSpyThreadDetailIndexView : public MemSpyListView +{ + Q_OBJECT + +public: + MemSpyThreadDetailIndexView(EngineWrapper &engine, ViewManager &viewManager) + : MemSpyListView(engine, viewManager) {} +protected: + virtual void initialize(const QVariantMap& params); + + virtual HbMenu* createToolMenu(); + + virtual bool isBreadCrumbVisible() const; + + virtual QString getBreadCrumbText() const; + +private slots: + void changePriority(); + void itemClicked(const QModelIndex& index); + +private: + ThreadId mThreadId; + HbMenu *mPriorityMenu; + QString mProcessName; + QString mThreadName; +}; + +#endif /* MEMSPYTHREADDETAILINDEXVIEW_H_ */