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

« back to all changes in this revision

Viewing changes to src/chatviewcommon.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:
32
32
public:
33
33
        ChatViewCommon() : _nickNumber(0) { }
34
34
        void setLooks(QWidget *);
 
35
        inline const QDateTime& lastMsgTime() const { return _lastMsgTime; }
35
36
        bool updateLastMsgTime(QDateTime t);
36
37
        QString getMucNickColor(const QString &, bool,
37
38
                                                        QStringList validList = QStringList());
 
39
        QList<QColor> getPalette();
38
40
 
39
41
protected:
40
42
        QDateTime _lastMsgTime;
41
43
 
42
44
private:
 
45
        void generatePalette();
 
46
        bool compatibleColors(const QColor &, const QColor &);
43
47
        int _nickNumber;
44
48
        QMap<QString,int> _nicks;
 
49
        QList<QColor> _palette;
45
50
};
46
51
 
47
52
#endif