diff -r cb294e641644 -r 5aa7c7ec6b8e controlpanelplugins/aboutplugin/src/cpaboutplugin.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/controlpanelplugins/aboutplugin/src/cpaboutplugin.cpp Fri Sep 17 08:29:50 2010 +0300 @@ -0,0 +1,53 @@ +/* + * 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: + * + */ +#include "cpaboutplugin.h" +#include "cpaboutview.h" +#include + +/*! + \class CpAboutPlugin +*/ + +/*! + Constructor +*/ +CpAboutPlugin::CpAboutPlugin() +{ +} + +/*! + Destructor +*/ +CpAboutPlugin::~CpAboutPlugin() +{ +} + +/*! + Creates setting form item data +*/ +QList CpAboutPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const +{ + const QString aboutIconName = "qtg_large_info"; + return QList() + << new CpSettingFormEntryItemDataImpl( + itemDataHelper, + hbTrId("txt_cp_list_about"), + QString(), // shows two liner in list + HbIcon(aboutIconName)); +} + +Q_EXPORT_PLUGIN2(cpaboutplugin, CpAboutPlugin);