Debian Codegraph @

online-accounts/lib/qt/LomiriOnlineAccounts/service.h

raw symbols SCIP
1 /*
2 * This file is part of libOnlineAccounts
3 *
4 * Copyright (C) 2016 Canonical Ltd.
5 *
6 * Contact: Alberto Mardegan <[email protected]>
7 *
8 * This program is free software: you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License version 3, as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranties of
14 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef ONLINE_ACCOUNTS_SERVICE_H
22 #define ONLINE_ACCOUNTS_SERVICE_Hcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/service.h:22:9`!
23
24 #include <QObject>
25 #include <QSharedData>
26 #include <QSharedDataPointer>
27 #include <QUrl>
28 #include <QVariantMap>
29
30 #include "global.h"cxx . . $ `<file>/online-accounts/lib/qt/LomiriOnlineAccounts/global.h`/
31
32 namespace OnlineAccountscxx . . $ OnlineAccounts/ {
33
34 class Managercxx . . $ OnlineAccounts/Manager#;
35 class ManagerPrivatecxx . . $ OnlineAccounts/ManagerPrivate#;
36
37 class ONLINE_ACCOUNTS_EXPORTcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/global.h:29:11`! Servicecxx . . $ OnlineAccounts/Service#
38 {
39 Q_GADGETcxx . . $ QMetaObject#Call#
40 Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QString serviceId READ id CONSTANT)
41 Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QString displayName READ displayName CONSTANT)
42 Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(QUrl iconSource READ iconSource CONSTANT)
43
44 private:
45 class ServiceDatacxx . . $ OnlineAccounts/Service#ServiceData#: public QSharedDatacxx . . $ QSharedData# {
46 ServiceDatacxx . . $ OnlineAccounts/Service#ServiceData#ServiceData(3e95df3e31f2cce8).(const QVariantMapcxx . . $ QVariantMap# &map);
47 friend class ManagerPrivatecxx . . $ OnlineAccounts/ManagerPrivate#;
48 friend class Servicecxx . . $ OnlineAccounts/Service#;
49 QStringcxx . . $ QString# m_idcxx . . $ OnlineAccounts/Service#ServiceData#m_id.;
50 QStringcxx . . $ QString# m_displayNamecxx . . $ OnlineAccounts/Service#ServiceData#m_displayName.;
51 QUrlcxx . . $ QUrl# m_iconSourcecxx . . $ OnlineAccounts/Service#ServiceData#m_iconSource.;
52 };
53
54 public:
55 Servicecxx . . $ OnlineAccounts/Service#Service(49f6e7a06ebc5aa8).();
56 ~cxx . . $ OnlineAccounts/Service#`~Service`(ced63f7c635d850d).Servicecxx . . $ OnlineAccounts/Service#() {}
57
58 Servicecxx . . $ OnlineAccounts/Service#Service(86d1e630bd74648e).(const Servicecxx . . $ OnlineAccounts/Service# &other): dcxx . . $ OnlineAccounts/Service#d.(other.dcxx . . $ OnlineAccounts/Service#d.) {}
59
60 bool isValidcxx . . $ OnlineAccounts/Service#isValid(50ce9a9e25b4a850).() const { return !dcxx . . $ OnlineAccounts/Service#d.->cxx . . $ QSharedDataPointer#`operator->`(1016ee5406d91ab9).m_idcxx . . $ OnlineAccounts/Service#ServiceData#m_id..isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).(); }
61 QStringcxx . . $ QString# idcxx . . $ OnlineAccounts/Service#id(6ef7b6c27b00b43d).() const { return dcxx . . $ OnlineAccounts/Service#d.->cxx . . $ QSharedDataPointer#`operator->`(1016ee5406d91ab9).m_idcxx . . $ OnlineAccounts/Service#ServiceData#m_id.; }
62 QStringcxx . . $ QString# displayNamecxx . . $ OnlineAccounts/Service#displayName(6ef7b6c27b00b43d).() const { return dcxx . . $ OnlineAccounts/Service#d.->cxx . . $ QSharedDataPointer#`operator->`(1016ee5406d91ab9).m_displayNamecxx . . $ OnlineAccounts/Service#ServiceData#m_displayName.; }
63 QUrlcxx . . $ QUrl# iconSourcecxx . . $ OnlineAccounts/Service#iconSource(36d9834fe7321282).() const { return dcxx . . $ OnlineAccounts/Service#d.->cxx . . $ QSharedDataPointer#`operator->`(1016ee5406d91ab9).m_iconSourcecxx . . $ OnlineAccounts/Service#ServiceData#m_iconSource.; }
64
65 #if QT_VERSIONcxx . . $ `<external>/15045578679651060896/qglobal.h:57:9`! < QT_VERSION_CHECKcxx . . $ `<external>/15045578679651060896/qglobal.h:61:9`!(5, 5, 0)
66 QVariantMap toMap() const;
67 #endif
68
69 protected:
70 Servicecxx . . $ OnlineAccounts/Service#Service(3e95df3e31f2cce8).(const QVariantMapcxx . . $ QVariantMap# &map);
71
72 private:
73 friend class Managercxx . . $ OnlineAccounts/Manager#;
74 friend class ManagerPrivatecxx . . $ OnlineAccounts/ManagerPrivate#;
75 Servicecxx . . $ OnlineAccounts/Service#Service(27fb66eda707ed51).(ServiceDatacxx . . $ OnlineAccounts/Service#ServiceData# *d): dcxx . . $ OnlineAccounts/Service#d.(d) {};
76 QSharedDataPointercxx . . $ QSharedDataPointer#<ServiceDatacxx . . $ OnlineAccounts/Service#ServiceData#> dcxx . . $ OnlineAccounts/Service#d.;
77 };
78
79 } // namespace
80
81 Q_DECLARE_METATYPEcxx . . $ QMetaTypeId#(OnlineAccounts::Service)
82
83 #endif // ONLINE_ACCOUNTS_SERVICE_H