summaryrefslogtreecommitdiffstats
path: root/ksirc/ksircserver.h
blob: 0c60aba48a0527bb4c2dccd08ab6369031dd10f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef KSIRCSERVER_H
#define KSIRCSERVER_H

#include <tqptrlist.h>
#include <tqstring.h>

class KSircServer
{

public:
    KSircServer( const TQString &server,
		 const TQString &port,
		 const TQString &script = TQString(),
		 const TQString &password  = TQString(),
		 bool ssl = false ) :
        m_server(server), m_port(port), m_script(script),
	m_password(password), m_ssl(ssl) {}

  const TQString server() const     { return m_server; }
  const TQString port() const      { return m_port; }
  const TQString script() const     { return m_script; }
  const TQString password() const   { return m_password; }
  bool    usessl() const     { return m_ssl; }

private:
  const TQString     m_server;
  const TQString     m_port;
  const TQString     m_script;
  const TQString     m_password;
  const bool        m_ssl;

};

#endif