| 1 | /* |
| 2 | * This file is part of lomiri-online-accounts-ui |
| 3 | * |
| 4 | * Copyright (C) 2011-2014 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 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 SIGNON_UI_REQUEST_H |
| 22 | #define SIGNON_UI_REQUEST_Hcxx . . $ `online-accounts-ui/src/signonui-request.h:22:9`! |
| 23 | |
| 24 | #include "request.h"cxx . . $ `<file>/online-accounts-ui/src/request.h`/ |
| 25 | |
| 26 | namespace SignOnUicxx . . $ SignOnUi/ { |
| 27 | |
| 28 | class RequestHandlercxx . . $ SignOnUi/RequestHandler#; |
| 29 | class RequestPrivatecxx . . $ SignOnUi/RequestPrivate#; |
| 30 | |
| 31 | class Requestcxx . . $ SignOnUi/Request#: public OnlineAccountsUicxx . . $ OnlineAccountsUi/::Requestcxx . . $ OnlineAccountsUi/Request# |
| 32 | { |
| 33 | Q_OBJECTcxx . . $ SignOnUi/Request#QPrivateSignal# |
| 34 | |
| 35 | public: |
| 36 | static Requestcxx . . $ SignOnUi/Request# *newRequestcxx . . $ SignOnUi/Request#newRequest(7c93cb798db8aea0).(int id, |
| 37 | const QStringcxx . . $ QString# &clientProfile, |
| 38 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 39 | QObjectcxx . . $ QObject# *parent = 0); |
| 40 | ~cxx . . $ SignOnUi/Request#`~Request`(ced63f7c635d850d).Requestcxx . . $ SignOnUi/Request#(); |
| 41 | |
| 42 | static QStringcxx . . $ QString# ssoIdcxx . . $ SignOnUi/Request#ssoId(3452ecdc0389abe1).(const QVariantMapcxx . . $ QVariantMap# ¶meters); |
| 43 | QStringcxx . . $ QString# ssoIdcxx . . $ SignOnUi/Request#ssoId(6ef7b6c27b00b43d).() const; |
| 44 | |
| 45 | uintcxx . . $ uint# identitycxx . . $ SignOnUi/Request#identity(ddd8539a2fcdd4ce).() const; |
| 46 | QStringcxx . . $ QString# methodcxx . . $ SignOnUi/Request#method(6ef7b6c27b00b43d).() const; |
| 47 | QStringcxx . . $ QString# mechanismcxx . . $ SignOnUi/Request#mechanism(6ef7b6c27b00b43d).() const; |
| 48 | QStringcxx . . $ QString# providerIdcxx . . $ SignOnUi/Request#providerId(6ef7b6c27b00b43d).() const; |
| 49 | QStringcxx . . $ QString# windowTitlecxx . . $ SignOnUi/Request#windowTitle(6ef7b6c27b00b43d).() const; |
| 50 | |
| 51 | const QVariantMapcxx . . $ QVariantMap# &clientDatacxx . . $ SignOnUi/Request#clientData(9daa5a8a8d37773d).() const; |
| 52 | |
| 53 | void setHandlercxx . . $ SignOnUi/Request#setHandler(33a36a88f472ca4b).(RequestHandlercxx . . $ SignOnUi/RequestHandler# *handler); |
| 54 | RequestHandlercxx . . $ SignOnUi/RequestHandler# *handlercxx . . $ SignOnUi/Request#handler(e7602e54d6d9851d).() const; |
| 55 | bool hasHandlercxx . . $ SignOnUi/Request#hasHandler(50ce9a9e25b4a850).() const { return handlercxx . . $ SignOnUi/Request#handler(e7602e54d6d9851d).() != 0; } |
| 56 | |
| 57 | protected: |
| 58 | explicit Requestcxx . . $ SignOnUi/Request#Request(b00a08810fe27de2).(int id, |
| 59 | const QStringcxx . . $ QString# &clientProfile, |
| 60 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 61 | QObjectcxx . . $ QObject# *parent = 0); |
| 62 | virtual void setWindowcxx . . $ SignOnUi/Request#setWindow(35681b993d9a3c79).(QWindowcxx . . $ QWindow# *window) Q_DECL_OVERRIDEcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:1137:10`!; |
| 63 | virtual void setCanceledcxx . . $ SignOnUi/Request#setCanceled(49f6e7a06ebc5aa8).() Q_DECL_OVERRIDEcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:1137:10`!; |
| 64 | |
| 65 | private: |
| 66 | RequestPrivatecxx . . $ SignOnUi/RequestPrivate# *d_ptrcxx . . $ SignOnUi/Request#d_ptr.; |
| 67 | Q_DECLARE_PRIVATEcxx . . $ SignOnUi/Request#d_func(2d3a971431256956).(Request) |
| 68 | }; |
| 69 | |
| 70 | } // namespace |
| 71 | |
| 72 | #endif // SIGNON_UI_REQUEST_H |
| 73 |