/* 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 #include class SmTreeItem; class SmTreeModel : public QAbstractItemModel { Q_OBJECT public: explicit SmTreeModel(const QStringList &headers, QObject *parent = 0); ~SmTreeModel(); private: QStringList mHeaders; SmTreeItem *mRootItem; }; #endif