| 1 | /* |
| 2 | * This file is part of system-settings |
| 3 | * |
| 4 | * Copyright (C) 2013 Canonical Ltd. |
| 5 | * |
| 6 | * Contact: Iain Lane <[email protected]> |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License version 3, as published |
| 10 | * 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 General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef ACCOUNTSSERVICE_H |
| 22 | #define ACCOUNTSSERVICE_Hcxx . . $ `lib/LomiriSystemSettingsPrivate/accountsservice.h:22:9`! |
| 23 | |
| 24 | #include <QDBusServiceWatcher> |
| 25 | #include <QStringList> |
| 26 | #include <QtDBus/QDBusInterface> |
| 27 | |
| 28 | namespace LomiriSystemSettingscxx . . $ LomiriSystemSettings/ { |
| 29 | |
| 30 | class AccountsServicecxx . . $ LomiriSystemSettings/AccountsService# : public QObjectcxx . . $ QObject# |
| 31 | { |
| 32 | Q_OBJECTcxx . . $ LomiriSystemSettings/AccountsService#tr(75d9f1c324b4579d). |
| 33 | |
| 34 | public: |
| 35 | explicit AccountsServicecxx . . $ LomiriSystemSettings/AccountsService#AccountsService(749de1b6ae65bddd). (QObjectcxx . . $ QObject# *parent = 0); |
| 36 | |
| 37 | QStringcxx . . $ QString# getPropertycxx . . $ LomiriSystemSettings/AccountsService#getProperty(f7f320d754b8fd09). (QStringcxx . . $ QString# property); |
| 38 | QVariantcxx . . $ QVariant# getUserPropertycxx . . $ LomiriSystemSettings/AccountsService#getUserProperty(2463921596bfcd98).(const QStringcxx . . $ QString# &interface, |
| 39 | const QStringcxx . . $ QString# &property); |
| 40 | bool setUserPropertycxx . . $ LomiriSystemSettings/AccountsService#setUserProperty(b1bf0f055c3a0518).(const QStringcxx . . $ QString# &interface, |
| 41 | const QStringcxx . . $ QString# &property, |
| 42 | const QVariantcxx . . $ QVariant# &value); |
| 43 | bool customSetUserPropertycxx . . $ LomiriSystemSettings/AccountsService#customSetUserProperty(70982970542b5878).(const QStringcxx . . $ QString# &method, |
| 44 | const QVariantcxx . . $ QVariant# &value); |
| 45 | |
| 46 | |
| 47 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 48 | void slotChangedcxx . . $ LomiriSystemSettings/AccountsService#slotChanged(49f0631b4ca09eb).(QStringcxx . . $ QString#, QVariantMapcxx . . $ QVariantMap#, QStringListcxx . . $ QStringList#); |
| 49 | void slotNameOwnerChangedcxx . . $ LomiriSystemSettings/AccountsService#slotNameOwnerChanged(d0e09eaeab4b4681).(QStringcxx . . $ QString#, QStringcxx . . $ QString#, QStringcxx . . $ QString#); |
| 50 | |
| 51 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 52 | void propertyChangedcxx . . $ LomiriSystemSettings/AccountsService#propertyChanged(3458fe3960d5051).(QStringcxx . . $ QString# interface, QStringcxx . . $ QString# property); |
| 53 | void changedcxx . . $ LomiriSystemSettings/AccountsService#changed(49f6e7a06ebc5aa8).(); |
| 54 | void nameOwnerChangedcxx . . $ LomiriSystemSettings/AccountsService#nameOwnerChanged(49f6e7a06ebc5aa8).(); |
| 55 | |
| 56 | private: |
| 57 | QDBusConnectioncxx . . $ QDBusConnection# m_systemBusConnectioncxx . . $ LomiriSystemSettings/AccountsService#m_systemBusConnection.; |
| 58 | QDBusServiceWatchercxx . . $ QDBusServiceWatcher# m_serviceWatchercxx . . $ LomiriSystemSettings/AccountsService#m_serviceWatcher.; |
| 59 | QDBusInterfacecxx . . $ QDBusInterface# m_accountsserviceIfacecxx . . $ LomiriSystemSettings/AccountsService#m_accountsserviceIface.; |
| 60 | QStringcxx . . $ QString# m_objectPathcxx . . $ LomiriSystemSettings/AccountsService#m_objectPath.; |
| 61 | |
| 62 | void setUpInterfacecxx . . $ LomiriSystemSettings/AccountsService#setUpInterface(49f6e7a06ebc5aa8).(); |
| 63 | |
| 64 | }; |
| 65 | |
| 66 | } // namespace |
| 67 | |
| 68 | #endif // ACCOUNTSSERVICE_H |