diff -r 61bc0f252b2b -r bac7acad7cb3 camerauis/cameraxui/cxui/inc/cxuisettingradiobuttonlistmodel.h --- a/camerauis/cameraxui/cxui/inc/cxuisettingradiobuttonlistmodel.h Tue Aug 31 15:03:46 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -/* -* 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 CXUISETTINGRADIOBUTTONLISTMODEL_H_ -#define CXUISETTINGRADIOBUTTONLISTMODEL_H_ - -#include -#include -#include -#include "cxuienums.h" - -/*! -* Model class to configure custom radio button list -* to configure the number of lines per setting -*/ -class CxuiSettingRadioButtonListModel : public QAbstractListModel -{ - Q_OBJECT - -public: - - CxuiSettingRadioButtonListModel(); - QVariant data (const QModelIndex &index, int role = Qt::DisplayRole) const; - int rowCount (const QModelIndex &parent = QModelIndex()) const; - void setItems(QStringList items); - int listBoxType() const; - void setListBoxType(int type); - QStringList items() const; - void resetModel(); - -private: - QStringList mItems; - int mListBoxType; -}; - -#endif /* CXUISETTINGRADIOBUTTONLISTMODEL_H_ */