LibreOffice Module uui (master) 1
authfallbackdlg.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <vcl/weld.hxx>
13
15{
16private:
18
19 std::unique_ptr<weld::Label> m_xTVInstructions;
20 std::unique_ptr<weld::Entry> m_xEDUrl;
21 std::unique_ptr<weld::Entry> m_xEDCode;
22 std::unique_ptr<weld::Entry> m_xEDGoogleCode;
23 std::unique_ptr<weld::Button> m_xBTOk;
24 std::unique_ptr<weld::Button> m_xBTCancel;
25 std::unique_ptr<weld::Widget> m_xGoogleBox;
26 std::unique_ptr<weld::Widget> m_xOneDriveBox;
27
28public:
29 AuthFallbackDlg(weld::Window* pParent, const OUString& instructions, const OUString& url);
30 virtual ~AuthFallbackDlg() override;
31
32 OUString GetCode() const;
33
34private:
35 DECL_LINK(OKHdl, weld::Button&, void);
36 DECL_LINK(CancelHdl, weld::Button&, void);
37};
std::unique_ptr< weld::Button > m_xBTOk
OUString GetCode() const
std::unique_ptr< weld::Entry > m_xEDCode
std::unique_ptr< weld::Widget > m_xOneDriveBox
DECL_LINK(CancelHdl, weld::Button &, void)
std::unique_ptr< weld::Widget > m_xGoogleBox
std::unique_ptr< weld::Entry > m_xEDGoogleCode
std::unique_ptr< weld::Label > m_xTVInstructions
DECL_LINK(OKHdl, weld::Button &, void)
AuthFallbackDlg(weld::Window *pParent, const OUString &instructions, const OUString &url)
virtual ~AuthFallbackDlg() override
std::unique_ptr< weld::Button > m_xBTCancel
std::unique_ptr< weld::Entry > m_xEDUrl