summaryrefslogtreecommitdiffstats
path: root/ksirc/ksircserver.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /ksirc/ksircserver.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/ksircserver.h')
-rw-r--r--ksirc/ksircserver.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/ksirc/ksircserver.h b/ksirc/ksircserver.h
new file mode 100644
index 00000000..ec63e1f6
--- /dev/null
+++ b/ksirc/ksircserver.h
@@ -0,0 +1,34 @@
+#ifndef KSIRCSERVER_H
+#define KSIRCSERVER_H
+
+#include <qptrlist.h>
+#include <qstring.h>
+
+class KSircServer
+{
+
+public:
+ KSircServer( const QString &server,
+ const QString &port,
+ const QString &script = QString::null,
+ const QString &password = QString::null,
+ bool ssl = false ) :
+ m_server(server), m_port(port), m_script(script),
+ m_password(password), m_ssl(ssl) {}
+
+ const QString server() const { return m_server; }
+ const QString port() const { return m_port; }
+ const QString script() const { return m_script; }
+ const QString password() const { return m_password; }
+ bool usessl() const { return m_ssl; }
+
+private:
+ const QString m_server;
+ const QString m_port;
+ const QString m_script;
+ const QString m_password;
+ const bool m_ssl;
+
+};
+
+#endif