perfapps/memspyui/ui/hb/inc/memspythreaddetailindexview.h
changeset 51 b048e15729d6
parent 31 e7a04a6385be
equal deleted inserted replaced
44:5db69f4c3d06 51:b048e15729d6
       
     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:
       
    15  *  
       
    16  */
       
    17 
       
    18 #ifndef MEMSPYTHREADDETAILINDEXVIEW_H_
       
    19 #define MEMSPYTHREADDETAILINDEXVIEW_H_
       
    20 
       
    21 #include "memspylistview.h"
       
    22 #include "enginewrapper.h"
       
    23 
       
    24 class HbMenu;
       
    25 
       
    26 class MemSpyThreadDetailIndexView : public MemSpyListView
       
    27 {
       
    28 	Q_OBJECT
       
    29 	
       
    30 public:
       
    31 	MemSpyThreadDetailIndexView(EngineWrapper &engine, ViewManager &viewManager) 
       
    32 		: MemSpyListView(engine, viewManager) {}
       
    33 protected:
       
    34 	virtual void initialize(const QVariantMap& params);
       
    35 	
       
    36 	virtual HbMenu* createToolMenu();
       
    37 	
       
    38 	virtual bool isBreadCrumbVisible() const;
       
    39 	    
       
    40 	virtual QString getBreadCrumbText() const;
       
    41 
       
    42 private slots:
       
    43 	void changePriority();
       
    44 	void itemClicked(const QModelIndex& index);
       
    45 	
       
    46 private:
       
    47 	ThreadId mThreadId;
       
    48 	HbMenu *mPriorityMenu;
       
    49 	QString mProcessName;
       
    50 	QString mThreadName;
       
    51 };
       
    52 
       
    53 #endif /* MEMSPYTHREADDETAILINDEXVIEW_H_ */