diff -r 7d48bed6ce0c -r 987c9837762f vmbx/vmbxcpplugin/inc/vmbxcpgroup.h --- a/vmbx/vmbxcpplugin/inc/vmbxcpgroup.h Tue Aug 31 15:45:17 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,115 +0,0 @@ -/* - * Copyright (c) 2009 - 2010 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 VMBXCPGROUP_H -#define VMBXCPGROUP_H - -// System includes -#include -#include -#include - - -// Forward declarations -class VmbxUiEngine; -class CpItemDataHelper; -class HbDataFormModelItem; - - -// Class declaration -class VmbxCpGroup : public CpSettingFormItemData -{ - Q_OBJECT - -public: - - /*! - Constructor - */ - VmbxCpGroup( - CpItemDataHelper &itemDataHelper); - - /*! - Destructor - */ - ~VmbxCpGroup(); - -private slots: - - /*! - Query cs voice number when user click line edit - */ - void queryCsVoiceNumber(); - - /*! - Query cs video number when user click line edit - */ - void queryCsVideoNumber(); - - /*! - Update number when vmbx number changed by OTA,OMA etc. - */ - void updateVmbxNumber(const TVmbxType vmbxType); - - /*! - Slot which handles item updating when it is needed. - */ - void itemShown(const QModelIndex &item); - -private: - - /*! - Preparation before loading - */ - void loadingPreparation(); - - /*! - Create the data form item by type - */ - HbDataFormModelItem* createDataFormModelItem(const TVmbxType vmbxType); - - /*! - Update the vmbx number to the UI - */ - void UpdateWidgetContent(const QModelIndex &item, const QString &string); - - -private: - - // Own. - VmbxUiEngine *mUiEngine; - - // Not own. - CpSettingFormItemData *mDefaultMailboxEditor; - - // Not own. - HbDataFormModelItem *mCsVoice1Editor; - - // Not own. - HbDataFormModelItem *mCsVideo1Editor; - - // Index - QModelIndex mCsVoice1Index; - - // Index - QModelIndex mCsVideo1Index; - - // Not own - CpItemDataHelper &mItemHelper; -}; - -#endif // VMBXCPGROUP_H