equal
deleted
inserted
replaced
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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef WEBHTMLTABBEDNAVIGATION_H |
|
20 #define WEBHTMLTABBEDNAVIGATION_H |
|
21 |
|
22 #include <qobject.h> |
|
23 #include <qevent.h> |
|
24 |
|
25 class QWebPage; |
|
26 namespace WRT { |
|
27 |
|
28 class WebHtmlTabIndexedNavigation : public QObject |
|
29 { |
|
30 public: |
|
31 WebHtmlTabIndexedNavigation(QWebPage* webPage,QObject* view); |
|
32 virtual ~WebHtmlTabIndexedNavigation(); |
|
33 |
|
34 void install(); |
|
35 void uninstall(); |
|
36 void setPage( QWebPage * page){ m_webPage = page ;} |
|
37 |
|
38 protected: |
|
39 bool eventFilter(QObject *object, QEvent *event); |
|
40 void keyPressEvent(QKeyEvent* ev); |
|
41 void keyReleaseEvent(QKeyEvent* ev); |
|
42 |
|
43 private: |
|
44 QWebPage* m_webPage; |
|
45 QObject* m_view; |
|
46 int m_radioKeyPressed; |
|
47 bool m_radioGroupFocused; |
|
48 }; |
|
49 |
|
50 }; |
|
51 |
|
52 #endif |
|