39
|
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: Wlan Login web view class definition
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef WLANLOGINWEBVIEW_H
|
|
19 |
#define WLANLOGINWEBVIEW_H
|
|
20 |
|
|
21 |
// System includes
|
|
22 |
#include <QGraphicsWebView>
|
|
23 |
|
|
24 |
// User includes
|
|
25 |
|
|
26 |
// Forward declarations
|
|
27 |
class WlanLoginWebPage;
|
|
28 |
|
|
29 |
// External data types
|
|
30 |
|
|
31 |
// Constants
|
|
32 |
|
|
33 |
// Class declaration
|
|
34 |
class WlanLoginWebView: public QGraphicsWebView
|
|
35 |
{
|
|
36 |
Q_OBJECT
|
|
37 |
|
|
38 |
public:
|
53
|
39 |
WlanLoginWebView();
|
39
|
40 |
~WlanLoginWebView();
|
|
41 |
|
|
42 |
protected:
|
|
43 |
bool eventFilter(QObject *, QEvent *event);
|
|
44 |
|
|
45 |
private: // Data
|
|
46 |
|
|
47 |
// Not owned data
|
|
48 |
|
|
49 |
// Owned data
|
|
50 |
WlanLoginWebPage* mWebPage; //!< Pointer to subclassed QWebPage
|
|
51 |
bool mMousePressed; //!< Variable to hold whether mouse(finger) is pressed down
|
|
52 |
};
|
|
53 |
|
|
54 |
#endif //WLANLOGINWEBVIEW_H
|