summaryrefslogtreecommitdiffstats
path: root/smtreemodel.h
blob: ede4b394bab13165f79dbed905344b2eee8b1dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version
  2 of the License, or (at your option) any later version.
*/

#ifndef SMTREEMODEL_H
#define SMTREEMODEL_H

#include <QAbstractItemModel>
#include <QStringList>

class SmTreeItem;

class SmTreeModel : public QAbstractItemModel {
	Q_OBJECT
	public:
		explicit SmTreeModel(const QStringList &headers, QObject *parent = 0);
		~SmTreeModel();

	private:
		QStringList mHeaders;
		SmTreeItem *mRootItem;
};

#endif