diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2009-11-06 01:26:33 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2009-11-06 01:26:33 +0000 |
| commit | 5b41934246d2887e3c632415f1f221dfdd10846b (patch) | |
| tree | c00f85aaed126c6d8001558bd0380302b59f4caf /source/QXmppClient.h | |
| parent | d95ccb17955aa6a687245ecc5e0b5125f12824a3 (diff) | |
| download | qxmpp-5b41934246d2887e3c632415f1f221dfdd10846b.tar.gz | |
Issue 29: allow ConnectToServer to accept a JID instead than a separate user and domain
Diffstat (limited to 'source/QXmppClient.h')
| -rw-r--r-- | source/QXmppClient.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/QXmppClient.h b/source/QXmppClient.h index ad24187a..d0c5b696 100644 --- a/source/QXmppClient.h +++ b/source/QXmppClient.h @@ -77,7 +77,13 @@ public: int port = 5222, const QXmppPresence& initialPresence = QXmppPresence()); - void connectToServer(const QXmppConfiguration&, + void connectToServer(const QString& host, + const QString& bareJid, + const QString& passwd, + int port = 5222, + const QXmppPresence& initialPresence = + QXmppPresence()); + void connectToServer(const QXmppConfiguration&, const QXmppPresence& initialPresence = QXmppPresence()); void disconnect(); |
