contentstorage/caclient/inc/caitemmodel_p.h
changeset 106 e78d6e055a5b
parent 98 d2f833ab7940
child 107 b34d53f6acdf
equal deleted inserted replaced
102:8b8b34fa9751 106:e78d6e055a5b
    56     QSize getIconSize() const;
    56     QSize getIconSize() const;
    57     QModelIndex root();
    57     QModelIndex root();
    58     QSharedPointer<CaEntry> entry(const QModelIndex &modelIndex) const;
    58     QSharedPointer<CaEntry> entry(const QModelIndex &modelIndex) const;
    59     void setSecondLineVisibility(bool secondLineVisibility);
    59     void setSecondLineVisibility(bool secondLineVisibility);
    60     bool secondLineVisibility() const;
    60     bool secondLineVisibility() const;
    61     QVariant displayRole(const QModelIndex &modelIndex) const;
    61     QVariant displayRole(const CaEntry* entry) const;
    62     void setParentId(int parentId);
    62     void setParentId(int parentId);
    63     void setFlagsOn(const EntryFlags &onFlags);
    63     void setFlagsOn(const EntryFlags &onFlags);
    64     void setFlagsOff(const EntryFlags &offFlags);
    64     void setFlagsOff(const EntryFlags &offFlags);
    65     bool notifierExists() const;
    65     bool notifierExists() const;
    66 
    66 
    83     void updateLayout();
    83     void updateLayout();
    84     void connectSlots();
    84     void connectSlots();
    85     void disconnectSlots();
    85     void disconnectSlots();
    86     void reconnectSlots();
    86     void reconnectSlots();
    87     void emitEmpty(int previousCount);
    87     void emitEmpty(int previousCount);
       
    88     void emitCountChange(int previousCount);
    88 
    89 
    89 private slots:
    90 private slots:
    90 
    91 
    91     // Function declarations
    92     // Function declarations
    92     void updateModelItem(const CaEntry &entry, ChangeType changeType);
    93     void updateModelItem(const CaEntry &entry, ChangeType changeType);