wlanutilities/wlanwizard/inc/wlanwizardpageprocessingsettings.h
author hgs
Thu, 10 Jun 2010 15:44:54 +0300
changeset 37 195ec9e7dd85
parent 31 e8f4211554fb
child 39 7b3e49e4608a
permissions -rw-r--r--
201023
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
 * All rights reserved.
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
 *
hgs
parents:
diff changeset
     9
 * Initial Contributors:
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
 *
hgs
parents:
diff changeset
    12
 * Contributors:
hgs
parents:
diff changeset
    13
 *
hgs
parents:
diff changeset
    14
 * Description: 
hgs
parents:
diff changeset
    15
 *   WLAN Wizard Page: Processing settings, connection and running ict.
hgs
parents:
diff changeset
    16
 *
hgs
parents:
diff changeset
    17
 */
hgs
parents:
diff changeset
    18
hgs
parents:
diff changeset
    19
#ifndef WLANWIZARDPAGEPROCESSINGSETTINGS_H
hgs
parents:
diff changeset
    20
#define WLANWIZARDPAGEPROCESSINGSETTINGS_H
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
// System includes
hgs
parents:
diff changeset
    23
hgs
parents:
diff changeset
    24
// User includes
hgs
parents:
diff changeset
    25
#include "wlanwizardpageinternal.h"
hgs
parents:
diff changeset
    26
#ifdef ICT_RESULT_ENUM
hgs
parents:
diff changeset
    27
#include "wlanqtutils.h"
hgs
parents:
diff changeset
    28
#endif
hgs
parents:
diff changeset
    29
hgs
parents:
diff changeset
    30
// Forward declarations
hgs
parents:
diff changeset
    31
class HbDocumentLoader;
hgs
parents:
diff changeset
    32
class HbLabel;
hgs
parents:
diff changeset
    33
class WlanWizardPrivate;
hgs
parents:
diff changeset
    34
hgs
parents:
diff changeset
    35
// External data types
hgs
parents:
diff changeset
    36
hgs
parents:
diff changeset
    37
// Constants
hgs
parents:
diff changeset
    38
hgs
parents:
diff changeset
    39
/*!
hgs
parents:
diff changeset
    40
   @addtogroup group_wlan_wizard
hgs
parents:
diff changeset
    41
   @{
hgs
parents:
diff changeset
    42
 */
hgs
parents:
diff changeset
    43
hgs
parents:
diff changeset
    44
class WlanWizardPageProcessingSettings: public WlanWizardPageInternal
hgs
parents:
diff changeset
    45
{
hgs
parents:
diff changeset
    46
    Q_OBJECT
hgs
parents:
diff changeset
    47
public:
hgs
parents:
diff changeset
    48
    explicit WlanWizardPageProcessingSettings(WlanWizardPrivate* parent);
hgs
parents:
diff changeset
    49
    virtual ~WlanWizardPageProcessingSettings();
hgs
parents:
diff changeset
    50
hgs
parents:
diff changeset
    51
public: // From WlanWizardPage
hgs
parents:
diff changeset
    52
    HbWidget* initializePage();
hgs
parents:
diff changeset
    53
    int nextId(bool &removeFromStack) const;
hgs
parents:
diff changeset
    54
    bool showPage();
hgs
parents:
diff changeset
    55
    bool requiresStartOperation();
hgs
parents:
diff changeset
    56
    void startOperation();
hgs
parents:
diff changeset
    57
    
hgs
parents:
diff changeset
    58
signals:
hgs
parents:
diff changeset
    59
    
hgs
parents:
diff changeset
    60
public slots:
hgs
parents:
diff changeset
    61
    void loadDocmlSection(Qt::Orientation orientation);
hgs
parents:
diff changeset
    62
    void wlanNetworkClosed(int iapId, int reason);
hgs
parents:
diff changeset
    63
#ifdef ICT_RESULT_ENUM
hgs
parents:
diff changeset
    64
    void ictResult(int iapId, WlanLoginIctsResultType result);
hgs
parents:
diff changeset
    65
#else
hgs
parents:
diff changeset
    66
    void ictResult(int iapId, bool result);
hgs
parents:
diff changeset
    67
#endif
hgs
parents:
diff changeset
    68
    void wlanNetworkOpened(int iapId);
hgs
parents:
diff changeset
    69
    
hgs
parents:
diff changeset
    70
protected:
hgs
parents:
diff changeset
    71
hgs
parents:
diff changeset
    72
protected slots:
hgs
parents:
diff changeset
    73
hgs
parents:
diff changeset
    74
private:
hgs
parents:
diff changeset
    75
    Q_DISABLE_COPY(WlanWizardPageProcessingSettings)
hgs
parents:
diff changeset
    76
hgs
parents:
diff changeset
    77
private slots:
hgs
parents:
diff changeset
    78
hgs
parents:
diff changeset
    79
private: // data
hgs
parents:
diff changeset
    80
    // OWNED
hgs
parents:
diff changeset
    81
    //! Docml document loader
hgs
parents:
diff changeset
    82
    HbDocumentLoader *mDocLoader;
hgs
parents:
diff changeset
    83
    
hgs
parents:
diff changeset
    84
    // NOT OWNED
hgs
parents:
diff changeset
    85
    //! Visualization of the page
hgs
parents:
diff changeset
    86
    HbWidget *mWidget;
hgs
parents:
diff changeset
    87
    //! Title for text in the page
hgs
parents:
diff changeset
    88
    HbLabel *mLabel;
hgs
parents:
diff changeset
    89
    //! PageId for next wizard page
hgs
parents:
diff changeset
    90
    int mNextPageId;
hgs
parents:
diff changeset
    91
};
hgs
parents:
diff changeset
    92
hgs
parents:
diff changeset
    93
/*! @} */
hgs
parents:
diff changeset
    94
hgs
parents:
diff changeset
    95
#endif // WLANWIZARDPAGEPROCESSINGSETTINGS_H