19 #include <hbapplication.h> |
19 #include <hbapplication.h> |
20 #include <hbmainwindow.h> |
20 #include <hbmainwindow.h> |
21 #include <hbtoolbar.h> |
21 #include <hbtoolbar.h> |
22 #include <xqserviceutil.h> |
22 #include <xqserviceutil.h> |
23 |
23 |
24 #include "hbphonemainwindow.h" |
24 #include "phonemainwindow.h" |
25 #include "phoneapplication.h" |
25 #include "phoneapplication.h" |
26 |
26 |
27 |
27 |
28 int main (int argc, char *argv[]) |
28 int main (int argc, char *argv[]) |
29 { |
29 { |
30 PhoneApplication app(argc, argv, Hb::NoSplash); |
30 PhoneApplication app(argc, argv, Hb::NoSplash); |
31 HbPhoneMainWindow window; |
31 PhoneMainWindow window; |
32 QObject::connect(&app,SIGNAL(focusLost()),&window,SLOT(onFocusLost())); |
32 QObject::connect(&app,SIGNAL(focusLost()),&window,SLOT(onFocusLost())); |
33 QObject::connect(&app,SIGNAL(focusGained()),&window,SLOT(onFocusGained())); |
33 QObject::connect(&app,SIGNAL(focusGained()),&window,SLOT(onFocusGained())); |
34 XQServiceUtil::toBackground( true ); |
34 XQServiceUtil::toBackground( true ); |
35 return app.exec (); |
35 return app.exec (); |
36 } |
36 } |