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

« back to all changes in this revision

Viewing changes to src/mucaffiliationsmodel.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:
35
35
 
36
36
public:
37
37
        MUCAffiliationsModel();
38
 
        
 
38
 
39
39
        virtual Qt::ItemFlags flags(const QModelIndex &index) const;
40
40
        virtual Qt::DropActions supportedDropActions() const;
41
41
        bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
47
47
        QModelIndex affiliationListIndex(XMPP::MUCItem::Affiliation);
48
48
        void addItems(const QList<XMPP::MUCItem>&);
49
49
        QList<XMPP::MUCItem> changes() const;
50
 
        
 
50
 
51
51
protected:
52
 
        enum AffiliationListIndex { 
 
52
        enum AffiliationListIndex {
53
53
                Owners = 0, Admins = 1, Members = 2, Outcast = 3 , Unknown = 4 };
54
 
        
 
54
 
55
55
        void resetAffiliationList(XMPP::MUCItem::Affiliation);
56
56
        static QString affiliationlistindexToString(AffiliationListIndex);
57
57
        AffiliationListIndex affiliationToIndex(XMPP::MUCItem::Affiliation);