equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 * |
|
16 */ |
|
17 |
|
18 #ifndef BTDELEGATEFACTORY_H |
|
19 #define BTDELEGATEFACTORY_H |
|
20 |
|
21 #include <QObject> |
|
22 #include "btdelegateconsts.h" |
|
23 |
|
24 class BtAbstractDelegate; |
|
25 class BtSettingModel; |
|
26 class BtDeviceModel; |
|
27 |
|
28 #ifdef BUILD_BTUIDELEGATE |
|
29 #define BTUIDELEGATE_IMEXPORT Q_DECL_EXPORT |
|
30 #else |
|
31 #define BTUIDELEGATE_IMEXPORT Q_DECL_IMPORT |
|
32 #endif |
|
33 |
|
34 /*! |
|
35 \class BtDelegateFactory |
|
36 \brief the base class for creating concrete delegate instances |
|
37 |
|
38 \\sa btuidelegate |
|
39 */ |
|
40 class BTUIDELEGATE_IMEXPORT BtDelegateFactory |
|
41 { |
|
42 |
|
43 public: |
|
44 static BtAbstractDelegate *newDelegate( |
|
45 BtDelegate::EditorType editor, |
|
46 BtSettingModel* settingModel, |
|
47 BtDeviceModel* deviceModel, |
|
48 QObject *parent = 0 ); |
|
49 |
|
50 }; |
|
51 |
|
52 #endif // BTDELEGATEFACTORY_H |