~elopio/gallery-app/revert_workaround-1302706-click_toolbar_button_failure

« back to all changes in this revision

Viewing changes to src/core/data-collection.h

  • Committer: Leo Arias
  • Date: 2015-05-15 08:05:23 UTC
  • mfrom: (954.1.241 gallery-app)
  • Revision ID: leo.arias@canonical.com-20150515080523-i2of3vr8h7dioj59
Now the toolbar object is not needed at all.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
    // fired *after* the DataObjects have been added or removed from the collection
54
54
    void contentsChanged(const QSet<DataObject*>* added,
55
 
                          const QSet<DataObject*>* removed);
 
55
                          const QSet<DataObject*>* removed,
 
56
                          bool notify);
56
57
 
57
58
    // fired after the the DataCollection has been reordered due to a new
58
59
    // DataObjectComparator being installed; if the new comparator doesn't
69
70
    void add(DataObject* object);
70
71
    virtual void addMany(const QSet<DataObject*>& objects);
71
72
 
72
 
    void remove(DataObject* object);
 
73
    void remove(DataObject* object, bool notify);
73
74
    void removeAt(int index);
74
 
    void removeMany(const QSet<DataObject*>& objects);
 
75
    void removeMany(const QSet<DataObject*>& objects, bool notify);
75
76
    void clear();
76
77
 
77
78
    bool contains(DataObject* object) const;
108
109
                                           const QSet<DataObject*>* removed);
109
110
 
110
111
    virtual void notifyContentsChanged(const QSet<DataObject*>* added,
111
 
                                       const QSet<DataObject*>* removed);
 
112
                                       const QSet<DataObject*>* removed,
 
113
                                       bool notify);
112
114
 
113
115
    virtual void notifyOrderingChanged();
114
116