equal
deleted
inserted
replaced
14 * Description: Definition file for class CalenApplication. |
14 * Description: Definition file for class CalenApplication. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "calencontroller.h" |
18 #include "calencontroller.h" |
|
19 #include "calenapplication.h" |
19 #include "calenserviceprovider.h" |
20 #include "calenserviceprovider.h" |
20 #include "calenapplication.h" |
|
21 |
21 |
22 /*! |
22 /*! |
23 CalenApplication |
23 CalenApplication |
24 Responsible for creating the CalenController object. |
24 Responsible for creating the CalenController object. |
25 */ |
25 */ |
52 mController = new CCalenController(); |
52 mController = new CCalenController(); |
53 if (mController) { |
53 if (mController) { |
54 mController->constructController(); |
54 mController->constructController(); |
55 connect(mController, SIGNAL(appReady()), this, SLOT(handleAppReady())); |
55 connect(mController, SIGNAL(appReady()), this, SLOT(handleAppReady())); |
56 // Create the Calendar service provider |
56 // Create the Calendar service provider |
57 CalenServiceProvider service(mController); |
57 mService = new CalenServiceProvider(mController, this); |
58 } |
58 } |
59 } |
59 } |
60 |
60 |
61 /*! |
61 /*! |
62 Start the event loop for the application. |
62 Start the event loop for the application. |