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 #ifndef COLLECTIONANAMESTATE_H |
|
19 #define COLLECTIONANAMESTATE_H |
|
20 |
|
21 #include <QState> |
|
22 #include <QTextCursor> |
|
23 |
|
24 #include "hsaddappstocollectionstate.h" |
|
25 #include "hsmenustates_global.h" |
|
26 HS_STATES_TEST_CLASS(MenuStatesTest) |
|
27 |
|
28 class HsShortcutService; |
|
29 |
|
30 class HsCollectionNameState: public QState |
|
31 { |
|
32 Q_OBJECT |
|
33 |
|
34 HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest) |
|
35 |
|
36 public: |
|
37 |
|
38 HsCollectionNameState(QState *parent = 0); |
|
39 |
|
40 virtual ~HsCollectionNameState(); |
|
41 |
|
42 signals: |
|
43 |
|
44 void commit(const QString &collectionName); |
|
45 |
|
46 void commitCheckList(const QString &collectionName); |
|
47 |
|
48 void cancel(); |
|
49 |
|
50 protected: |
|
51 |
|
52 void onEntry(QEvent *event); |
|
53 |
|
54 private: |
|
55 |
|
56 /** |
|
57 * Constructs contained objects. |
|
58 * |
|
59 * @since S60 ?S60_version. |
|
60 */ |
|
61 void construct(); |
|
62 |
|
63 }; |
|
64 |
|
65 #endif /* COLLECTIONANAMESTATE_H */ |