~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to src/psicontactlist.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
class PsiCon;
32
32
class PsiAccount;
33
 
class XMPP::Jid;
 
33
namespace XMPP { class Jid; }
34
34
 
35
35
class PsiContactList : public ContactList
36
36
{
50
50
 
51
51
        UserAccountList getUserAccountList() const;
52
52
 
53
 
        void createAccount(const QString& name, const Jid& j = "", const QString& pass = "", bool opt_host = false, const QString& host = "", int port = 5222, bool legacy_ssl_probe = true, UserAccount::SSLFlag ssl = UserAccount::SSL_Auto, QString proxyID = "", bool modify = true);
 
53
        void createAccount(const QString& name, const Jid& j = "", const QString& pass = "", bool opt_host = false, const QString& host = "", int port = 5222, bool legacy_ssl_probe = true, UserAccount::SSLFlag ssl = UserAccount::SSL_Auto, QString proxyID = "", const QString &tlsOverrideDomain="", const QByteArray &tlsOverrideCert=QByteArray(), bool modify = true);
54
54
        void createAccount(const UserAccount&);
55
55
        void removeAccount(PsiAccount*);
56
56
        void setAccountEnabled(PsiAccount*, bool enabled = TRUE);
62
62
        void link(PsiAccount*);
63
63
        void unlink(PsiAccount*);
64
64
 
 
65
        void beginBulkOperation();
 
66
        void endBulkOperation();
 
67
 
65
68
signals:
66
69
        /**
67
70
         * This signal is emitted when account is loaded from disk or created