CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkXnatLoginProfile Class Reference

A login profile for XNAT sessions. More...

#include <Libs/XNAT/Core/ctkXnatLoginProfile.h>

Public Member Functions

 ctkXnatLoginProfile ()
 
 ctkXnatLoginProfile (const ctkXnatLoginProfile &otherLoginProfile)
 
bool isDefault () const
 Returns a boolean value indicating if this login profile is the default profile. More...
 
QString name () const
 Get the name for this profile. More...
 
QString password () const
 Get the login password. More...
 
QUrl serverUrl () const
 Get the XNAT server URL. More...
 
void setDefault (bool default_)
 Set the default login profile to this profile. More...
 
void setName (const QString &profileName)
 Set the name for this profile. More...
 
void setPassword (const QString &password)
 Set the login password. More...
 
void setServerUrl (const QUrl &serverUri)
 Set the XNAT server URL. More...
 
void setUserName (const QString &userName)
 Set the login user name. More...
 
QString userName () const
 Get the login user name. More...
 
 ~ctkXnatLoginProfile ()
 

Detailed Description

A login profile for XNAT sessions.

Definition at line 37 of file ctkXnatLoginProfile.h.

Constructor & Destructor Documentation

◆ ctkXnatLoginProfile() [1/2]

ctkXnatLoginProfile::ctkXnatLoginProfile ( )

◆ ctkXnatLoginProfile() [2/2]

ctkXnatLoginProfile::ctkXnatLoginProfile ( const ctkXnatLoginProfile otherLoginProfile)

◆ ~ctkXnatLoginProfile()

ctkXnatLoginProfile::~ctkXnatLoginProfile ( )

Member Function Documentation

◆ 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
profileNameThe new profile name.

◆ setPassword()

void ctkXnatLoginProfile::setPassword ( const QString &  password)

Set the login password.

Parameters
passwordThe new password.

◆ setServerUrl()

void ctkXnatLoginProfile::setServerUrl ( const QUrl &  serverUri)

Set the XNAT server URL.

Parameters
serverUriThe new XNAT server URL.

◆ setUserName()

void ctkXnatLoginProfile::setUserName ( const QString &  userName)

Set the login user name.

Parameters
userNameThe 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: