diff options
| author | Arno <am@disconnect.de> | 2010-06-12 10:15:04 +0200 | 
|---|---|---|
| committer | Arno <am@disconnect.de> | 2010-06-12 10:15:04 +0200 | 
| commit | 3240cad2718ead169a07219e2a65ae84328b4485 (patch) | |
| tree | 5f25343a56cbf4bd25cdd8f95eef5415451c97d9 /smtreemodel.h | |
| parent | 1ec7610d1f9fb796e03876b8ba91cc32aea5dbeb (diff) | |
| download | SheMov-3240cad2718ead169a07219e2a65ae84328b4485.tar.gz SheMov-3240cad2718ead169a07219e2a65ae84328b4485.tar.bz2 SheMov-3240cad2718ead169a07219e2a65ae84328b4485.zip | |
Implemented SmTreeModel::parent
Forgot to implement SmTreeModel::parent. Thus it was a pure abstract
class and not instantiable.
Diffstat (limited to 'smtreemodel.h')
| -rw-r--r-- | smtreemodel.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/smtreemodel.h b/smtreemodel.h index 46f852f..698a2ce 100644 --- a/smtreemodel.h +++ b/smtreemodel.h @@ -23,8 +23,9 @@ class SmTreeModel : public QAbstractItemModel {  		int rowCount(const QModelIndex &parent) const;  		int columnCount(const QModelIndex &parent) const; -		// index and flags +		// index, parent and flags  		QModelIndex index(int row, int column, const QModelIndex &parent) const; +		QModelIndex parent(const QModelIndex &child) const;  		Qt::ItemFlags flags(const QModelIndex &index) const;  		// headers + data | 
