- QModelIndex index( int r, int c, const QModelIndex &parent ) const;
- QModelIndex index( PLItem *, int c ) const;
+ virtual int rowCount( const QModelIndex &parent = QModelIndex() ) const;
+ virtual int columnCount( const QModelIndex &parent = QModelIndex() ) const;
+ virtual Qt::ItemFlags flags( const QModelIndex &index ) const;
+ virtual QModelIndex index( const int r, const int c, const QModelIndex &parent ) const;
+ virtual QModelIndex parent( const QModelIndex &index ) const;
+
+ /* Drag and Drop */
+ virtual Qt::DropActions supportedDropActions() const;
+ virtual QMimeData* mimeData( const QModelIndexList &indexes ) const;
+ virtual bool dropMimeData( const QMimeData *data, Qt::DropAction action,
+ int row, int column, const QModelIndex &target );
+ virtual QStringList mimeTypes() const;
+
+ /* Sort */
+ virtual void sort( const int column, Qt::SortOrder order = Qt::AscendingOrder );
+
+ /**** Custom ****/
+
+ /* Lookups */
+ QModelIndex index( const int i_id, const int c );
+ virtual QModelIndex currentIndex() const;