~ubuntu-branches/ubuntu/oneiric/psi/oneiric

« back to all changes in this revision

Viewing changes to src/psiaccount.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2006-01-20 00:20:36 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060120002036-7nw6yo6totip0ee5
Tags: 0.10-2
* Added upstream changelog (Closes: Bug#327748)
* Mention --no-gpg and --no-gpg-agent in manpage (Closes: Bug#204416)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * psiaccount.h - handles a Psi account
3
 
 * Copyright (C) 2001, 2002  Justin Karneges
 
3
 * Copyright (C) 2001-2005  Justin Karneges
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or
6
6
 * modify it under the terms of the GNU General Public License
7
7
 * as published by the Free Software Foundation; either version 2
8
8
 * of the License, or (at your option) any later version.
9
9
 *
 
10
 * You can also redistribute and/or modify this program under the
 
11
 * terms of the Psi License, specified in the accompanied COPYING
 
12
 * file, as published by the Psi Project; either dated January 1st,
 
13
 * 2005, or (at your option) any later version.
 
14
 *
10
15
 * This program is distributed in the hope that it will be useful,
11
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
31
#include<qdom.h>
27
32
#include"xmpp.h"
28
33
#include"openpgp.h"
29
 
#include"contactview.h"
30
34
#include"ui_pgpkey.h"
 
35
#include"common.h"
 
36
 
31
37
 
32
38
namespace XMPP
33
39
{
56
62
class EDB;
57
63
class QSSLCert;
58
64
class QHostAddress;
59
 
//class AvatarFactory;
 
65
class AvatarFactory;
60
66
 
61
67
class PGPKeyDlg : public PGPKeyUI
62
68
{
146
152
        EventQueue *eventQueue() const;
147
153
        EDB *edb() const;
148
154
        PsiCon *psi() const;
149
 
 
150
 
        // Avatars
151
 
        //AvatarFactory *avatarFactory() const;
152
 
 
 
155
        AvatarFactory *avatarFactory() const;
153
156
        Status status() const;
154
157
        void setStatusDirect(const Status &);
155
158
        void setStatusActual(const Status &);
216
219
        void nickChanged();
217
220
        void pgpKeyChanged();
218
221
        void encryptedMessageSent(int, bool);
 
222
        void enabledChanged();
219
223
 
220
224
public slots:
221
225
        void setStatus(const Status &);
243
247
        void actionRename(const Jid &, const QString &);
244
248
        void actionGroupRename(const QString &, const QString &);
245
249
        void actionHistory(const Jid &);
246
 
        void actionStatusShow(const Jid &);
247
250
        void actionOpenChat(const Jid &);
248
251
        void actionOpenChatSpecific(const Jid &);
249
 
        void actionAgentSetStatus(const Jid &, int);
 
252
        void actionAgentSetStatus(const Jid &, Status &s);
250
253
        void actionInfo(const Jid &);
251
254
        void actionAuth(const Jid &);
252
255
        void actionAuthRequest(const Jid &);
284
287
        void cs_warning(int);
285
288
        void cs_error(int);
286
289
        void client_rosterRequestFinished(bool, int, const QString &);
 
290
        void resolveContactName();
 
291
        void client_rosterItemAdded(const RosterItem &);
287
292
        void client_rosterItemUpdated(const RosterItem &);
288
293
        void client_rosterItemRemoved(const RosterItem &);
289
294
        void client_resourceAvailable(const Jid &, const Resource &);
361
366
 
362
367
        bool isDisconnecting, notifyOnlineOk, doReconnect, usingAutoStatus, rosterDone, presenceSent, v_isActive;
363
368
        void cleanupStream();
 
369
 
 
370
        friend class Private;
364
371
};
365
372
 
366
373
#endif