Debian Codegraph @

tests/mocks/Lomiri/SystemSettings/Wifi/MockCertHandler.h

raw symbols SCIP
1 /*
2 * This file is part of system-settings
3 *
4 * Copyright (C) 2016 Canonical Ltd.
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 3, as published
8 * by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranties of
12 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
13 * PURPOSE. See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef MOCK_CERTHANDLER_H
20 #define MOCK_CERTHANDLER_Hcxx . . $ `tests/mocks/Lomiri/SystemSettings/Wifi/MockCertHandler.h:20:9`!
21
22 #include <QAbstractListModel>
23 #include <QObject>
24 #include <QList>
25
26 struct MockFilecxx . . $ MockFile# {
27 QStringcxx . . $ QString# fileNamecxx . . $ MockFile#fileName.;
28 QStringcxx . . $ QString# commonNamecxx . . $ MockFile#commonName.;
29 QStringcxx . . $ QString# organizationcxx . . $ MockFile#organization.;
30 QStringcxx . . $ QString# expiryDatecxx . . $ MockFile#expiryDate.; // dd.mm.yyyy
31
32 QStringcxx . . $ QString# keyNamecxx . . $ MockFile#keyName.;
33 QStringcxx . . $ QString# keyTypecxx . . $ MockFile#keyType.;
34 QStringcxx . . $ QString# keyAlgorithmcxx . . $ MockFile#keyAlgorithm.;
35 uintcxx . . $ uint# keyLengthcxx . . $ MockFile#keyLength.;
36
37 QStringcxx . . $ QString# pacFileNamecxx . . $ MockFile#pacFileName.;
38 };
39
40 class MockAbstractListModelcxx . . $ MockAbstractListModel# : public QAbstractListModelcxx . . $ QAbstractListModel#
41 {
42 Q_OBJECTcxx . . $ MockAbstractListModel#tr(75d9f1c324b4579d).
43 public:
44 enum Rolescxx . . $ MockAbstractListModel#Roles# {
45 CNRolecxx . . $ MockAbstractListModel#CNRole. = Qtcxx . . $ Qt/::UserRolecxx . . $ Qt/UserRole. + 1,
46 ORolecxx . . $ MockAbstractListModel#ORole.,
47 expDateRolecxx . . $ MockAbstractListModel#expDateRole.,
48
49 keyNamecxx . . $ MockAbstractListModel#keyName.,
50 keyTypecxx . . $ MockAbstractListModel#keyType.,
51 keyAlgorithmcxx . . $ MockAbstractListModel#keyAlgorithm.,
52 keyLengthcxx . . $ MockAbstractListModel#keyLength.,
53
54 pacFileNamecxx . . $ MockAbstractListModel#pacFileName.
55 };
56 explicit MockAbstractListModelcxx . . $ MockAbstractListModel#MockAbstractListModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0);
57 ~cxx . . $ MockAbstractListModel#`~MockAbstractListModel`(ced63f7c635d850d).MockAbstractListModelcxx . . $ MockAbstractListModel#() {};
58 QHashcxx . . $ QHash#<int, QByteArraycxx . . $ QByteArray#> roleNamescxx . . $ MockAbstractListModel#roleNames(404e830a028de8a7).() const;
59 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! int rowCountcxx . . $ MockAbstractListModel#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# &parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).()) const;
60 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringcxx . . $ QString# getfileNamecxx . . $ MockAbstractListModel#getfileName(3f3c3d0e9c0eb37f).(const int selectedIndex) const;
61 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! void dataupdatecxx . . $ MockAbstractListModel#dataupdate(49f6e7a06ebc5aa8).();
62 QVariantcxx . . $ QVariant# datacxx . . $ MockAbstractListModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex# &index, int role) const;
63 QListcxx . . $ QList#<MockFilecxx . . $ MockFile#> m_filescxx . . $ MockAbstractListModel#m_files. = QListcxx . . $ QList#<MockFilecxx . . $ MockFile#>();
64 };
65
66 class MockFileHandlercxx . . $ MockFileHandler# : public QObjectcxx . . $ QObject#
67 {
68 Q_OBJECTcxx . . $ QMetaObject#Call#
69 public:
70 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QByteArraycxx . . $ QByteArray# getCertContentcxx . . $ MockFileHandler#getCertContent(210003d65e68897a).(QStringcxx . . $ QString# filename);
71 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringcxx . . $ QString# moveCertFilecxx . . $ MockFileHandler#moveCertFile(f7f320d754b8fd09).(QStringcxx . . $ QString# filename);
72 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringcxx . . $ QString# moveKeyFilecxx . . $ MockFileHandler#moveKeyFile(f7f320d754b8fd09).(QStringcxx . . $ QString# filename);
73 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringcxx . . $ QString# movePacFilecxx . . $ MockFileHandler#movePacFile(f7f320d754b8fd09).(QStringcxx . . $ QString# filename);
74 Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! bool removeFilecxx . . $ MockFileHandler#removeFile(7dc6c9a0b6a7270f).(QStringcxx . . $ QString# filename);
75 };
76
77 class MockCertificateListModelcxx . . $ MockCertificateListModel# : public MockAbstractListModelcxx . . $ MockAbstractListModel#
78 {
79 Q_OBJECTcxx . . $ MockCertificateListModel#trUtf8(75d9f1c324b4579d).
80 };
81
82 class MockPrivatekeyListModelcxx . . $ MockPrivatekeyListModel# : public MockAbstractListModelcxx . . $ MockAbstractListModel#
83 {
84 Q_OBJECTcxx . . $ QMetaObject#Call#
85 };
86
87 class MockPacFileListModelcxx . . $ MockPacFileListModel# : public MockAbstractListModelcxx . . $ MockAbstractListModel#
88 {
89 Q_OBJECTcxx . . $ MockPacFileListModel#QPrivateSignal#
90 };
91
92 #endif // MOCK_CERTHANDLER_H