equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
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 * |
4 * |
9 * Initial Contributors: |
5 * This program is free software: you can redistribute it and/or modify |
10 * Nokia Corporation - initial contribution. |
6 * it under the terms of the GNU Lesser General Public License as published by |
|
7 * the Free Software Foundation, version 2.1 of the License. |
|
8 * |
|
9 * This program is distributed in the hope that it will be useful, |
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 * GNU Lesser General Public License for more details. |
11 * |
13 * |
12 * Contributors: |
14 * You should have received a copy of the GNU Lesser General Public License |
|
15 * along with this program. If not, |
|
16 * see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/". |
13 * |
17 * |
14 * Description: |
18 * Description: |
15 * |
19 * |
16 */ |
20 */ |
17 |
|
18 |
21 |
19 #ifndef VIEWEVENTCONTEXT_H_ |
22 #ifndef VIEWEVENTCONTEXT_H_ |
20 #define VIEWEVENTCONTEXT_H_ |
23 #define VIEWEVENTCONTEXT_H_ |
21 |
24 |
22 #include <QPoint> |
25 #include <QPoint> |
27 #include "scriptobjects.h" |
30 #include "scriptobjects.h" |
28 |
31 |
29 |
32 |
30 /*! |
33 /*! |
31 * \brief Describes the context of a UI event in a ControllableView. |
34 * \brief Describes the context of a UI event in a ControllableView. |
|
35 * |
32 * The ViewEventContext class contains parameters that describe the context of a UI event |
36 * The ViewEventContext class contains parameters that describe the context of a UI event |
33 * that occurs in a ControllableView. In the case of a long-press event, for example, it |
37 * that occurs in a ControllableView. In the case of a long-press event, for example, it |
34 * would detail what link or image the user pressed. These objects are visible to javascript. |
38 * would detail what link or image the user pressed. These objects are visible to javascript. |
35 * \sa ControllableView |
39 * \sa ControllableView |
36 */ |
40 */ |