| 1 | /* |
| 2 | * Copyright (C) 2013 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-ui |
| 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 OAU_REQUEST_H |
| 22 | #define OAU_REQUEST_Hcxx . . $ `online-accounts-ui/src/request.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QVariantMap> |
| 26 | #include <QWindow> |
| 27 | |
| 28 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 29 | |
| 30 | class RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate#; |
| 31 | class Requestcxx . . $ OnlineAccountsUi/Request#: public QObjectcxx . . $ QObject# |
| 32 | { |
| 33 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 34 | |
| 35 | public: |
| 36 | static Requestcxx . . $ OnlineAccountsUi/Request# *newRequestcxx . . $ OnlineAccountsUi/Request#newRequest(e29924839cd45521).(const QStringcxx . . $ QString# &interface, |
| 37 | int id, |
| 38 | const QStringcxx . . $ QString# &clientProfile, |
| 39 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 40 | QObjectcxx . . $ QObject# *parent = 0); |
| 41 | ~cxx . . $ OnlineAccountsUi/Request#`~Request`(ced63f7c635d850d).Requestcxx . . $ OnlineAccountsUi/Request#(); |
| 42 | |
| 43 | static Requestcxx . . $ OnlineAccountsUi/Request# *findcxx . . $ OnlineAccountsUi/Request#find(330139dc3e783e0c).(const QVariantMapcxx . . $ QVariantMap# &match); |
| 44 | |
| 45 | QStringcxx . . $ QString# interfacecxx . . $ OnlineAccountsUi/Request#interface(6ef7b6c27b00b43d).() const; |
| 46 | int idcxx . . $ OnlineAccountsUi/Request#id(455f465bc33b4cdf).() const; |
| 47 | WIdcxx . . $ WId# windowIdcxx . . $ OnlineAccountsUi/Request#windowId(1c5fc1fd41a99ae7).() const; |
| 48 | bool isInProgresscxx . . $ OnlineAccountsUi/Request#isInProgress(50ce9a9e25b4a850).() const; |
| 49 | const QVariantMapcxx . . $ QVariantMap# ¶meterscxx . . $ OnlineAccountsUi/Request#parameters(9daa5a8a8d37773d).() const; |
| 50 | QStringcxx . . $ QString# clientApparmorProfilecxx . . $ OnlineAccountsUi/Request#clientApparmorProfile(6ef7b6c27b00b43d).() const; |
| 51 | QWindowcxx . . $ QWindow# *windowcxx . . $ OnlineAccountsUi/Request#window(d520c9a5ccf200dd).() const; |
| 52 | |
| 53 | QVariantMapcxx . . $ QVariantMap# resultcxx . . $ OnlineAccountsUi/Request#result(87f780dbe64191c4).() const; |
| 54 | QStringcxx . . $ QString# errorNamecxx . . $ OnlineAccountsUi/Request#errorName(6ef7b6c27b00b43d).() const; |
| 55 | QStringcxx . . $ QString# errorMessagecxx . . $ OnlineAccountsUi/Request#errorMessage(6ef7b6c27b00b43d).() const; |
| 56 | int delaycxx . . $ OnlineAccountsUi/Request#delay(455f465bc33b4cdf).() const; |
| 57 | |
| 58 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 59 | virtual void startcxx . . $ OnlineAccountsUi/Request#start(49f6e7a06ebc5aa8).(); |
| 60 | void cancelcxx . . $ OnlineAccountsUi/Request#cancel(49f6e7a06ebc5aa8).(); |
| 61 | |
| 62 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 63 | void completedcxx . . $ OnlineAccountsUi/Request#completed(49f6e7a06ebc5aa8).(); |
| 64 | |
| 65 | protected: |
| 66 | explicit Requestcxx . . $ OnlineAccountsUi/Request#Request(6cdfba8807728f9f).(const QStringcxx . . $ QString# &interface, |
| 67 | int id, |
| 68 | const QStringcxx . . $ QString# &clientProfile, |
| 69 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 70 | QObjectcxx . . $ QObject# *parent = 0); |
| 71 | virtual void setWindowcxx . . $ OnlineAccountsUi/Request#setWindow(35681b993d9a3c79).(QWindowcxx . . $ QWindow# *window); |
| 72 | void setDelaycxx . . $ OnlineAccountsUi/Request#setDelay(d4f767463ce0a6b3).(int delay); |
| 73 | |
| 74 | QStringcxx . . $ QString# mountPointcxx . . $ OnlineAccountsUi/Request#mountPoint(6ef7b6c27b00b43d).() const; |
| 75 | |
| 76 | protected Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 77 | void failcxx . . $ OnlineAccountsUi/Request#fail(c1427772cd1877b0).(const QStringcxx . . $ QString# &name, const QStringcxx . . $ QString# &message); |
| 78 | virtual void setCanceledcxx . . $ OnlineAccountsUi/Request#setCanceled(49f6e7a06ebc5aa8).(); |
| 79 | void setResultcxx . . $ OnlineAccountsUi/Request#setResult(3e95df3e31f2cce8).(const QVariantMapcxx . . $ QVariantMap# &result); |
| 80 | |
| 81 | private: |
| 82 | RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate# *d_ptrcxx . . $ OnlineAccountsUi/Request#d_ptr.; |
| 83 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsUi/Request#d_func(abf597c7d149b88f).(Request) |
| 84 | }; |
| 85 | |
| 86 | } // namespace |
| 87 | |
| 88 | #endif // OAU_REQUEST_H |