~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: 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:
27
27
#define PSIACCOUNT_H
28
28
 
29
29
#include <QList>
 
30
#include <QUrl>
30
31
 
31
32
#include "xmpp_rosterx.h"
32
33
#include "xmpp_status.h"
87
88
// sick sick remove this someday please!
88
89
struct GCContact;
89
90
 
 
91
class AvCallManager;
 
92
 
90
93
class PsiAccount : public QObject
91
94
{
92
95
        Q_OBJECT
153
156
 
154
157
        void showXmlConsole();
155
158
        void openAddUserDlg();
 
159
        void openAddUserDlg(const XMPP::Jid &jid, const QString &nick, const QString &group);
156
160
        void openGroupChat(const Jid &, ActivationType activationType);
157
161
        bool groupChatJoin(const QString &host, const QString &room, const QString &nick, const QString& pass, bool nohistory = false);
158
162
        void groupChatSetStatus(const QString &host, const QString &room, const Status &);
187
191
        PEPManager* pepManager();
188
192
        ServerInfoManager* serverInfoManager();
189
193
        BookmarkManager* bookmarkManager();
 
194
        AvCallManager *avCallManager();
190
195
 
191
196
        enum xmlRingType {RingXmlIn, RingXmlOut, RingSysMsg};
192
197
        class xmlRingElem { public: int type; QDateTime time; QString xml; };
223
228
 
224
229
        void showCert();
225
230
 
 
231
        void openUri(const QUrl &uri);
 
232
 
226
233
        //dj_ originally referred to 'direct jabber', if you care
227
234
        void dj_sendMessage(const Message &, bool log=true);
228
 
        void dj_composeMessage(const Jid &jid, const QString &body);
229
 
        void dj_composeMessage(const Jid &jid, const QString &body, const QString &subject, const QString &thread);
 
235
        void dj_newMessage(const Jid &jid, const QString &body, const QString &subject, const QString &thread);
 
236
        void dj_replyMessage(const Jid &jid, const QString &body);
 
237
        void dj_replyMessage(const Jid &jid, const QString &body, const QString &subject, const QString &thread);
230
238
        void dj_addAuth(const Jid &);
231
239
        void dj_addAuth(const Jid &, const QString&);
232
240
        void dj_add(const XMPP::Jid &, const QString &, const QStringList &, bool authReq);
252
260
        void actionGroupRename(const QString &, const QString &);
253
261
        void actionHistory(const Jid &);
254
262
        void actionOpenChat(const Jid &);
 
263
        void actionOpenChat2(const Jid &);
255
264
        void actionOpenChatSpecific(const Jid &);
256
265
#ifdef WHITEBOARDING
257
266
        void actionOpenWhiteboard(const Jid &);
378
387
        void simulateContactOffline(UserListItem *);
379
388
        void simulateRosterOffline();
380
389
        void cpUpdate(const UserListItem &, const QString &rname="", bool fromPresence=false);
 
390
        UserListItem* addUserListItem(const Jid& jid, const QString& nick="");
381
391
        void logEvent(const Jid &, PsiEvent *);
382
392
        void queueEvent(PsiEvent* e, ActivationType activationType);
383
393
        void openNextEvent(const UserListItem &, ActivationType activationType);