equal
deleted
inserted
replaced
19 #define SEARCHAPPLICATION_H |
19 #define SEARCHAPPLICATION_H |
20 |
20 |
21 #include "search_global.h" |
21 #include "search_global.h" |
22 |
22 |
23 #include <qobject.h> |
23 #include <qobject.h> |
|
24 #include <hbapplication.h> |
24 |
25 |
25 class QStateMachine; |
26 class QStateMachine; |
26 |
27 |
27 /** |
28 /** |
28 * @ingroup group_searchsearchlication |
29 * @ingroup group_searchsearchlication |
32 * the runtime execution. |
33 * the runtime execution. |
33 * |
34 * |
34 * @lib ?library |
35 * @lib ?library |
35 * @since S60 ?S60_version |
36 * @since S60 ?S60_version |
36 */ |
37 */ |
37 class SearchApplication : public QObject |
38 class SearchApplication : public HbApplication |
38 { |
39 { |
39 Q_OBJECT |
40 Q_OBJECT |
40 |
41 |
41 public: |
42 public: |
42 |
43 |
43 /** |
44 /** |
44 * Constructor. |
45 * Constructor. |
45 * @since S60 ?S60_version. |
46 * @since S60 ?S60_version. |
46 * @param aParent Parent object. |
47 * @param aParent Parent object. |
47 */ |
48 */ |
48 SearchApplication(QObject* aParent = 0); |
49 SearchApplication(int argc, char *argv[]); |
49 |
50 |
50 /** |
51 /** |
51 * Destructor. |
52 * Destructor. |
52 * @since S60 ?S60_version. |
53 * @since S60 ?S60_version. |
53 */ |
54 */ |
62 /** |
63 /** |
63 * Emitted when the search application needs to exit. |
64 * Emitted when the search application needs to exit. |
64 * @since S60 ?S60_version. |
65 * @since S60 ?S60_version. |
65 */ |
66 */ |
66 void exit(); |
67 void exit(); |
|
68 |
|
69 void applicationReady(); |
67 |
70 |
68 public slots: |
71 public slots: |
69 |
72 |
70 /** |
73 /** |
71 * Starts the runtime. |
74 * Starts the runtime. |
96 /** |
99 /** |
97 * Called after the runtime has faulted. |
100 * Called after the runtime has faulted. |
98 * @since S60 ?S60_version. |
101 * @since S60 ?S60_version. |
99 */ |
102 */ |
100 void handleRuntimeFaulted(); |
103 void handleRuntimeFaulted(); |
|
104 |
|
105 void sentMattiEventSlot(); |
101 |
106 |
102 private: |
107 private: |
103 |
108 |
104 /** |
109 /** |
105 * Runtime. |
110 * Runtime. |