QtDcmServer.h
Go to the documentation of this file.
1 /*
2  QtDcm is a C++ Qt based library for communication and conversion of Dicom images.
3  Copyright (C) 2011 Alexandre Abadie <Alexandre.Abadie@univ-rennes1.fr>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation; either
8  version 2.1 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with this library; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 
20 
21 #ifndef QTDCMSERVERS_H_
22 #define QTDCMSERVERS_H_
23 
24 #include <QtGui>
25 
31 {
32 
33 public:
38 
42  virtual ~QtDcmServer() {}
43 
49  inline QString aetitle() const
50  {
51  return _aetitle;
52  }
53 
59  inline QString name() const
60  {
61  return _name;
62  }
63 
69  inline QString port() const
70  {
71  return _port;
72  }
73 
79  inline QString address() const
80  {
81  return _hostname;
82  }
83 
89  inline void setAetitle ( QString _aetitle )
90  {
91  this->_aetitle = _aetitle;
92  }
93 
99  inline void setName ( QString _name )
100  {
101  this->_name = _name;
102  }
103 
109  inline void setPort ( QString port )
110  {
111  this->_port = port;
112  }
113 
119  inline void setAddress ( QString _server )
120  {
121  this->_hostname = _server;
122  }
123 
124 private:
125  QString _aetitle;
126  QString _hostname;
127  QString _port;
128  QString _name;
129 };
130 
131 #endif /* QTDCMSERVERS_H_ */
QString port() const
PACS server port getter (QtDcm only ports between 1000 and 100000)
Definition: QtDcmServer.h:69
void setAetitle(QString _aetitle)
PACS AETitle setter.
Definition: QtDcmServer.h:89
void setAddress(QString _server)
PACS server hostname setter.
Definition: QtDcmServer.h:119
QString aetitle() const
PACS AETitle getter.
Definition: QtDcmServer.h:49
QString name() const
Description name getter.
Definition: QtDcmServer.h:59
void setPort(QString port)
PACS server port setter (QtDcm only ports between 1000 and 100000)
Definition: QtDcmServer.h:109
void setName(QString _name)
PACS Name setter.
Definition: QtDcmServer.h:99
virtual ~QtDcmServer()
Default destructor.
Definition: QtDcmServer.h:42
QtDcmServer()
Default constructor.
Definition: QtDcmServer.h:37
QString address() const
PACS server hostname getter.
Definition: QtDcmServer.h:79
This class is a representation of a Dicom PACS server.
Definition: QtDcmServer.h:30