equal
deleted
inserted
replaced
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 "hbphonemainwindow.h" |
|
25 #include "phoneapplication.h" |
25 |
26 |
26 |
27 |
27 int main (int argc, char *argv[]) |
28 int main (int argc, char *argv[]) |
28 { |
29 { |
29 HbApplication app (argc, argv, Hb::NoSplash); |
30 PhoneApplication app(argc, argv, Hb::NoSplash); |
30 HbPhoneMainWindow window; |
31 HbPhoneMainWindow window; |
|
32 QObject::connect(&app,SIGNAL(focusLost()),&window,SLOT(onFocusLost())); |
|
33 QObject::connect(&app,SIGNAL(focusGained()),&window,SLOT(onFocusGained())); |
31 XQServiceUtil::toBackground( true ); |
34 XQServiceUtil::toBackground( true ); |
32 return app.exec (); |
35 return app.exec (); |
33 } |
36 } |