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 #include <QObject> |
|
18 #include <QPointF> |
|
19 class HbMenu; |
|
20 class GlxMenuManager : public QObject |
|
21 { |
|
22 Q_OBJECT |
|
23 |
|
24 public : |
|
25 GlxMenuManager(); |
|
26 ~GlxMenuManager(); |
|
27 void CreateViewMenu(qint32 viewId,HbMenu* menu,bool empty = false , int subState = -1); |
|
28 void createMarkingModeMenu(HbMenu* menu); |
|
29 void ShowItemSpecificMenu(qint32 viewId,QPointF pos); |
|
30 signals : |
|
31 void commandTriggered(qint32 commandId); |
|
32 public slots: |
|
33 |
|
34 protected: |
|
35 |
|
36 private slots: |
|
37 void menuItemSelected(); |
|
38 |
|
39 private: |
|
40 void CreateGridMenu(HbMenu* menu); |
|
41 void CreateListMenu(HbMenu* menu); |
|
42 void CreateFullscreenMenu(HbMenu* menu); |
|
43 void CreateImageViewerMenu(HbMenu* menu); |
|
44 private: |
|
45 |
|
46 }; |