31
|
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 Page: Generic error page
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef WLANWIZARDPAGEGENERICERROR_H
|
|
20 |
#define WLANWIZARDPAGEGENERICERROR_H
|
|
21 |
|
|
22 |
// System includes
|
|
23 |
|
|
24 |
// User includes
|
|
25 |
#include "wlanwizardpageinternal.h"
|
|
26 |
|
|
27 |
// Forward declarations
|
|
28 |
class HbLabel;
|
|
29 |
class WlanWizardPrivate;
|
|
30 |
|
|
31 |
// External data types
|
|
32 |
|
|
33 |
// Constants
|
|
34 |
|
|
35 |
/*!
|
|
36 |
@addtogroup group_wlan_wizard
|
|
37 |
@{
|
|
38 |
*/
|
|
39 |
|
|
40 |
class WlanWizardPageGenericError : public WlanWizardPageInternal
|
|
41 |
{
|
|
42 |
public:
|
|
43 |
explicit WlanWizardPageGenericError(WlanWizardPrivate* parent);
|
|
44 |
virtual ~WlanWizardPageGenericError();
|
|
45 |
|
|
46 |
public: // From WlanWizardPage
|
|
47 |
HbWidget* initializePage();
|
|
48 |
int nextId(bool &removeFromStack) const;
|
|
49 |
bool showPage();
|
|
50 |
|
|
51 |
signals:
|
|
52 |
|
|
53 |
public slots:
|
|
54 |
|
|
55 |
protected:
|
|
56 |
|
|
57 |
protected slots:
|
|
58 |
|
|
59 |
private:
|
|
60 |
Q_DISABLE_COPY(WlanWizardPageGenericError)
|
|
61 |
|
|
62 |
private slots:
|
|
63 |
|
|
64 |
private: // data
|
|
65 |
//! Pointer to visialization of this page
|
|
66 |
HbWidget *mWidget;
|
|
67 |
//! Error label. Gets string from WlanWizardHelper::ConfGenericErrorString
|
|
68 |
HbLabel *mLabel;
|
|
69 |
};
|
|
70 |
|
|
71 |
/*! @} */
|
|
72 |
|
|
73 |
#endif // WLANWIZARDPAGEGENERICERROR_H
|