author | hgs |
Fri, 09 Jul 2010 15:40:55 +0300 | |
changeset 50 | 377c906a8701 |
parent 46 | bc5a64e5bc3c |
child 51 | f39ed5e045e0 |
child 76 | cfea66083b62 |
permissions | -rw-r--r-- |
37 | 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 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef CPTELEPHONYPLUGIN_H |
|
19 |
#define CPTELEPHONYPLUGIN_H |
|
20 |
||
21 |
#include <QObject> |
|
22 |
#include <QList> |
|
23 |
#include <cpplugininterface.h> |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
24 |
#include <cplauncherinterface.h> |
37 | 25 |
#include "cpphonelocalisation.h" |
26 |
||
27 |
/*! |
|
28 |
\class CpTelephonyPlugin |
|
29 |
\brief The class CpTelephonyPlugin implements telephony plugin functionality. |
|
30 |
*/ |
|
31 |
class CpTelephonyPlugin |
|
32 |
: public QObject, |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
33 |
public CpPluginInterface, |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
34 |
public CpLauncherInterface |
37 | 35 |
{ |
36 |
Q_OBJECT |
|
37 |
Q_INTERFACES(CpPluginInterface) |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
38 |
Q_INTERFACES(CpLauncherInterface) |
37 | 39 |
|
40 |
public: |
|
41 |
CpTelephonyPlugin(); |
|
42 |
~CpTelephonyPlugin(); |
|
43 |
||
44 |
/*! |
|
45 |
From CpPluginInterface. |
|
46 |
@see CpPluginInterface. |
|
47 |
*/ |
|
48 |
QList<CpSettingFormItemData*> createSettingFormItemData( |
|
49 |
CpItemDataHelper &itemDataHelper) const; |
|
50 |
||
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
51 |
/*! |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
52 |
From CpLauncherInterface. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
53 |
@see CpLauncherInterface. |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
54 |
*/ |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
55 |
virtual CpBaseSettingView *createSettingView(const QVariant &hint) const; |
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
56 |
|
37 | 57 |
private: |
58 |
||
59 |
QScopedPointer<CpPhoneLocalisation> m_localisation; |
|
60 |
}; |
|
61 |
||
62 |
#endif /* CPTELEPHONYPLUGIN_H */ |