locationsystemui/locationsysui/possettings/possettingsplugin/inc/possettingsplugin.h
changeset 25 73f6c2762ffe
equal deleted inserted replaced
22:4c4ed41530db 25:73f6c2762ffe
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: This is for Positioning Settings plugin in ControlPanel
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef POSSETTINGS_PLUGIN_H
       
    19 #define POSSETTINGS_PLUGIN_H
       
    20 
       
    21 class QTranslator;
       
    22 #include <cpplugininterface.h>
       
    23 
       
    24 class PosSettingsPlugin : public QObject, public CpPluginInterface
       
    25 {
       
    26 Q_OBJECT
       
    27     Q_INTERFACES(CpPluginInterface)
       
    28 public: //constructor and destructor
       
    29     PosSettingsPlugin();
       
    30     virtual ~PosSettingsPlugin();
       
    31 public:
       
    32     /*
       
    33      * Derived from CpPluginPlatInterface
       
    34      */
       
    35     virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;    
       
    36 private:
       
    37 	/**
       
    38 	* Holds localization translator handle
       
    39 	*/
       
    40     QTranslator* mTranslator;
       
    41 };
       
    42 #endif // POSSETTINGS_PLUGIN_H