clock/clockui/clockplugins/clocksettingsviewplugin/src/clocksettingsviewplugin.cpp
changeset 45 b6db4fd4947b
child 57 bb2d3e476f29
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 * Definition file for class ClockSettingsViewPlugin.
       
    16 *
       
    17 */
       
    18 // System includes
       
    19 #include <QtPlugin>
       
    20 
       
    21 // User includes
       
    22 #include "clockregionalsettingsview.h"
       
    23 #include "clocksettingsviewplugin.h"
       
    24 
       
    25 /*!
       
    26 	\class ClockSettingsViewPlugin
       
    27 
       
    28 	\brief The class ClockSettingsViewPlugin is a plugin to show
       
    29 	clock settings View 
       
    30 */
       
    31 
       
    32 /*!
       
    33 	Constructor.
       
    34  */
       
    35 ClockSettingsViewPlugin::ClockSettingsViewPlugin()
       
    36 {
       
    37 }
       
    38 
       
    39 /*!
       
    40 	Destructor.
       
    41  */
       
    42 ClockSettingsViewPlugin::~ClockSettingsViewPlugin()
       
    43 {
       
    44 }
       
    45 
       
    46 /*!
       
    47 	Launch the clock  regional settings view.
       
    48  */
       
    49 void ClockSettingsViewPlugin::launchRegionalSettingsView()
       
    50 {
       
    51 	//The view is removed from main window and deleted once you select back on view
       
    52 	ClockRegionalSettingsView *view = new ClockRegionalSettingsView();
       
    53 	view->showView();
       
    54 }
       
    55 
       
    56 Q_EXPORT_PLUGIN2(clocksettingsviewplugin, ClockSettingsViewPlugin)
       
    57 
       
    58 // End of file	--Don't remove this