Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629326
ConfigCredentialHelperDialog.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
ConfigCredentialHelperDialog.cpp
View Options
#include
"ConfigCredentialHelperDialog.h"
#include
"ui_ConfigCredentialHelperDialog.h"
ConfigCredentialHelperDialog
::
ConfigCredentialHelperDialog
(
QWidget
*
parent
)
:
QDialog
(
parent
),
ui
(
new
Ui
::
ConfigCredentialHelperDialog
)
{
ui
->
setupUi
(
this
);
Qt
::
WindowFlags
flags
=
windowFlags
();
flags
&=
~
Qt
::
WindowContextHelpButtonHint
;
setWindowFlags
(
flags
);
}
ConfigCredentialHelperDialog
::~
ConfigCredentialHelperDialog
()
{
delete
ui
;
}
void
ConfigCredentialHelperDialog
::
setHelper
(
QString
const
&
helper
)
{
if
(
helper
.
isEmpty
())
{
ui
->
radioButton_none
->
setChecked
(
true
);
return
;
}
if
(
helper
==
"wincred"
)
{
ui
->
radioButton_wincred
->
setChecked
(
true
);
return
;
}
if
(
helper
==
"winstore"
)
{
ui
->
radioButton_winstore
->
setChecked
(
true
);
return
;
}
ui
->
lineEdit_helper
->
setText
(
helper
);
ui
->
radioButton_other
->
setChecked
(
true
);
}
QString
ConfigCredentialHelperDialog
::
helper
()
const
{
if
(
ui
->
radioButton_wincred
->
isChecked
())
return
"wincred"
;
if
(
ui
->
radioButton_winstore
->
isChecked
())
return
"winstore"
;
if
(
ui
->
radioButton_other
->
isChecked
())
return
ui
->
lineEdit_helper
->
text
();
return
QString
();
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 6:36 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
110949
Default Alt Text
ConfigCredentialHelperDialog.cpp (1 KB)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline