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