|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Implementation file for class ClockSettingsDocLoader. |
|
16 * |
|
17 */ |
|
18 |
|
19 // User includes |
|
20 #include "clocksettingsdocloader.h" |
|
21 #include "clocksettingsdefines.h" |
|
22 #include "clocksettingsview.h" |
|
23 #include "OstTraceDefinitions.h" |
|
24 #ifdef OST_TRACE_COMPILER_IN_USE |
|
25 #include "clocksettingsdocloaderTraces.h" |
|
26 #endif |
|
27 |
|
28 |
|
29 /*! |
|
30 \class ClockSettingsDocLoader |
|
31 |
|
32 Inherits from HbDocumentLoader |
|
33 Called whenever the docml file is parsed to create objects |
|
34 Over-riding it since we need to create custom views and widgets. |
|
35 |
|
36 \param type The object type which is being created. For ex: HbWidget |
|
37 \param name The name of the created object |
|
38 |
|
39 \return QObject* Pointer to the created object |
|
40 */ |
|
41 QObject *ClockSettingsDocLoader::createObject(const QString &type, const QString &name) |
|
42 { |
|
43 OstTraceFunctionEntry0( CLOCKSETTINGSDOCLOADER_CREATEOBJECT_ENTRY ); |
|
44 return HbDocumentLoader::createObject(type, name); |
|
45 } |
|
46 |
|
47 // End of file --Don't remove this. |