cmmanager/cpdestinationplugin/inc/cpdestinationgroup.h
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
child 62 bb1f80fb7db2
--- a/cmmanager/cpdestinationplugin/inc/cpdestinationgroup.h	Tue Aug 31 15:35:44 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-/*
-* Copyright (c) 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:  
-* CpDestinationGroup contains all destination UI items as well as 
-* items for uncategorized access points and adding new destinations.
-*/
- 
-#ifndef CPDESTINATIONGROUP_H
-#define CPDESTINATIONGROUP_H
-
-// System includes
-#include <QSharedPointer>
-#include <cpsettingformitemdata.h>
-
-// User includes
-#include "cpbearerapplugininterface.h"
-
-// Forward declarations
-class CpDestinationEntryItemData;
-class CmDestinationShim;
-class CmManagerShim;
-
-// External data types
-
-// Constants
-
-// Class declaration
-class CpDestinationGroup : public CpSettingFormItemData
-{
-    Q_OBJECT
-    
-public:
-    CpDestinationGroup(CpItemDataHelper &itemDataHelper);
-    ~CpDestinationGroup();
-    
-    void addDestination(
-        const QString &name,
-        QSharedPointer<CmDestinationShim> dest);
-    void deleteDestination(int destId);
-    CpBearerApPluginInterface *findBearerPlugin(int apId);
-    
-signals:
-    
-public slots:
-    void updateDestinationInformation();
-    
-protected:
-    
-protected slots:
-        
-private: 
-    void createUncategorisedDestination();
-    void fetchDestinations(QList<QSharedPointer<CmDestinationShim> > &destinationList);
-    void loadBearerPlugins();
-	QString getDestinationAdditionalText(QSharedPointer<CmDestinationShim> destination);
-	QString getDestinationAdditionalText(int destinationId);
-	QString resolveDestinationIcon(QSharedPointer<CmDestinationShim> destination) const; 
-	
-private slots:
-
-private: // data
-
-    //! Helper for connecting signals to underlying widgets
-    CpItemDataHelper                    *mItemDataHelper;
-    //! True is uncategorised "destination" is currently shown
-    bool                                mUncategorisedShown;
-    //! Pointer to CmManager for commsdat operations
-    CmManagerShim                       *mCmManager;
-    /*! List of plugins that implement views for access points 
-     *  according to bearer type
-     */
-    QList<CpBearerApPluginInterface *>  *mBearerPlugins;
-};
-
-#endif // CPDESTINATIONGROUP_H