memspyui/ui/hb/inc/memspythreaddetailindexview.h
changeset 26 41ebde60981f
child 31 e7a04a6385be
equal deleted inserted replaced
25:31fc1277642e 26:41ebde60981f
       
     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 "memspyview.h"
       
    22 #include "enginewrapper.h"
       
    23 
       
    24 class HbMenu;
       
    25 
       
    26 class MemSpyThreadDetailIndexView : public MemSpyView
       
    27 {
       
    28 	Q_OBJECT
       
    29 	
       
    30 public:
       
    31 	MemSpyThreadDetailIndexView(EngineWrapper &engine, ViewManager &viewManager) 
       
    32 		: MemSpyView(engine, viewManager) {}
       
    33 protected:
       
    34 	virtual void initialize(const QVariantMap& params);
       
    35 	virtual HbMenu* createToolMenu();
       
    36 
       
    37 private slots:
       
    38 	void changePriority();
       
    39 	void itemClicked(const QModelIndex& index);
       
    40 	
       
    41 private:
       
    42 	ThreadId mThreadId;
       
    43 	HbMenu *mPriorityMenu;
       
    44 };
       
    45 
       
    46 #endif /* MEMSPYTHREADDETAILINDEXVIEW_H_ */