equal
deleted
inserted
replaced
61 public: |
61 public: |
62 CntEditViewSeparator(); |
62 CntEditViewSeparator(); |
63 ~CntEditViewSeparator(); |
63 ~CntEditViewSeparator(); |
64 |
64 |
65 QVariant data(int role) const; |
65 QVariant data(int role) const; |
66 void activated(); |
66 void activated(CntEditViewItemCallback* interface); |
67 void longPressed(const QPointF &coords); |
67 void longPressed(const QPointF &coords, CntEditViewItemCallback* interface); |
68 }; |
68 }; |
69 |
69 |
70 class CntEditViewListModel : public QAbstractListModel |
70 class CntEditViewListModel : public QAbstractListModel |
71 { |
71 { |
72 Q_OBJECT |
72 Q_OBJECT |
81 |
81 |
82 public: |
82 public: |
83 CntEditViewItem* itemAt( const QModelIndex& aIndex ) const; |
83 CntEditViewItem* itemAt( const QModelIndex& aIndex ) const; |
84 void removeItem( CntEditViewItem* aItem, const QModelIndex& aIndex ); |
84 void removeItem( CntEditViewItem* aItem, const QModelIndex& aIndex ); |
85 bool isEmptyItem( CntEditViewItem* aItem ); |
85 bool isEmptyItem( CntEditViewItem* aItem ); |
86 void refreshExtensionItems( const QModelIndex& aIndex ); |
86 void refreshExtensionItems(); |
87 void allInUseFields( CntViewIdList& aList ); |
87 void allInUseFields( CntViewIdList& aList ); |
88 |
88 |
89 private: |
89 private: |
90 void refresh(); |
90 void refresh(); |
91 void loadPluginItems( CntEditViewItemSupplier* aSupplier ); |
91 void loadPluginItems( CntEditViewItemSupplier* aSupplier ); |