| 1 | /* |
| 2 | * Copyright (C) 2014 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 MOCK_SIGNON_UI_REQUEST_H |
| 22 | #define MOCK_SIGNON_UI_REQUEST_Hcxx . . $ `tests/online-accounts-ui/mock/signonui-request-mock.h:22:9`! |
| 23 | |
| 24 | #include "signonui-request.h"cxx . . $ `<file>/online-accounts-ui/src/signonui-request.h`/ |
| 25 | |
| 26 | #include <LomiriOnlineAccountsPlugin/request-handler.h>cxx . . $ `<file>/online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/request-handler.h`/ |
| 27 | #include <QPointer> |
| 28 | #include <QVariantMap> |
| 29 | |
| 30 | namespace SignOnUicxx . . $ SignOnUi/ { |
| 31 | |
| 32 | class RequestPrivatecxx . . $ SignOnUi/RequestPrivate#: public QObjectcxx . . $ QObject# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ SignOnUi/RequestPrivate#tr(75d9f1c324b4579d). |
| 35 | Q_DECLARE_PUBLICcxx . . $ SignOnUi/RequestPrivate#q_ptr.(Request) |
| 36 | |
| 37 | public: |
| 38 | RequestPrivatecxx . . $ SignOnUi/RequestPrivate#RequestPrivate(c05017e728e6cbe8).(Requestcxx . . $ SignOnUi/Request# *request); |
| 39 | ~cxx . . $ SignOnUi/RequestPrivate#`~RequestPrivate`(ced63f7c635d850d).RequestPrivatecxx . . $ SignOnUi/RequestPrivate#(); |
| 40 | static RequestPrivatecxx . . $ SignOnUi/RequestPrivate# *mockedcxx . . $ SignOnUi/RequestPrivate#mocked(3ef26e554d85402a).(Requestcxx . . $ SignOnUi/Request# *r) { return r->d_ptrcxx . . $ SignOnUi/Request#d_ptr.; } |
| 41 | |
| 42 | void setProviderIdcxx . . $ SignOnUi/RequestPrivate#setProviderId(3520e46b33348bf6).(const QStringcxx . . $ QString# &id) { m_providerIdcxx . . $ SignOnUi/RequestPrivate#m_providerId. =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). id; } |
| 43 | void setWindowTitlecxx . . $ SignOnUi/RequestPrivate#setWindowTitle(3520e46b33348bf6).(const QStringcxx . . $ QString# &title) { m_windowTitlecxx . . $ SignOnUi/RequestPrivate#m_windowTitle. =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). title; } |
| 44 | |
| 45 | private: |
| 46 | mutable Requestcxx . . $ SignOnUi/Request# *q_ptrcxx . . $ SignOnUi/RequestPrivate#q_ptr.; |
| 47 | QVariantMapcxx . . $ QVariantMap# m_clientDatacxx . . $ SignOnUi/RequestPrivate#m_clientData.; |
| 48 | QPointercxx . . $ QPointer#<RequestHandlercxx . . $ SignOnUi/RequestHandler#> m_handlercxx . . $ SignOnUi/RequestPrivate#m_handler.; |
| 49 | QStringcxx . . $ QString# m_providerIdcxx . . $ SignOnUi/RequestPrivate#m_providerId.; |
| 50 | QStringcxx . . $ QString# m_windowTitlecxx . . $ SignOnUi/RequestPrivate#m_windowTitle.; |
| 51 | }; |
| 52 | |
| 53 | } // namespace |
| 54 | |
| 55 | #endif // MOCK_SIGNON_UI_REQUEST_H |