CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Libs
XNAT
Core
ctkXnatLoginProfile.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
Library: XNAT/Core
4
5
Copyright (c) University College London,
6
Centre for Medical Image Computing
7
8
Licensed under the Apache License, Version 2.0 (the "License");
9
you may not use this file except in compliance with the License.
10
You may obtain a copy of the License at
11
12
http://www.apache.org/licenses/LICENSE-2.0
13
14
Unless required by applicable law or agreed to in writing, software
15
distributed under the License is distributed on an "AS IS" BASIS,
16
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
See the License for the specific language governing permissions and
18
limitations under the License.
19
20
=============================================================================*/
21
22
#ifndef ctkXnatLoginProfile_h
23
#define ctkXnatLoginProfile_h
24
25
#include "ctkXNATCoreExport.h"
26
27
#include <QScopedPointer>
28
#include <QUrl>
29
30
class
ctkXnatLoginProfilePrivate;
31
37
class
CTK_XNAT_CORE_EXPORT
ctkXnatLoginProfile
38
{
39
public
:
40
ctkXnatLoginProfile
();
41
ctkXnatLoginProfile
(
const
ctkXnatLoginProfile
& otherLoginProfile);
42
~
ctkXnatLoginProfile
();
43
48
QString name()
const
;
49
54
void
setName(
const
QString& profileName);
55
60
QUrl serverUrl()
const
;
61
66
void
setServerUrl(
const
QUrl& serverUri);
67
72
QString userName()
const
;
73
78
void
setUserName(
const
QString& userName);
79
84
QString password()
const
;
85
90
void
setPassword(
const
QString& password);
91
97
bool
isDefault()
const
;
98
103
void
setDefault(
bool
default_);
104
105
private
:
107
QScopedPointer<ctkXnatLoginProfilePrivate> d_ptr;
108
109
Q_DECLARE_PRIVATE(
ctkXnatLoginProfile
)
110
};
111
112
#endif
ctkXnatLoginProfile
A login profile for XNAT sessions.
Definition:
ctkXnatLoginProfile.h:37
Generated on Mon May 2 2016 15:50:23 for CTK by
1.8.11