equal
deleted
inserted
replaced
23 #include <e32base.h> // CAsyncCallBack |
23 #include <e32base.h> // CAsyncCallBack |
24 #include <vwsdef.h> // TVwsViewId |
24 #include <vwsdef.h> // TVwsViewId |
25 #include <apadef.h> // TApaCommand |
25 #include <apadef.h> // TApaCommand |
26 #include <qglobal.h> // Q_DECL_EXPORT macro |
26 #include <qglobal.h> // Q_DECL_EXPORT macro |
27 #include <agendautil.h> |
27 #include <agendautil.h> |
|
28 #include <qobject> |
28 #include "hb_calencommands.hrh" // Calendar commands |
29 #include "hb_calencommands.hrh" // Calendar commands |
29 #include "calennotificationhandler.h" // TCalenNotification |
30 #include "calennotificationhandler.h" // TCalenNotification |
30 #include "calenservices.h" |
31 #include "calenservices.h" |
31 #include "calenservicesfactory.h" // MCalenServicesFactory |
32 #include "calenservicesfactory.h" // MCalenServicesFactory |
32 |
33 |
56 |
57 |
57 /** |
58 /** |
58 * The controller handles events from the rest of Calendar and delegates |
59 * The controller handles events from the rest of Calendar and delegates |
59 * them to the appropriate place (i.e. the action ui classes). |
60 * them to the appropriate place (i.e. the action ui classes). |
60 */ |
61 */ |
61 class CALENCONTROLLER_EXPORT CCalenController : public MCalenServicesFactory |
62 class CALENCONTROLLER_EXPORT CCalenController : public QObject, public MCalenServicesFactory |
62 { |
63 { |
63 |
64 Q_OBJECT |
|
65 |
64 public: // Construction and destruction |
66 public: // Construction and destruction |
65 /** |
67 /** |
66 * C++ constructor |
68 * C++ constructor |
67 */ |
69 */ |
68 CCalenController(bool isFromServiceFrmwrk); |
70 CCalenController(bool isFromServiceFrmwrk); |