1 /* |
1 /* |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
15 * Certificate information data structure for EAP QT configuration interface |
15 * Certificate information data structure for EAP QT configuration interface |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 /* |
19 /* |
20 * %version: 3 % |
20 * %version: 4 % |
21 */ |
21 */ |
22 |
22 |
23 #ifndef EAPQTCERTIFICATEINFO_P_H |
23 #ifndef EAPQTCERTIFICATEINFO_P_H |
24 #define EAPQTCERTIFICATEINFO_P_H |
24 #define EAPQTCERTIFICATEINFO_P_H |
25 |
25 |
|
26 // System includes |
26 #include <QHash> |
27 #include <QHash> |
27 #include <QVariant> |
28 #include <QVariant> |
28 |
29 |
|
30 // User includes |
|
31 |
|
32 // Forward declarations |
|
33 |
|
34 // External data types |
|
35 |
|
36 // Constants |
|
37 |
|
38 // Class declaration |
29 class EapQtCertificateInfoPrivate |
39 class EapQtCertificateInfoPrivate |
30 { |
40 { |
|
41 |
31 public: |
42 public: |
|
43 |
|
44 // Data types |
32 |
45 |
33 EapQtCertificateInfoPrivate(); |
46 EapQtCertificateInfoPrivate(); |
34 ~EapQtCertificateInfoPrivate(); |
47 ~EapQtCertificateInfoPrivate(); |
35 |
48 |
36 // copy constructor |
49 // copy constructor |
37 EapQtCertificateInfoPrivate(const EapQtCertificateInfoPrivate &certInfo); |
50 EapQtCertificateInfoPrivate(const EapQtCertificateInfoPrivate &certInfo); |
38 |
51 |
39 QVariant value(int id); |
52 QVariant value(const int id); |
40 void setValue(int id, QVariant newValue); |
53 void setValue(const int id, const QVariant &newValue); |
|
54 void clear(); |
41 |
55 |
42 private: |
56 private: |
|
57 |
43 // disable assignment |
58 // disable assignment |
44 EapQtCertificateInfoPrivate &operator=(const EapQtCertificateInfoPrivate&); |
59 EapQtCertificateInfoPrivate &operator=(const EapQtCertificateInfoPrivate&); |
|
60 |
|
61 private: // data |
|
62 |
45 QHash<int, QVariant> mCerts; |
63 QHash<int, QVariant> mCerts; |
46 |
64 |
47 }; |
65 }; |
48 |
66 |
49 #endif /* EAPQTCERTIFICATEINFO_P_H */ |
67 #endif // EAPQTCERTIFICATEINFO_P_H |