summaryrefslogtreecommitdiff
path: root/uui/source/authfallbackdlg.hxx
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2016-08-15 13:14:58 +0400
committerSzymon Kłos <eszkadev@gmail.com>2016-08-18 09:07:56 +0000
commit32d160300e7bd51c0f273275a3d8872e55af9ad3 (patch)
tree871a2d05819a7ee443a8aaf151132db2986fdd90 /uui/source/authfallbackdlg.hxx
parent5a70a76082150ed96e9fcddf94915b751c20d003 (diff)
tdf#87938 Add descriptive instructions to 2fa dialog
Change-Id: I0bbe3ae4591785e32467dec8554493f0b549d009 Reviewed-on: https://gerrit.libreoffice.org/28105 Reviewed-by: Szymon Kłos <eszkadev@gmail.com> Tested-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'uui/source/authfallbackdlg.hxx')
-rw-r--r--uui/source/authfallbackdlg.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/uui/source/authfallbackdlg.hxx b/uui/source/authfallbackdlg.hxx
index 9e5eb5265efa..4df88ddc421b 100644
--- a/uui/source/authfallbackdlg.hxx
+++ b/uui/source/authfallbackdlg.hxx
@@ -15,7 +15,7 @@
#include <vcl/edit.hxx>
#include <vcl/vclmedit.hxx>
#include <vcl/fixed.hxx>
-
+#include <vcl/layout.hxx>
class AuthFallbackDlg : public ModalDialog
{
@@ -23,9 +23,12 @@ private:
VclPtr<VclMultiLineEdit> m_pTVInstructions;
VclPtr<Edit> m_pEDUrl;
VclPtr<Edit> m_pEDCode;
+ VclPtr<Edit> m_pEDGoogleCode;
VclPtr<PushButton> m_pBTOk;
VclPtr<PushButton> m_pBTCancel;
- VclPtr<FixedText> m_pFTGooglePrefixLabel;
+ VclPtr<VclVBox> m_pGoogleBox;
+ VclPtr<VclVBox> m_pOneDriveBox;
+ bool m_bGoogleMode;
public:
AuthFallbackDlg(Window* pParent, const OUString& instructions,
@@ -33,7 +36,7 @@ public:
virtual ~AuthFallbackDlg();
virtual void dispose() override;
- OUString GetCode() const { return m_pEDCode->GetText(); }
+ OUString GetCode() const;
private: