~ubuntu-branches/ubuntu/edgy/psi/edgy

« back to all changes in this revision

Viewing changes to src/userlist.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2005-09-14 16:33:49 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050914163349-3zacov4afysz5cw5
Tags: 0.9.3-2ubuntu1
* Sync with debian
* Applied patch to psi.desktop to start psi without gpg-agent use (known
  issue)
* Updated README.Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include<qvaluelist.h>
27
27
#include"im.h"
28
28
 
 
29
class AvatarFactory;
 
30
 
29
31
class UserResource : public XMPP::Resource
30
32
{
31
33
public:
35
37
 
36
38
        void setResource(const XMPP::Resource &);
37
39
 
38
 
        const QString & versionString() const;
39
 
        void setVersionString(const QString &);
 
40
        const QString& versionString() const;
 
41
        const QString& clientVersion() const;
 
42
        const QString& clientName() const;
 
43
        const QString& clientOS() const;
 
44
        void setClient(const QString& name, const QString& version, const QString& os);
40
45
 
41
46
        const QString & publicKeyID() const;
42
47
        int pgpVerifyStatus() const;
46
51
        void setSigTimestamp(const QDateTime &);
47
52
 
48
53
private:
49
 
        QString v_ver, v_keyID;
 
54
        QString v_ver, v_clientName, v_clientVersion, v_clientOS, v_keyID;
50
55
        int v_pgpVerifyStatus;
51
56
        QDateTime sigts;
52
57
};
89
94
        const QString & presenceError() const;
90
95
        bool isSelf() const;
91
96
        QString makeTip(bool trim = true, bool doLinkify = true) const;
 
97
        QString makeBareTip(bool trim, bool doLinkify) const;
92
98
        QString makeDesc() const;
93
99
        bool isPrivate() const;
94
100
 
108
114
 
109
115
        const QString & publicKeyID() const;
110
116
        void setPublicKeyID(const QString &);
 
117
        
 
118
        AvatarFactory* avatarFactory() const;
 
119
        void setAvatarFactory(AvatarFactory* av);
111
120
 
112
121
private:
113
122
        int lastmsgtype;
119
128
        bool v_private;
120
129
        QStringList secList;
121
130
        QString v_keyID;
 
131
        AvatarFactory* v_avatarFactory;
 
132
 
122
133
};
123
134
 
124
135
typedef QPtrListIterator<UserListItem> UserListIt;