memspyui/ui/hb/src/memspykernelobjectdetailview.cpp
changeset 17 4f2773374eff
child 31 e7a04a6385be
equal deleted inserted replaced
15:e11368ed4880 17:4f2773374eff
       
     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 #include <QStringListModel>
       
    19 
       
    20 #include "memspykernelobjectdetailview.h"
       
    21 
       
    22 void MemSpyKernelObjectDetailView::initialize(const QVariantMap& params)
       
    23 {
       
    24 	MemSpyView::initialize(params);
       
    25 	
       
    26 	setTitle("Details");
       
    27 	QStringList items = params.value("details").toStringList();
       
    28 	mListView.setModel(new QStringListModel(items, this));
       
    29 }