A login profile for XNAT sessions.
More...
#include <Libs/XNAT/Core/ctkXnatLoginProfile.h>
A login profile for XNAT sessions.
Definition at line 37 of file ctkXnatLoginProfile.h.
◆ ctkXnatLoginProfile() [1/2]
ctkXnatLoginProfile::ctkXnatLoginProfile |
( |
| ) |
|
◆ ctkXnatLoginProfile() [2/2]
◆ ~ctkXnatLoginProfile()
ctkXnatLoginProfile::~ctkXnatLoginProfile |
( |
| ) |
|
◆ isDefault()
bool ctkXnatLoginProfile::isDefault |
( |
| ) |
const |
Returns a boolean value indicating if this login profile is the default profile.
- Returns
true
if this is the default login profile, false
otherwise.
◆ name()
QString ctkXnatLoginProfile::name |
( |
| ) |
const |
Get the name for this profile.
- Returns
- The profile name.
◆ password()
QString ctkXnatLoginProfile::password |
( |
| ) |
const |
Get the login password.
- Returns
- The password.
◆ serverUrl()
QUrl ctkXnatLoginProfile::serverUrl |
( |
| ) |
const |
Get the XNAT server URL.
- Returns
- The XNAT server URL.
◆ setDefault()
void ctkXnatLoginProfile::setDefault |
( |
bool |
default_ | ) |
|
Set the default login profile to this profile.
- Parameters
-
default_ | If true , marks this login profile as the default profile. |
◆ setName()
void ctkXnatLoginProfile::setName |
( |
const QString & |
profileName | ) |
|
Set the name for this profile.
- Parameters
-
profileName | The new profile name. |
◆ setPassword()
void ctkXnatLoginProfile::setPassword |
( |
const QString & |
password | ) |
|
Set the login password.
- Parameters
-
password | The new password. |
◆ setServerUrl()
void ctkXnatLoginProfile::setServerUrl |
( |
const QUrl & |
serverUri | ) |
|
Set the XNAT server URL.
- Parameters
-
serverUri | The new XNAT server URL. |
◆ setUserName()
void ctkXnatLoginProfile::setUserName |
( |
const QString & |
userName | ) |
|
Set the login user name.
- Parameters
-
userName | The new user name. |
◆ userName()
QString ctkXnatLoginProfile::userName |
( |
| ) |
const |
Get the login user name.
- Returns
- The user name.
The documentation for this class was generated from the following file: