equal
deleted
inserted
replaced
19 // User includes |
19 // User includes |
20 #include "notesappcontrollerifimpl.h" |
20 #include "notesappcontrollerifimpl.h" |
21 #include "notesmodelhandler.h" |
21 #include "notesmodelhandler.h" |
22 #include "notesappcontroller.h" |
22 #include "notesappcontroller.h" |
23 #include "notesviewmanager.h" |
23 #include "notesviewmanager.h" |
|
24 #include "OstTraceDefinitions.h" |
|
25 #ifdef OST_TRACE_COMPILER_IN_USE |
|
26 #include "notesappcontrollerifimplTraces.h" |
|
27 #endif |
|
28 |
24 |
29 |
25 /*! |
30 /*! |
26 \class NotesAppControllerIfImpl |
31 \class NotesAppControllerIfImpl |
27 |
32 |
28 This class implements the NotesAppControllerIf interface which is used |
33 This class implements the NotesAppControllerIf interface which is used |
39 NotesAppControllerIfImpl::NotesAppControllerIfImpl( |
44 NotesAppControllerIfImpl::NotesAppControllerIfImpl( |
40 NotesAppController *controller, QObject *parent) |
45 NotesAppController *controller, QObject *parent) |
41 :QObject(controller), |
46 :QObject(controller), |
42 mAppController(controller) |
47 mAppController(controller) |
43 { |
48 { |
44 // Nothing yet. |
49 OstTraceFunctionEntry0( NOTESAPPCONTROLLERIFIMPL_NOTESAPPCONTROLLERIFIMPL_ENTRY ); |
|
50 Q_UNUSED(parent); |
|
51 OstTraceFunctionExit0( NOTESAPPCONTROLLERIFIMPL_NOTESAPPCONTROLLERIFIMPL_EXIT ); |
45 } |
52 } |
46 |
53 |
47 /*! |
54 /*! |
48 Destructor. |
55 Destructor. |
49 */ |
56 */ |
50 NotesAppControllerIfImpl::~NotesAppControllerIfImpl() |
57 NotesAppControllerIfImpl::~NotesAppControllerIfImpl() |
51 { |
58 { |
|
59 OstTraceFunctionEntry0( DUP1_NOTESAPPCONTROLLERIFIMPL_NOTESAPPCONTROLLERIFIMPL_ENTRY ); |
52 // Nothing yet. |
60 // Nothing yet. |
|
61 OstTraceFunctionExit0( DUP1_NOTESAPPCONTROLLERIFIMPL_NOTESAPPCONTROLLERIFIMPL_EXIT ); |
53 } |
62 } |
54 |
63 |
55 /*! |
64 /*! |
56 From NotesAppControllerIf. |
65 From NotesAppControllerIf. |
57 Returns a pointer to agendautil object. |
66 Returns a pointer to agendautil object. |
59 \return AgendaUtil* Pointer to agendautil object. |
68 \return AgendaUtil* Pointer to agendautil object. |
60 \sa NotesAppControllerIf |
69 \sa NotesAppControllerIf |
61 */ |
70 */ |
62 AgendaUtil *NotesAppControllerIfImpl::agendaUtil() |
71 AgendaUtil *NotesAppControllerIfImpl::agendaUtil() |
63 { |
72 { |
|
73 OstTraceFunctionEntry0( NOTESAPPCONTROLLERIFIMPL_AGENDAUTIL_ENTRY ); |
64 return mAppController->mNotesModelHandler->agendaInterface(); |
74 return mAppController->mNotesModelHandler->agendaInterface(); |
65 } |
75 } |
66 |
76 |
67 /*! |
77 /*! |
68 From NotesAppControllerIf. |
78 From NotesAppControllerIf. |
71 \return NotesModel* Pointer to notesmodel object. |
81 \return NotesModel* Pointer to notesmodel object. |
72 \sa NotesAppControllerIf |
82 \sa NotesAppControllerIf |
73 */ |
83 */ |
74 NotesModel *NotesAppControllerIfImpl::notesModel() |
84 NotesModel *NotesAppControllerIfImpl::notesModel() |
75 { |
85 { |
|
86 OstTraceFunctionEntry0( NOTESAPPCONTROLLERIFIMPL_NOTESMODEL_ENTRY ); |
76 return mAppController->mNotesModelHandler->notesModel(); |
87 return mAppController->mNotesModelHandler->notesModel(); |
77 } |
88 } |
78 |
89 |
79 /*! |
90 /*! |
80 From NotesAppControllerIf. |
91 From NotesAppControllerIf. |
83 \param viewId The id of the view to be switched to. |
94 \param viewId The id of the view to be switched to. |
84 \sa NotesAppControllerIf |
95 \sa NotesAppControllerIf |
85 */ |
96 */ |
86 void NotesAppControllerIfImpl::switchToView(NotesNamespace::NotesViewIds viewId) |
97 void NotesAppControllerIfImpl::switchToView(NotesNamespace::NotesViewIds viewId) |
87 { |
98 { |
|
99 OstTraceFunctionEntry0( NOTESAPPCONTROLLERIFIMPL_SWITCHTOVIEW_ENTRY ); |
88 mAppController->mViewManager->switchToView(viewId); |
100 mAppController->mViewManager->switchToView(viewId); |
|
101 OstTraceFunctionExit0( NOTESAPPCONTROLLERIFIMPL_SWITCHTOVIEW_EXIT ); |
89 } |
102 } |
90 |
103 |
91 // End of file --Don't remove this. |
104 // End of file --Don't remove this. |