mediasettings/videosettingsplugin/tsrc/testaccesspointentry/stub/inc/videosettingsgroup.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 23 Jun 2010 18:14:16 +0300
changeset 46 adbe7d5ba2f5
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

/*
 * 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 VIDEOSETTINGSGROUP_H
#define VIDEOSETTINGSGROUP_H

#include <cpsettingformitemdata.h>
#include <qabstractitemmodel.h>

class CpItemDataHelper;

class VideoSettingsGroup : public CpSettingFormItemData
{
    Q_OBJECT
public:
    
    /**
     * Constructor
     */
    VideoSettingsGroup(CpItemDataHelper &itemDataHelper);
    
    /**
     * Destructor
     */
    ~VideoSettingsGroup();
    
    /**
     * Setter for the default access point id.
     * 
     * @param defaultAp Access point id.
     */
    void setAccessPointId(const uint& defaultAp);

public:
    /**
     * Item data helper given by the CP framework.
     */
    CpItemDataHelper& mItemDataHelper;
    
    /**
     * Access point id set by the setAccessPointId
     */
    uint mApId;
};

#endif // VIDEOSETTINGSGROUP_H