equal
deleted
inserted
replaced
33 class IRQSettings; |
33 class IRQSettings; |
34 class IRMediaKeyObserver; |
34 class IRMediaKeyObserver; |
35 class IRLastPlayedStationInfo; |
35 class IRLastPlayedStationInfo; |
36 class IRQFavoritesDB; |
36 class IRQFavoritesDB; |
37 class IRQNetworkController; |
37 class IRQNetworkController; |
38 class IRQDiskSpaceWatcher; |
38 class IRQDiskSpaceWatcher; |
39 class QLocalServer; |
|
40 class IRQAdvClient; |
39 class IRQAdvClient; |
41 class HbProgressDialog; |
40 class HbProgressDialog; |
42 class IRQSystemEventHandler; |
41 class IRQSystemEventHandler; |
43 class IRPlayList; |
42 class IRPlayList; |
44 #ifdef HS_WIDGET_ENABLED |
43 #ifdef HS_WIDGET_ENABLED |
45 class IrMonitorService; |
44 class IrMonitorService; |
46 class IrControlService; |
45 class IrControlService; |
47 #endif |
46 #endif |
|
47 |
48 class IRFileViewService; |
48 class IRFileViewService; |
49 class HbMessageBox; |
49 class HbMessageBox; |
50 |
50 |
51 #ifdef LOCALIZATION |
51 |
52 class QTranslator; |
|
53 #endif |
|
54 |
52 |
55 class IRApplication : public QObject |
53 class IRApplication : public QObject |
56 { |
54 { |
57 Q_OBJECT |
55 Q_OBJECT |
58 |
56 |
87 |
85 |
88 void setLaunchView(); |
86 void setLaunchView(); |
89 void launchStartingView(TIRViewId aViewId); |
87 void launchStartingView(TIRViewId aViewId); |
90 |
88 |
91 bool isAppFullyStarted() const; |
89 bool isAppFullyStarted() const; |
92 |
90 bool isEmbeddedInstance() const; |
93 #ifdef LOCALIZATION |
|
94 /* |
|
95 * this function will take ownership of the translator |
|
96 */ |
|
97 void setTranslator(QTranslator* aTranslator); |
|
98 #endif |
|
99 |
91 |
100 //from QObject |
92 //from QObject |
101 bool event(QEvent* e); |
93 bool event(QEvent* e); |
102 |
94 |
103 #ifdef _DEBUG |
95 #ifdef _DEBUG |
110 |
102 |
111 private slots: |
103 private slots: |
112 //connect to signal 'networkEventNotified' from IRQNetworkController |
104 //connect to signal 'networkEventNotified' from IRQNetworkController |
113 void networkEventNotified(IRQNetworkEvent aEvent); |
105 void networkEventNotified(IRQNetworkEvent aEvent); |
114 void cancelConnect(); |
106 void cancelConnect(); |
115 void loadGenre(); |
107 void loadGenre(); |
116 void newLocalSocketConnection(); |
|
117 void handleDiskSpaceLow(qint64 aCriticalLevel); |
108 void handleDiskSpaceLow(qint64 aCriticalLevel); |
118 void handleTermsConsAccepted(); |
109 void handleTermsConsAccepted(); |
119 void handleCallActivated(); |
110 void handleCallActivated(); |
120 void handleCallDeactivated(); |
111 void handleCallDeactivated(); |
121 void handleHeadsetConnected(); |
112 void handleHeadsetConnected(); |
128 void startSystemEventMonitor(); |
119 void startSystemEventMonitor(); |
129 void initApp(); |
120 void initApp(); |
130 void setExitingView(); |
121 void setExitingView(); |
131 TIRHandleResult handleConnectionEstablished(); |
122 TIRHandleResult handleConnectionEstablished(); |
132 |
123 |
133 void startLocalServer(); |
|
134 bool eventFilter(QObject *object, QEvent *event); |
|
135 |
124 |
136 #ifdef _DEBUG |
125 #ifdef _DEBUG |
137 void readConfiguration(); |
126 void readConfiguration(); |
138 #endif |
127 #endif |
139 |
128 |
164 |
153 |
165 bool iConnectingCanceled; |
154 bool iConnectingCanceled; |
166 |
155 |
167 QEvent::Type iInitEvent; |
156 QEvent::Type iInitEvent; |
168 |
157 |
169 QString iConnectingText; |
158 QString iConnectingText; |
170 |
159 |
171 QLocalServer *iLocalServer; |
160 HbProgressDialog *iLoadingNote; |
172 |
|
173 HbProgressDialog *iLoadingNote; |
|
174 |
|
175 #ifdef LOCALIZATION |
|
176 QTranslator *iTranslator; |
|
177 #endif |
|
178 |
|
179 IRQSystemEventHandler *iSystemEventHandler; |
161 IRQSystemEventHandler *iSystemEventHandler; |
180 TIRUseNetworkReason iUseNetworkReason; |
162 TIRUseNetworkReason iUseNetworkReason; |
181 |
163 |
182 bool iAppFullyStarted; |
164 bool iAppFullyStarted; |
183 |
165 |
186 IrMonitorService *iMonitorService; |
168 IrMonitorService *iMonitorService; |
187 #endif |
169 #endif |
188 |
170 |
189 IRFileViewService *iFileViewService; |
171 IRFileViewService *iFileViewService; |
190 HbMessageBox *iMessageBox; |
172 HbMessageBox *iMessageBox; |
|
173 bool iIsEmbedded; |
191 }; |
174 }; |
192 |
175 |
193 #endif |
176 #endif |