wlanutilities/wlanwizard/inc/wlanwizardpageinternal.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     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: 
       
    15  *   WLAN Wizard: Interface for wizard pages (wlan internal).
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef WLANWIZARDPAGEINTERNAL_H
       
    20 #define WLANWIZARDPAGEINTERNAL_H
       
    21 
       
    22 // System includes
       
    23 #include <QObject>
       
    24 
       
    25 // User includes
       
    26 #include "wlanwizardpage.h"
       
    27 
       
    28 // Forward declarations
       
    29 class HbWidget;
       
    30 class WlanWizardPrivate;
       
    31 class HbDocumentLoader;
       
    32 
       
    33 // External data types
       
    34 
       
    35 // Constants
       
    36 
       
    37 /*!
       
    38    @addtogroup group_wlan_wizard
       
    39    @{
       
    40  */
       
    41 
       
    42 class WlanWizardPageInternal : public QObject, public WlanWizardPage
       
    43 {
       
    44 public:
       
    45     /*! 
       
    46        WLAN Wizard internal pages.
       
    47        
       
    48        Remember to update trace.properties file upon changes.
       
    49      */
       
    50     enum WlanPageIds {
       
    51         //! SSID Query
       
    52         PageSsid = WlanWizardPage::PageWlanStart,
       
    53         //! Scanning page
       
    54         PageScanning,
       
    55         //! Manual network security selection page
       
    56         PageNetworkSecurity,
       
    57         //! WEP/WPA(2) key query page
       
    58         PageKeyQuery,
       
    59         //! WLAN Network mode page
       
    60         PageNetworkMode,
       
    61         //! Wizard summary page
       
    62         PageSummary,
       
    63     };
       
    64 
       
    65 public: // from WlanWizardPage
       
    66     explicit WlanWizardPageInternal(WlanWizardPrivate *wizard);
       
    67     virtual ~WlanWizardPageInternal();
       
    68 
       
    69 public:
       
    70     //! Pointer to private object. Provides services to pages
       
    71     WlanWizardPrivate* mWizard;
       
    72     
       
    73 signals:
       
    74     
       
    75 public slots:
       
    76     
       
    77 protected:
       
    78     void loadDocmlSection(
       
    79         HbDocumentLoader *loader,
       
    80         Qt::Orientation orientation,
       
    81         const QString &filename,
       
    82         const QString &portraitSection,
       
    83         const QString &landscapeSection) const;
       
    84     
       
    85 protected slots:
       
    86 
       
    87 private:
       
    88     Q_DISABLE_COPY(WlanWizardPageInternal)
       
    89     
       
    90 private slots:
       
    91 
       
    92 private: // data
       
    93 };
       
    94 
       
    95 /*! @} */
       
    96 
       
    97 #endif  // WLANWIZARDPAGEINTERNAL_H