25 #include "calenpreviewpane.h" |
27 #include "calenpreviewpane.h" |
26 #include "calencontroller.h" |
28 #include "calencontroller.h" |
27 #include "calenthicklinesdrawer.h" |
29 #include "calenthicklinesdrawer.h" |
28 #include "calencommon.h" |
30 #include "calencommon.h" |
29 #include "calenpluginlabel.h" |
31 #include "calenpluginlabel.h" |
|
32 #include "calendayview.h" |
|
33 #include "calendayhourscrollarea.h" |
|
34 #include "calendaycontentscrollarea.h" |
30 #include "OstTraceDefinitions.h" |
35 #include "OstTraceDefinitions.h" |
31 #ifdef OST_TRACE_COMPILER_IN_USE |
36 #ifdef OST_TRACE_COMPILER_IN_USE |
32 #include "calendocloaderTraces.h" |
37 #include "calendocloaderTraces.h" |
33 #endif |
38 #endif |
34 |
39 |
138 } else if (name == QString(CALEN_NEXTREGIONALINFO)) { |
143 } else if (name == QString(CALEN_NEXTREGIONALINFO)) { |
139 QObject *calenNextRegionalLabel = new CalenPluginLabel(services); |
144 QObject *calenNextRegionalLabel = new CalenPluginLabel(services); |
140 calenNextRegionalLabel->setObjectName(name); |
145 calenNextRegionalLabel->setObjectName(name); |
141 OstTraceFunctionExit0( DUP11_CALENDOCLOADER_CREATEOBJECT_EXIT ); |
146 OstTraceFunctionExit0( DUP11_CALENDOCLOADER_CREATEOBJECT_EXIT ); |
142 return calenNextRegionalLabel; |
147 return calenNextRegionalLabel; |
|
148 } else if (name == QString(CALEN_DAYVIEW)) { |
|
149 QObject *calenDayView = new CalenDayView(services); |
|
150 calenDayView->setObjectName(name); |
|
151 return calenDayView; |
|
152 } else if (name == QString(CALEN_DAYVIEW_DAYINFO)) { |
|
153 QObject *calenDayInfo = new HbGroupBox(); |
|
154 calenDayInfo->setObjectName(name); |
|
155 return calenDayInfo; |
|
156 } else if (name == QString(CALEN_DAYVIEW_REGIONALINFO)) { |
|
157 QObject *calenRegionalInfo = new HbGroupBox(); |
|
158 calenRegionalInfo->setObjectName(name); |
|
159 return calenRegionalInfo; |
|
160 } else if (name == QString(CALEN_DAYVIEW_CONTENTWIDGET)) { |
|
161 QObject *calenContentWidget = new HbWidget(); |
|
162 calenContentWidget->setObjectName(name); |
|
163 return calenContentWidget; |
|
164 } else if (name == QString(CALEN_DAYVIEW_HOURSCROLLAREA)) { |
|
165 QObject *hourScrollArea = new CalenDayHourScrollArea(); |
|
166 hourScrollArea->setObjectName(name); |
|
167 return hourScrollArea; |
|
168 } else if (name == QString(CALEN_DAYVIEW_CONTENTSCROLLAREA)) { |
|
169 QObject *contentScrollArea = new CalenDayContentScrollArea(); |
|
170 contentScrollArea->setObjectName(name); |
|
171 return contentScrollArea; |
143 } else { |
172 } else { |
144 OstTraceFunctionExit0( DUP12_CALENDOCLOADER_CREATEOBJECT_EXIT ); |
173 OstTraceFunctionExit0( DUP12_CALENDOCLOADER_CREATEOBJECT_EXIT ); |
145 return HbDocumentLoader::createObject(type, name); |
174 return HbDocumentLoader::createObject(type, name); |
146 } |
175 } |
147 } |
176 } |