~ubuntu-branches/debian/stretch/psi-plus/stretch

« back to all changes in this revision

Viewing changes to src/vcardfactory.h

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-10-23 02:42:20 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20131023024220-bk2hyoenqkwfhpgw
Tags: 0.16.242-1
* New upstream release:
  fixed the problem of initialization of private conversation when both
  sides use libotr 4.0.x. (Closes: #724880)
* Update debian/watch: sources were moved.
* Delete psi-plus-content-downloader package and update all related files.
  This plugin is in psi-plus-plugins package now.
* Update debian/control:
  - remove all currently unneeded Replaces and Breaks fields
  - add build dependency on libidn11-dev
* Update debian/rules: simplify get-orig-source section.
* Update debian/copyright:
  - update Source field due to changes in sources location
  - remove copyright holders whose code was deleted from source tree
    (bundled libidn library was removed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
class VCardFactory : public QObject
39
39
{
40
40
        Q_OBJECT
41
 
        
 
41
 
42
42
public:
43
43
        static VCardFactory* instance();
44
44
        const VCard *vcard(const Jid &);
45
45
        void setVCard(const Jid &, const VCard &);
46
46
        void setVCard(const PsiAccount* account, const VCard &v, QObject* obj = 0, const char* slot = 0);
47
47
        JT_VCard *getVCard(const Jid &, Task *rootTask, const QObject *, const char *slot, bool cacheVCard = true);
48
 
        
 
48
 
49
49
signals:
50
50
        void vcardChanged(const Jid&);
51
 
        
 
51
 
52
52
protected:
53
53
        void checkLimit(QString jid, VCard *vcard);
54
 
        
 
54
 
55
55
private slots:
56
56
        void updateVCardFinished();
57
57
        void taskFinished();
58
 
        
 
58
 
59
59
private:
60
60
        VCardFactory();
61
61
        ~VCardFactory();
62
 
        
 
62
 
63
63
        static VCardFactory* instance_;
64
64
        const int dictSize_;
65
65
        QStringList vcardList_;